diff options
-rw-r--r-- | haunt.scm | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -518,21 +518,21 @@ parenthetically inclined game developers need to make games in Scheme.") (p "Here is the obligatory “Hello, world” program:") ,(highlight-scheme - "(use-modules (chickadee math vector) - (chickadee render font) - (chickadee sdl)) + "(use-modules (chickadee) + (chickadee math vector) + (chickadee render font)) (define (draw alpha) (draw-text \"Hello, world!\" #v(260.0 240.0))) -(run-game/sdl #:draw draw) +(run-game #:draw draw) ") (p "And here's how to draw a sprite:") ,(highlight-scheme - "(use-modules (chickadee math vector) + "(use-modules (chickadee) + (chickadee math vector) (chickadee render sprite) - (chickadee render texture) - (chickadee sdl)) + (chickadee render texture)) (define sprite #f) @@ -542,7 +542,7 @@ Scheme.") (define (draw alpha) (draw-sprite sprite #v(256.0 176.0))) -(run-game/sdl #:load load #:draw draw) +(run-game #:load load #:draw draw) ") (p "Features include:") (ul @@ -558,7 +558,8 @@ Scheme.") "Guile-OpenGL >= 0.1.0") #:license "GNU GPLv3+" #:releases - `(("0.3.0" ,(date 2018 10 03)) + `(("0.4.0" ,(date 2019 06 04)) + ("0.3.0" ,(date 2018 10 03)) ("0.2.0" ,(date 2017 01 26)) ("0.1.0" ,(date 2017 01 23))))) |