Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array of addresses
#3
Understood.

I'm surprised that nobody has put this functionality to do this in standard assemblers for decades, though. I can't be the only person that thinks doing

Code:
for n=0 to frames
putsprite(spriteframes(n))
next n

Or something that's conceptually similar, is a cunning way to do sprite animations..

I suppose, since sprites are of a fixed size, people have always treated them as vectors and calculated the pointers from a base..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)