View Single Post
Old 21 February 2019, 16:23   #2
dodke
Registered User
 
Join Date: Feb 2018
Location: London / UK
Posts: 112
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.
dodke is offline  
 
Page generated in 0.07510 seconds with 11 queries