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 > sprites and squares

#8230 - whodoo - Sat Jul 05, 2003 12:59 am

is it posible to make an non-square sprite? of course I can put together two 8x8 to create a 8x16... but it there another way of doing this so that I dont?t need more than one OAM-entry to make a sprite that isnt a square?

#8234 - tepples - Sat Jul 05, 2003 1:54 am

You can choose between square, wide, and tall sizes for sprites.

Square: 8x8, 16x16, 32x32, or 64x64 pixels.
Wide: 16x8, 32x8, 32x16, or 64x32 pixels.
Tall: 8x16, 8x32, 16x32, or 32x64 pixels.

Set the shape in attribute 0 and the size in attribute 1.

Read the [url=http://www.cs.rit.edu/~tjh8300/CowBite/CowBiteSpec.htm#OAM%20(sprites)]CowBite spec's OAM section[/url] for more information.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.