Page 1 of 1

Sprite Attributes

Posted: Mon Jan 26, 2009 3:58 am
by olwildcory723
Ok I have a new question about sprites. How would I change the sprite attributes defined in the SpriteEntry union? I've tried to see it used in the examples but I couldnt. I've noticed there are only some of those attributes that you can set in the oamSet() function. I'm hoping someone can post a bit of example code that has some good comments. For instance, lets say the vflip attribute. How would you set that attribute for a specific sprite? Thanks in advance :)

Re: Sprite Attributes

Posted: Mon Jan 26, 2009 4:09 am
by afireohno
I Had trouble figuring this out too.

Code: Select all

oamMain.oamMemory[id].vFlip = true;

Re: Sprite Attributes

Posted: Mon Jan 26, 2009 4:58 am
by olwildcory723
Hey thanks so much that helps a ton!