If you don't need much vertical scrolling necessarily you can still use the corkscrew method if you make the buffer just slightly taller than the screen.
I'm working on a game at the moment which uses a 384 pixels tall buffer so there's 160 pixels to scroll up/down with a 320 x 224 viewport which is kind of decent, way nicer than horizontal only.
I'm then updating 1 or 2 tiles per pixel scrolled.
I might do a proper raster split tile engine "next time" but for now it was much easier to get started with the corkscrew stuff.
|