From fae4b203c802eb0d5073ccb0759bb08191fbc181 Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Sat, 28 May 2016 14:41:09 +1000 Subject: [PATCH] Updated README.md --- 026.tile_hscroll/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ----------