From 594913616f54bcaab7268e7eac2244a0b83116a8 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 17 Jul 2013 19:11:29 -0400 Subject: Use predefined tile layer in tilemap example. --- examples/tilemap.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') 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) -- cgit v1.2.3