Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
I'm trying to get a screen scrolling system like the Zelda GB games, using gbdk. Here's an example: https://imgur.com/a/4GiLA8K The screen seems to load in one column at a time, drawing to where the camera is about to move to.
I tried just drawing the entire map where the camera was about to move but got this: https://imgur.com/a/SzPOp81 I was told this is because maps drawn past tile location 32 don't draw correctly.
So I've been trying to now load chunks of the map at a time to avoid this error, one column at a time seems the safest, but I just get garbled tiles. Does anyone know a system to implement this that I could copy?
Last edited by Dalta (2020-07-11 11:08:26)
Offline
Yes, you are correct. While scrolling you need to update the background layer columns. This video gives an example how to do it:
https://www.youtube.com/watch?v=sWG2AGZK8eY
Offline