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.

Graphics > Sprite alpha

#131070 - ShadowX - Sun Jun 10, 2007 8:56 pm

I use Grit to convert graphics to GBA.
Can Grit make alpha in the image of sprite?

#131073 - tepples - Sun Jun 10, 2007 10:06 pm

The Game Boy Advance hardware supports only a single alpha value. All sprites that use alpha must use this alpha value. (It can be changed per scanline, but that's complicated.) What are you trying to do?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#131147 - ShadowX - Mon Jun 11, 2007 4:44 pm

I'm trying to do something that makes the sprite show the background. And not a rectangle with a color.

#131149 - DiscoStew - Mon Jun 11, 2007 5:21 pm

That would be considered transparency, of which the pixels on the areas you want clipped should have their palette index set to 0.
_________________
DS - It's all about DiscoStew