diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/animation.scm | 8 | ||||
-rw-r--r-- | examples/coroutine.scm | 7 | ||||
-rw-r--r-- | examples/particles.scm | 12 | ||||
-rw-r--r-- | examples/simple.scm | 4 | ||||
-rw-r--r-- | examples/tilemap.scm | 10 |
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) |