Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Method to disable (hide) a sprite   Message List  
Reply | Forward Message #5979 of 15019 |
Re: Re[2]: [gbadev] Method to disable (hide) a sprite

i can confirm that, the first few lines of the screen can have weird color
marks on them if you are using alot of other sprites while still having most
of them up in the corner

> switching off the sprites by filling the OAM with zeros does _NOT_
> switch off the sprites. instead it places all sprites in the top left
> corner of the screen - these sprites are invisible but they do very
> well steal cycles from the rendering circuit, you will get funny
> errors when you try to display a bunch of visible sprites in the same
> Y area.






Wed Aug 1, 2001 11:28 pm

dancotter@...
Send Email Send Email

Forward
Message #5979 of 15019 |
Expand Messages Author Sort by Date

Is there an easy method to disable (hide) a sprite on the GBA ? Actually, when I do not use an OAM entry, I fill it with 0. In sprite RAM, the first 8 x 8...
Pierron, Christophe
CPierron@...
Send Email
Aug 1, 2001
11:34 am

... easiest and legal way is setting the y coordinate to 160 -- Manfred Linzner (Project Manager) Shin'en Multimedia http://www.shinen.com Tel.: ++49 (0)89 785...
Manfred Linzner
linzner@...
Send Email
Aug 1, 2001
11:39 am

Hello Manfred, ... ML> easiest and legal way is setting the y coordinate to 160 the double-size flag seems to be perfectly "legal" though (somewhere in N's...
groepaz
groepaz@...
Send Email
Aug 1, 2001
4:42 pm

i can confirm that, the first few lines of the screen can have weird color marks on them if you are using alot of other sprites while still having most of them...
Dan Cotter
dancotter@...
Send Email
Aug 2, 2001
3:10 am

Thanks, but I already knew that! It wasn't the solution I was referring to... ... From: groepaz [mailto:groepaz@...] Sent: 01 August 2001 20:15 To: Tom...
Tom Prosser
tom@...
Send Email
Aug 2, 2001
1:12 pm

You both say that sprites can wrap around the screen ? I though it was only the behaviour of backgrounds. It is not logical that a sprite do the same, no ? ...
Pierron, Christophe
CPierron@...
Send Email
Aug 2, 2001
5:34 pm

You only have 8 or 9 bits with which to specify the sprite position on the screen. They "wrap" in the sense that, say, an x coordinate of -1 will actually be...
Thomas
sorcererxiii@...
Send Email
Aug 2, 2001
6:22 pm

Thank you I've read from an official source that : <<If the number for non-displayed (outside of the screen) OBJ in the OAM is lower than that for displayed...
Pierron, Christophe
CPierron@...
Send Email
Aug 1, 2001
4:46 pm

What's wrong with it? It's about the "smartest" solution I've seen - it seems to completely switch off the sprite, whereas moving the Y value to 160 means you...
Tom Prosser
tom@...
Send Email
Aug 1, 2001
4:48 pm

Hello Tom, Wednesday, August 01, 2001, 2:17:24 PM, you wrote: TP> What's wrong with it? It's about the "smartest" solution I've seen - it TP> seems to...
groepaz
groepaz@...
Send Email
Aug 1, 2001
10:08 pm

Hi, ... seems ... There are many ways to make a sprite non-visible, but only one way to "turn it off". This is done by setting the double-size flag and...
Shawn Freeman
sfreeman@...
Send Email
Aug 1, 2001
6:53 pm

That's what it means to me, so use the double-size flag instead. Although it's not mentioned in the manual, it's legal as, as groepaz says, it's defined in...
Tom Prosser
tom@...
Send Email
Aug 1, 2001
6:55 pm

Thank you Tom, groepaz and others. You helped me to understand the good way of disabling sprites. I wrote "smart" method, but I should have wrote "a method...
Pierron, Christophe
CPierron@...
Send Email
Aug 2, 2001
8:16 am

Hello Christophe, PC> The only thing I regret, is that I don't know how you managed to get the PC> official header files PC> (unless you are official...
groepaz
groepaz@...
Send Email
Aug 2, 2001
1:12 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help