See for your tile editor. Don't draw each tile every frame. Instead, draw the tiles to a large image, larger than the size of the screen.
When the image is close to scrolling out the screen, redraw the image, inside it's self (slightly offset off course), and draw the new tiles.
use that to select the imagebuffer to be drawn to. Draw the tiles. And only update the large image, when you need to. It's alot faster to draw one large image, then many small ones. Fastest way to do tilemaps in blitz me thinks. Thanks to Shagwana for this info. I'm now using this way on my current tile map system :)
When the image is close to scrolling out the screen, redraw the image, inside it's self (slightly offset off course), and draw the new tiles.
SetBuffer ImageBuffer(large_image)
use that to select the imagebuffer to be drawn to. Draw the tiles. And only update the large image, when you need to. It's alot faster to draw one large image, then many small ones. Fastest way to do tilemaps in blitz me thinks. Thanks to Shagwana for this info. I'm now using this way on my current tile map system :)