summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/text.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/examples/text.scm b/examples/text.scm
index 40b7653..d181889 100644
--- a/examples/text.scm
+++ b/examples/text.scm
@@ -1,14 +1,8 @@
-(use-modules (chickadee)
- (chickadee math vector)
+(use-modules (chickadee math vector)
(chickadee render font)
(chickadee sdl))
(define (draw alpha)
- (draw-text "(draw-text font \"Hello, world!\" (vec2 100.0 200.0))"
- #v(100.0 200.0))
- (draw-text "Chickadee is a game development toolkit for Guile Scheme."
- #v(100.0 150.0))
- (draw-text "The quick brown fox jumps over the lazy dog"
- #v(100.0 100.0)))
+ (draw-text "Hello, world!" #v(260.0 240.0)))
(run-game/sdl #:draw draw)