Tiling blitter background

This could be a more performant alternative to a TileSprite for a scrolling background. It works by giving the blitter scroll factor (0, 0) and then shifting it by the camera scroll coordinates, clamped within the blitter texture dimensions. So in this example the camera scrolls infinitely while the blitter is always between (0, 0) and (-512, -512).

Related

1 Like