Gameboy Development Forum

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.


#1 2014-08-13 22:00:05

a cat
Registered: 2014-07-27
Posts: 98

graphics tutorials?

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

a cat in need of knowledge!!



#2 2014-08-18 11:32:04

From: bs as, argentina
Registered: 2014-08-10
Posts: 11

Re: graphics tutorials?

To make your sprites/tiles, the easiest way is to use GBTD, and to make maps you can use GBMB. Both are found here:

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: … re/dev.php

and here's some reference on graphics functions:

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.



Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson