Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: _player1537 on May 03, 2010, 12:07:16 am
-
For my Rally-X game, I'm going to try and add smooth scrolling, how would I go about doing that though?
-
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.
-
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