123456789101112131415161718 |
- (use-modules (chickadee)
- (chickadee math vector)
- (chickadee render sprite)
- (chickadee render texture))
- (define sprite #f)
- (define (load)
- (set! sprite (load-image "images/logo.png")))
- (define (draw alpha)
- (draw-sprite sprite (vec2 256.0 176.0)))
- (add-hook! load-hook load)
- (add-hook! draw-hook draw)
- (run-game)
|