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 also have to ensure that the sprite is not high enough to wrap
around to the top of the screen.
-----Original Message-----
From: Pierron, Christophe [mailto:
CPierron@...]
Sent: 01 August 2001 13:14
To: Tom Prosser
Subject: [gbadev] Method to disable (hide) a sprite
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 block I put is filled with 0.
But I think there is a limitation on the maximum displayable sprites per
line,
even if these sprites are fully 8 x 8 transparent blocks ?
I've already saw articles talking about the double - size flag, but it seems
not to be a really "smart" solution.
list rules:
http://www.gbadev.org/rules.txt
<
http://www.gbadev.org/rules.txt>
unsubscribe:
gbadev-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to the Yahoo!
<
http://docs.yahoo.com/info/terms/> Terms of Service.
[Non-text portions of this message have been removed]