- ;; https://opengameart.org/content/classic-knight-animated
- (use-modules (chickadee)
- (chickadee math vector)
- (chickadee render sprite)
- (chickadee render texture))
- (define sprite #f)
- (define (load)
- (set! sprite (load-image "images/knight.png")))
- (define (draw alpha)
- (draw-sprite sprite #v(256.0 176.0)))
- (run-game #:load load #:draw draw)
|