Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
hello can anyone explain to me how to display sprites using the gbdk
or find any tutorials
as i tried looking at the galaxy.c file in the examples directory of the gbdk
but i didn’t rely understand any of it
thanks in advance
Offline
Hey.
To make your sprites/tiles, the easiest way is to use GBTD, and to make maps you can use GBMB. Both are found here: http://www.devrs.com/gb/hmgd/intro.html
When you export your tiles, remember to pick how many tiles you wish to export, and not just 1.
here're some nice beginner tutorials: http://www.retroisle.com/others/nintend … re/dev.php
and here's some reference on graphics functions: http://gbdk.sourceforge.net/doc/html/c0504.html
for sprites you'll initially need set_sprite_data(), set_sprite_tile(), and move_sprite().
for backgrounds you'll initially need set_bkg_data() and set_bkg_tiles().
the functiones are pretty self-explanatory and are well documented.
Offline