#46038 - Lideln - Sat Jun 18, 2005 5:20 pm
Hi !
I have a weird (or maybe not, maybe its because I'm a big noob in GBA programming :D) and serious problem with sprites.
At the moment I have 2 sprites : a "Jelly" with 4 tiles (4 faces, or whatever it should be called), and a hero, with 16 tiles (16 positions, 16 faces, or whatever :D).
Everything was OK, my hero could stand (animated), walk, and punch a jelly.
But when I added the "kick" animation (which takes 4 tiles, or 4 faces, or whatever :p), the game crashes : screen is white then quickly black, then nothing...
All my sprites (and by extension my tiles) are 32*32.
I tried to change the hero tiles from 32*32 to 64*64 (for the hero to take more place in the screen) and the games crashes more !! (the screen is only white, nothing else happening).
I precise that I don't load all the sprite tiles in the memory, just the ones needed.
Does someone know where the problem is ? It s***s if I am limited to 16 tiles.... :(
Thanks a lot in advance :)
Lideln
I have a weird (or maybe not, maybe its because I'm a big noob in GBA programming :D) and serious problem with sprites.
At the moment I have 2 sprites : a "Jelly" with 4 tiles (4 faces, or whatever it should be called), and a hero, with 16 tiles (16 positions, 16 faces, or whatever :D).
Everything was OK, my hero could stand (animated), walk, and punch a jelly.
But when I added the "kick" animation (which takes 4 tiles, or 4 faces, or whatever :p), the game crashes : screen is white then quickly black, then nothing...
All my sprites (and by extension my tiles) are 32*32.
I tried to change the hero tiles from 32*32 to 64*64 (for the hero to take more place in the screen) and the games crashes more !! (the screen is only white, nothing else happening).
I precise that I don't load all the sprite tiles in the memory, just the ones needed.
Does someone know where the problem is ? It s***s if I am limited to 16 tiles.... :(
Thanks a lot in advance :)
Lideln