summaryrefslogtreecommitdiff
path: root/examples/text.scm
blob: dd9c83a15aff6355a02b32e85dcacd60e3ab94e3 (plain)
1
2
3
4
5
6
7
8
9
(use-modules (chickadee)
             (chickadee math vector)
             (chickadee graphics font))

(define (draw alpha)
  (draw-text "The quick brown fox jumps over the lazy dog.\nFive hexing wizard bots jump quickly."
             #v(140.0 240.0)))

(run-game #:draw draw)