diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-07-17 19:11:29 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-07-17 19:11:29 -0400 |
commit | 594913616f54bcaab7268e7eac2244a0b83116a8 (patch) | |
tree | 04f123623adf741570f3e00c79101e0970b8b114 /examples | |
parent | bc0852b15c6d8ddb8a08f9abf85e3f1697690336 (diff) |
Use predefined tile layer in tilemap example.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tilemap.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tilemap.scm b/examples/tilemap.scm index ce0082b..49106b0 100644 --- a/examples/tilemap.scm +++ b/examples/tilemap.scm @@ -40,8 +40,8 @@ (draw-sprite tile))))))) ;; A small 8x8 array of tile indices. -(define map-width 32) -(define map-height 32) +(define map-width 8) +(define map-height 8) (define map-tiles #2u32((00 01 01 01 01 01 01 02) (16 17 17 17 17 17 17 18) @@ -100,6 +100,6 @@ tile-width tile-height tileset - (random-map map-width map-height tileset))))) + map-tiles)))) (run-game-loop) |