diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-07-17 19:11:07 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-07-17 19:11:07 -0400 |
commit | bc0852b15c6d8ddb8a08f9abf85e3f1697690336 (patch) | |
tree | ccaff8210bd6a123d66f4d54467fd8f12fd6f0b4 /examples | |
parent | c1a07c0d2692499e3a6a049ed26967271a83d801 (diff) |
Use init-2d in all examples.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/coroutine.scm | 2 | ||||
-rw-r--r-- | examples/particles.scm | 1 | ||||
-rw-r--r-- | examples/simple.scm | 2 | ||||
-rw-r--r-- | examples/tilemap.scm | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/examples/coroutine.scm b/examples/coroutine.scm index 0c6f3b4..bb3f6ab 100644 --- a/examples/coroutine.scm +++ b/examples/coroutine.scm @@ -12,6 +12,8 @@ (2d agenda) (2d coroutine)) +(init-2d) + (define window-width 800) (define window-height 600) (define sprite #f) diff --git a/examples/particles.scm b/examples/particles.scm index 65bf0ea..8e6d11e 100644 --- a/examples/particles.scm +++ b/examples/particles.scm @@ -13,6 +13,7 @@ (2d helpers)) (set! *random-state* (random-state-from-platform)) +(init-2d) ;;; ;;; Particles diff --git a/examples/simple.scm b/examples/simple.scm index 891e0fc..c5d25f1 100644 --- a/examples/simple.scm +++ b/examples/simple.scm @@ -7,6 +7,8 @@ (2d helpers) (ice-9 format)) +(init-2d) + (define window-width 800) (define window-height 600) (define sprite #f) diff --git a/examples/tilemap.scm b/examples/tilemap.scm index 5a7ccea..ce0082b 100644 --- a/examples/tilemap.scm +++ b/examples/tilemap.scm @@ -10,6 +10,8 @@ (2d input) (2d helpers)) +(init-2d) + ;;; ;;; Orthogonal tile map example ;;; |