summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-07-22 19:33:36 -0400
committerDavid Thompson <dthompson2@worcester.edu>2013-07-22 19:33:36 -0400
commit5897dc466ca264576acf342c13448b8dcee353bd (patch)
treecbe4d0f3d8182d70da65f688336d3b117519ddcf
parent7a4ecf0b8cf11cf219fef36c00b188c9750dd4d9 (diff)
Update examples.
-rw-r--r--examples/animation.scm8
-rw-r--r--examples/coroutine.scm7
-rw-r--r--examples/particles.scm12
-rw-r--r--examples/simple.scm4
-rw-r--r--examples/tilemap.scm10
5 files changed, 17 insertions, 24 deletions
diff --git a/examples/animation.scm b/examples/animation.scm
index b27d07f..72e0b80 100644
--- a/examples/animation.scm
+++ b/examples/animation.scm
@@ -1,8 +1,10 @@
-(use-modules (2d sprite)
+(use-modules (2d animation)
(2d game-loop)
- (2d window)
+ (2d helpers)
+ (2d sprite)
+ (2d texture)
(2d vector)
- (2d helpers))
+ (2d window))
(init-2d)
diff --git a/examples/coroutine.scm b/examples/coroutine.scm
index d2a53d3..2791944 100644
--- a/examples/coroutine.scm
+++ b/examples/coroutine.scm
@@ -1,9 +1,4 @@
-(use-modules (figl gl)
- (srfi srfi-1)
- (srfi srfi-9)
- (srfi srfi-42)
- (ice-9 format)
- (2d sprite)
+(use-modules (2d sprite)
(2d game-loop)
(2d window)
(2d helpers)
diff --git a/examples/particles.scm b/examples/particles.scm
index 555e185..53f9d54 100644
--- a/examples/particles.scm
+++ b/examples/particles.scm
@@ -1,14 +1,12 @@
;; load the SDL module and some useful srfi's
-(use-modules ((sdl sdl) #:prefix SDL:)
- (figl gl)
- (srfi srfi-1)
+(use-modules (srfi srfi-1)
(srfi srfi-9)
- (ice-9 format)
- (2d sprite)
(2d game-loop)
- (2d window)
+ (2d helpers)
+ (2d sprite)
+ (2d texture)
(2d vector)
- (2d helpers))
+ (2d window))
(set! *random-state* (random-state-from-platform))
(init-2d)
diff --git a/examples/simple.scm b/examples/simple.scm
index bcc94b7..09f9870 100644
--- a/examples/simple.scm
+++ b/examples/simple.scm
@@ -1,6 +1,4 @@
-(use-modules ((sdl sdl) #:prefix SDL:)
- (figl gl)
- (2d sprite)
+(use-modules (2d sprite)
(2d game-loop)
(2d window)
(2d helpers))
diff --git a/examples/tilemap.scm b/examples/tilemap.scm
index cbe6e86..72a1326 100644
--- a/examples/tilemap.scm
+++ b/examples/tilemap.scm
@@ -1,12 +1,12 @@
-(use-modules (figl gl)
- (srfi srfi-1)
+(use-modules (srfi srfi-1)
(srfi srfi-9)
(srfi srfi-42)
- (2d sprite)
(2d game-loop)
- (2d window)
+ (2d helpers)
+ (2d texture)
+ (2d sprite)
(2d vector)
- (2d helpers))
+ (2d window))
(init-2d)