Zal0 / ZGB

Game Boy / Color engine with lots of features
MIT License
694 stars 51 forks source link

.gbr needs to be in the same directory as .gbm #62

Closed joshbalfour closed 11 months ago

joshbalfour commented 11 months ago

Heya, I love this project, it's making GB dev so accessible and the tutorial is great!

I found a small issue when going through the HUD section of the tutorial: I had hud_tiles.gbr in res/sprites (i duplicated the player.gbr sprite so I didn't have to redefine the colour palette) and hud.gbm in res. This resulted in it rendering glitchy tiles:

image

After a while I figured it out, I don't know if this is a bug or just something to be documented.

Cheers!

Zal0 commented 11 months ago

sprites folder is a very specific folder to place sprites only I think the problem you have is that your hud tiles are in that folder so they are treated as sprites instead of tilemaps