diff --git a/026.tile_hscroll/README.md b/026.tile_hscroll/README.md index 192077e..3295e15 100644 --- a/026.tile_hscroll/README.md +++ b/026.tile_hscroll/README.md @@ -1,6 +1,15 @@ tile hscroll ============ +In this example we used the [Tilled](http://www.mapeditor.org/) map editor to create a tile map. + +Next we use a new utility I wrote [mapgen](../tools/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. + + screenshot ----------