gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Sprite Problem! Need Help

#99981 - Titan. - Fri Aug 25, 2006 3:05 am

I am working on a a Sprite Library and when I display a sprite in modes 3-5, the sprite is on the screen fine, but when I change the mode to 0-2 it prints fine again but there is a duplicate image that looks corrupted on the top left of the screen anyone have an idea what that is?

#99984 - tepples - Fri Aug 25, 2006 3:18 am

The corrupted image is sprites set to draw tile 0 at position (0, 0), which is the power-up state of OAM. You need to hide them all by setting each attribute 0 to the value 512.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.