summaryrefslogtreecommitdiff
path: root/examples/text.scm
blob: df0a2ed94bba6403479d5a676bb786c2d1ba5bd0 (plain)
1
2
3
4
5
6
7
8
9
(use-modules (chickadee)
             (chickadee math vector)
             (chickadee render 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)