mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2025-11-19 19:40:07 +00:00
tile hscroll
In this example we used the Tiled map editor to create a tile map.
Next we use a new utility I wrote mapgen to convert the tiled map data into bitplane offsets that we then use to blit tiles just to the right of the visible screen.
Finally we scroll the screen using a combination of byte offsets for the bitplane data and hardware scroll delay for the sub-byte pixels.
Because we are constantly writing new tiles to the right of the visible area, we can just keep scrolling through the bitplane data until we need to loop back to the start.
