Sprite Attributes

Post Reply
olwildcory723
Posts: 9
Joined: Tue Jan 06, 2009 7:18 am

Sprite Attributes

Post by olwildcory723 » Mon Jan 26, 2009 3:58 am

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 :)

afireohno
Posts: 6
Joined: Thu Jan 01, 2009 9:37 pm

Re: Sprite Attributes

Post by afireohno » Mon Jan 26, 2009 4:09 am

I Had trouble figuring this out too.

Code: Select all

oamMain.oamMemory[id].vFlip = true;

olwildcory723
Posts: 9
Joined: Tue Jan 06, 2009 7:18 am

Re: Sprite Attributes

Post by olwildcory723 » Mon Jan 26, 2009 4:58 am

Hey thanks so much that helps a ton!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests