Chickadee is a game development toolkit for Guile Scheme.
Chickadee provides all the essential tools that parenthetically inclined game developers need to make games in Scheme.
Here is the obligatory “Hello, world” program:
(use-modules (chickadee) (chickadee math vector) (chickadee render font)) (define (draw alpha) (draw-text "Hello, world!" #v(260.0 240.0))) (run-game #:draw draw)
And here's how to draw a sprite:
(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 #:load load #:draw draw)
To install Chickadee with the GNU Guix package manager, run:
guix install guile-chickadee
To build and install Chickadee from source, run:
wget https://files.dthompson.us/chickadee/chickadee-0.4.0.tar.gz tar xf chickadee-0.4.0.tar.gz cd chickadee-0.4.0 ./configure make make install
Chickadee is developed using the Git version control system. The official repository is hosted at https://git.dthompson.us/chickadee.git.
To clone the repository, run:
git clone git://dthompson.us/chickadee.git
Real-time discussion for Chickadee can be found on the
#guile channel on the Freenode IRC network.
Send patches and bug reports to email@example.com.