02-02-2009, 02:09 PM
Oh yeah, it's this part:
I set it up like that because my sprite sheet is set up in a different order.
Just change it to:
Updated the tutorial with the fix. Sorry about that, just copied and pasted it without editing it for Ms4 xD
Code:
Case DIR_UP
spriteleft = 0
Case DIR_RIGHT
spriteleft = 1
Case DIR_DOWN
spriteleft = 2
Case DIR_LEFT
spriteleft = 3
I set it up like that because my sprite sheet is set up in a different order.
Just change it to:
Code:
Case DIR_UP
spriteleft = 0
Case DIR_RIGHT
spriteleft = 3
Case DIR_DOWN
spriteleft = 1
Case DIR_LEFT
spriteleft = 2
Updated the tutorial with the fix. Sorry about that, just copied and pasted it without editing it for Ms4 xD
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?