Calculator Community > Axe
Smooth scrolling in Axe
(1/1)
_player1537:
For my Rally-X game, I'm going to try and add smooth scrolling, how would I go about doing that though?
Quigibo:
You basically have to draw a few tiles partially off the screen as you scroll.
ztrumpet made a smooth scrolling engine with 16x16 sprites, you can adapt it to 8x8 easily though.
http://ourl.ca/4161/79940
I think I recall seeing some other people making them too, but I can't seem to find any.
DJ Omnimaga:
I should really give smooth scrolling a try someday. First, though, collision detection :P
Note that if it's too slow you may have to scroll every 2 or 4 pixels, so it might not be "smooth" scrolling anymore
And if it scrolls way too fast, you'Ll need to slow it down and still make it scroll every 2 or 4 pixels, because the LCD blurs a lot so if stuff scrolls too fast you barely see anything x.x
Navigation
[0] Message Index
Go to full version