Updated README.md

This commit is contained in:
alpine9000 2016-05-28 14:41:09 +10:00
parent c93d9513dc
commit fae4b203c8
1 changed files with 9 additions and 0 deletions

View File

@ -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
----------