summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-07-17 19:11:07 -0400
committerDavid Thompson <dthompson2@worcester.edu>2013-07-17 19:11:07 -0400
commitbc0852b15c6d8ddb8a08f9abf85e3f1697690336 (patch)
treeccaff8210bd6a123d66f4d54467fd8f12fd6f0b4 /examples
parentc1a07c0d2692499e3a6a049ed26967271a83d801 (diff)
Use init-2d in all examples.
Diffstat (limited to 'examples')
-rw-r--r--examples/coroutine.scm2
-rw-r--r--examples/particles.scm1
-rw-r--r--examples/simple.scm2
-rw-r--r--examples/tilemap.scm2
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
;;;