summaryrefslogtreecommitdiff
path: root/examples/text.scm
blob: 3d2b3b5694da3728dcaef398f466e9868b17a5ed (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."
             (vec2 140.0 240.0)))

(run-game #:draw draw)