News:

11 March 2016 - Forum Rules

Main Menu

GBDK Maps bigger than 32x32

Started by Guadozoku, December 22, 2014, 01:37:33 AM

Previous topic - Next topic

Guadozoku

set_bkg_data(0,40,TileLabel);
set_bkg_tiles(0, 0, 50, 50, Testmap);

I'm using GBDk, and I made a map that's 50x50. I made scrolling routines and ran the program, but the map only goes to 32x32 then loops. Is there any way to have maps bigger than 32x32? I assume every GB game ever made has used them otherwise all levels would be really short. What can I do?

tryphon

Don't know about GBDK, but if it works like much of the machine I know of, 32x32 must be the size of the hardware plane (in VRAM).

If you want a larger map, you have to code routines that update the hardware plane in the direction the player is moving. Maybe GBDK has built-in routines for that.