Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user megasoftargentina ! (Registered 2024-04-16) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > DYPP
2017-03-29 13:36
Rudi
Account closed

Registered: May 2010
Posts: 125
DYPP

Hi,
DYPP - Different Y Pixel Position.
I don't seem to find an explanation on this effect on C64 on codebase or anywhere. Maybe its in another thread here on csdb, then please provide an link.

I know the basics of sines, ive made sinescroll on PC, but its easier there since you can look up the framebuffer directly, via sine-tables and so on.

Im wondering how this effect is easily made on C64. I believe there are more than one way, but i guess one way is slower than the other; for example moving each column-bit (inside a char) in realtime. The other way I think is having the chars animated, similar to a twister. Though, im thinking each angle is used for lookup table. I just dont seem to get it right in my mind to start coding on this effect. I've seen several early cracktros and demos that does this very fast, but haven't had the time to reverse-engineer the binaries. If you have any tips and info i'd appreciate it, or even better; write an explanation for codebase.
Thanks
 
... 43 posts hidden. Click here to view all posts....
 
2017-03-30 15:18
lft

Registered: Jul 2007
Posts: 369
Oh, the YT will vanish before the last 5.25" floppy becomes unreadable.

As for DYCP, I always thought that referred to the charbased effect where you render the letters into pairs of chars with speedcode.
2017-03-30 19:29
Compyx

Registered: Jan 2005
Posts: 631
How would we call a DYCP (ie simple sinus-based char scroller) using sprites to make it move over a bitmap or FLI?

I did a few of those, and I wouldn't call them DYSP's. Just some trickery to make them appear as proper DYCP's.

I was thinking about doing a write-up on codebase about DYCP's, should be fun getting the terminology correct :)
2017-03-31 04:56
Oswald

Registered: Apr 2002
Posts: 5017
Quote: How would we call a DYCP (ie simple sinus-based char scroller) using sprites to make it move over a bitmap or FLI?

I did a few of those, and I wouldn't call them DYSP's. Just some trickery to make them appear as proper DYCP's.

I was thinking about doing a write-up on codebase about DYCP's, should be fun getting the terminology correct :)


DYSPFLI :) normal bitmap just DYSP.
2017-03-31 05:31
ChristopherJam

Registered: Aug 2004
Posts: 1370
Quoting Compyx
How would we call a DYCP (ie simple sinus-based char scroller) using sprites to make it move over a bitmap or FLI?


I'd still call that a DYCP; the 'character' in the acronym is in my mind a unit of distance, that tells you the granularity of the effect. There are plenty of different ways to achieve it.
2017-03-31 10:40
mankeli

Registered: Oct 2010
Posts: 110
I would do 8 copies of the charset (one for each pixel column) and then just LDA ORA ORA ORA ORA ORA ORA STA.
If you arrange chars nicely, maybe you can unroll the whole thing and do LDY LDA,y ORA,y ... dunno.
Maybe there's better way as well.
2017-03-31 11:37
Oswald

Registered: Apr 2002
Posts: 5017
better way: speedcode per char, to skip empty pixels.
2017-03-31 12:25
Compyx

Registered: Jan 2005
Posts: 631
Even better: use VSP, that way the shape of the dypp doesn't actually change and you can optimize a lot of code (no need to clear stuff, perhaps 'join' a few pixels in a single ORA, etc).
2017-03-31 12:53
Oswald

Registered: Apr 2002
Posts: 5017
Quote: There exists an old, but pretty good DYPP based on VSP in Anal Intruder. And AFAIK the best completely dynamic DYPP is in Mekanix.

mekanix is cheating as far as I'm concerned, lda sta code, no ORA.
2017-03-31 13:28
HCL

Registered: Feb 2003
Posts: 716
Quote: mekanix is cheating as far as I'm concerned, lda sta code, no ORA.

Mekanix is using precalculated fonts for a range of angles. It is still calculating individual sinus-values for each pixel-column, and then mapping it to best possible font.. The accuracy is ok i would say :). Also this way it can do more funny sinuses than VSP-stuff.
2017-03-31 20:32
Compyx

Registered: Jan 2005
Posts: 631
Gotta admit those DYPP's look really smooth, and using a movement you can't get with VSP-trickery.

Never had seen that demo before even, I'm lagging behind badly :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
E$G/hOKUtO fOrcE
Guests online: 120
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Diskmag Editors
1 Jazzcat  (9.4)
2 Magic  (9.4)
3 hedning  (9.2)
4 Newscopy  (9.1)
5 Elwix  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.164 sec.