Gameboy Development Forum

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.


#1 2020-07-11 11:08:09

New member
Registered: 2020-07-11
Posts: 1

Zelda-like screen scrolling?

I'm trying to get a screen scrolling system like the Zelda GB games, using gbdk. Here's an example: 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: 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)



#2 2020-07-12 02:51:24

Registered: 2019-11-24
Posts: 21

Re: Zelda-like screen scrolling?

Yes, you are correct. While scrolling you need to update the background layer columns. This video gives an example how to do it:



Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson