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

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

(run-game/sdl #:draw draw)