I was wondering if someone could help me understand the concept of how to make a tile map scroll smoothly. I have a few ideas on how to do it, but i'm not sure which is better (speed, size, or both), or if i'm completely off the target here.
Idea 1: Scroll the screen, filling in the missing parts as it scrolls.
Idea 2: Have a buffer that's slightly bigger (1 sprite-length) than the screen. Scroll around by shifting around the buffer, and only re-draw "unvisible" sprites when map is "re-aligned"
Idea 1: Scroll the screen, filling in the missing parts as it scrolls.
Idea 2: Have a buffer that's slightly bigger (1 sprite-length) than the screen. Scroll around by shifting around the buffer, and only re-draw "unvisible" sprites when map is "re-aligned"