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.

Beginners > gba mode 0 tutorial

#161216 - Meta - Wed Jul 30, 2008 9:38 pm

Doe's anyone know of a decent tutorial on programming in mode 0 for the gba. The one I was using was removed.

#161218 - silent_code - Wed Jul 30, 2008 11:22 pm

Look for "Tonc." It's the tutorial - well, more like a developer's manual. ;^)

Have fun learning! :^)
_________________
July 5th 08: "Volumetric Shadow Demo" 1.6.0 (final) source released
June 5th 08: "Zombie NDS" WIP released!
It's all on my page, just click WWW below.

#161236 - Meta - Thu Jul 31, 2008 4:36 am

Alright thanks. I read his one tutorial for making a pong game. Mine turned out very nice.

Edit: My mistake that was Anders Vind Ebbesen's tutorial. Toncs is alot better

#169518 - shador - Mon Jul 20, 2009 12:43 am

I am searching for a tutorial about using tiles and how to construct scrolling games with the GBA (or in general for that matter).

Mode 0 is used for tiling right? Problem is I don't seem to find this tutorial you mentioned. Maybe someone could be so kind to post a link to Toncs tutorial or another tutorial that mentions how to use tiles.

#169520 - dantheman - Mon Jul 20, 2009 6:39 am

http://www.google.com/search?q=tonc

First result.

#169522 - shador - Mon Jul 20, 2009 10:02 am

Thank you for the link. Though I still have some questions to how one can use tiles.

What I'm mostly wondering is how do you tell the program wich tiles to use when a character moves forward in a simple sidescroller? I know that you have a set of tiles and then a tilemap. But how and when do you update what tiles that are to be displayed on the screen? And can you display parts of a tile so that the switching doesn't become too choppy?

I checked the link to Toncs documentation but I didn't really find the answers to these questions when going through the tile part. But I'll keep looking.

EDIT: Well I found the part that explains scrolling. I'm gonna give it a try =)