| |
Heaven Account closed
Registered: Jul 2008 Posts: 102 |
Distorted Scroller question
I am just in the mood for a small intro and I never made a nice distorted scroller... I don't want to talk here about specific hardware tricks but more general...
how would I have to generate the sinus/cos tables to get this kind of fx?
http://de.youtube.com/watch?v=mHAYQZwApn4
when I am using a simple sinus table (-127 - +128) I am ending at the same pixel where I have started... do I have to add each VBL the "normal" softscroll offset?
or how would you do that? |
|
| |
Shadow Account closed
Registered: Apr 2002 Posts: 355 |
Yes, exactly. Do a normal scroll but modify by a sine. That way you still progress through the scroller, but still get the 'swinging' action.
|
| |
Heaven Account closed
Registered: Jul 2008 Posts: 102 |
haven't touched assembler yet but I guess the 8x8 scroller at the bottom same way?
http://de.youtube.com/watch?v=MwIY6nGG-oA&feature=related
|
| |
Honesty
Registered: Jan 2003 Posts: 121 |
Problem would be that you need d016 allready for softscrolling.
Or you need to run the scroll without softscrolling (only readable in big fonts) so you can lay a kind of tech tech over the chars.
Other method would be to rol the chars through the matrix so you can do the tech tech thing in all speeds.
Or use a "animated" char. have all char rolled bitwise in memory and make a fake counter for step 0 to 7 for softscroll so you need to pick up the rol step and ora it direct into the matrix on screen.
|
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
Just make the techtech sine 8 pixels less than it can be, then add the scroll position & 7 to the techtech, and scroll the rest with char positioning.
|