Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

I keep getting an undefined global error and I can't figure out why. I'm following the steps exactly, changing the names of my tilesets to what the error shows (when it's incorrect), all my file names are unique, and all tiles are unique. I also added placeholder tiles to fill that last row (not pictured).

If I'm swapping 16x16 tiles with a 16x16 block tile sheet mode, does each individual 8px block within each 16x16 tile need to be unique?

Any help would be appreciated!!! Thanks so much for making this tool!

(+1)

Hi! The error means that the gbvm can't find your tileset file. Is the tileset saved in the file "tileset2.png"? If it is and you are still grtting errors then GB studio might have made another internal name for it. If so try making a GBVM script event, add reference, and find what the file is called internally. If it's something like "__bank_bg_tileset_2_tileset" than enter tileset_2 into the tilemap name.

For unique tiles you can change the tileset scene type to logo and all tiles will automatically become unique. Hope this helps!

Well I tried it again today and it's all working correctly! So we're good! Regardless, your explanation makes a ton of sense. I knew that was a thing based on the other comments here, but I was definitely looking for the wrong names in the wrong spot lol. Thanks again!