diff options
author | David Thompson <dthompson2@worcester.edu> | 2017-01-23 21:36:02 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2017-01-23 21:36:02 -0500 |
commit | 4c97169572d55c5eb940817024335588d08c8d1d (patch) | |
tree | 64065230b1c93c3b8576f24d59b8c1dc53834933 /README | |
parent | 5b722b00e934e8176e570101e911385c99da1bdc (diff) |
README: Fix example code again.
Diffstat (limited to 'README')
-rw-r--r-- | README | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,15 +8,17 @@ #+BEGIN_SRC scheme (use-modules (chickadee) - (chickadee math vector)) + (chickadee math vector) + (chickadee render sprite) + (chickadee render texture)) (define sprite #f) (define (load) - (set! sprite (load-image "chickadee.png"))) + (set! sprite (load-image "images/chickadee.png"))) (define (draw alpha) - (draw-sprite sprite (vec2 320.0 240.0))) + (draw-sprite sprite (vec2 256.0 176.0))) (add-hook! load-hook load) (add-hook! draw-hook draw) |