A82: Side-Scrolling
[Prev][Next][Index][Thread]
A82: Side-Scrolling
Does anyone have any ideas on how to smooth scroll (pixel by pixel) a
picture onto the screen horizontally? The only minor snag is that the
current contents of GRAPH_MEM cannot be deleted as the new data scrolls onto
the screen (the old data scrolls off as the new scrolls on, and that is
easily accomplished). The technique I'm using now treats the entire picture
as one gigantic sprite. The current screen is GRAPH_MEM, the new screen is
APD_BUF. It scrolls APD_BUF by changing the x coord and using a hacked
version of CrASH_Man's PutSprClip that'll automask and work for an entire
screen. The GRAPH_MEM scrolls off of the screen using a simple routine
similar to CrASH_Man's Scrolling routines. My technique works, but the
hacked sprite routine and utility routines take up too much room(~250 bytes)
for such a trivial effect. Zelda will be a pretty tight budget of space, so
I really can't afford to waste space unneccessarily. Any thoughts?
Sam
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com