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

(define (draw alpha)
  (draw-text "Hello, world!" #v(260.0 240.0)))

(run-game #:draw draw)