News: 11 March 2016 - Forum Rules

Author Topic: GBDK Maps bigger than 32x32  (Read 1879 times)


  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
GBDK Maps bigger than 32x32
« on: December 22, 2014, 01:37:33 am »
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?


  • Hero Member
  • *****
  • Posts: 736
    • View Profile
Re: GBDK Maps bigger than 32x32
« Reply #1 on: December 22, 2014, 02:54:05 am »
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.