blob: 8e54f2118ae1d4ef8c1437e7fd8cc5b934e2e98e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(use-modules (chickadee)
(chickadee math vector)
(chickadee render sprite)
(chickadee render texture))
(define sprite #f)
(define (load)
(set! sprite (load-image "images/chickadee.png")))
(define (draw alpha)
(draw-sprite sprite #v(256.0 176.0)))
(run-game/sdl #:load load #:draw draw)
|