#14515 - alek - Wed Jan 07, 2004 9:47 pm
Hi
I'm working on my first gba project and I'm having difficulties getting sprites to rotate in mode 0. The sprite is displayed perfectly untill I set the rotation flag in attribute 0
the sprite just dissapears and I'm left with a white box where the sprite should be. I just can't figure out what's wrong. Isn't it possible to rotate sprites in mode0 or have I just messed up some where else in the code?
I'm working on my first gba project and I'm having difficulties getting sprites to rotate in mode 0. The sprite is displayed perfectly untill I set the rotation flag in attribute 0
Code: |
#define ROTATION_FLAG 0x100 . . . . sprites[0].attribute0 = y | COLOR_256 | ROTATION_FLAG; |
the sprite just dissapears and I'm left with a white box where the sprite should be. I just can't figure out what's wrong. Isn't it possible to rotate sprites in mode0 or have I just messed up some where else in the code?