blob: ed968fb5b023df94fc92f4dc6c238acc48abd502 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
(use-modules (chickadee)
(chickadee math vector)
(chickadee render sprite)
(chickadee render texture)
(chickadee sdl))
(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)
|