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 > Importing sprites to gba?

#176778 - blessingta@hotmail.co.uk - Mon Oct 10, 2011 6:35 pm

hi

How are images important to gba like with Open GL and Direct X (where you've got functions that convert data in images)? And with the gba image files, whats/how are they created?

#176784 - gauauu - Tue Oct 11, 2011 2:55 pm

Usually GBA images are converted from a standard image format (usually png) to raw data in the form that the GBA can handle -- either just a raw binary blob, or as C or assembly code that can be compiled and linked into your project.

There are various tools for this, but the semi-standard one nowadays that's recommended is grit, which is part of the devkitPro tools. If you are looking for something with a GUI, check out cearn's usenti.