Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | math: vector: Add read syntax. | David Thompson | 2018-08-23 | 1 | -1/+1 |
| | | | | | | | | | * chickadee/math/vector.scm (read-vec): New procedure. Extend reader. * examples/lines.scm: Use new vector read syntax. * examples/nine-patch.scm: Ditto. * examples/sprite.scm: Ditto. * examples/text.scm: Ditto. * examples/tiled.scm: Ditto. | ||||
* | Make the game loop modular! | David Thompson | 2018-08-23 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | This is really cool! Now users can plug in whatever backend they'd like and are not forced to use SDL and OpenGL. Thanks to Chris Webber for showing me the Lux library for Racket that does exactly this. * chickadee.scm (run-game): Remove all SDL/OpenGL code, replace with generic render/update keyword arguments. (run-game/sdl): New procedure. * examples/lines.scm: Update for API breakage. * examples/nine-patch.scm: Ditto. * examples/sprite.scm: Ditto. * examples/text.scm: Ditto. * examples/tiled.scm: Ditto. | ||||
* | examples: sprite: Quit the demo when close button is pressed. | David Thompson | 2017-01-24 | 1 | -0/+1 |
| | |||||
* | Add basic sprite example. | David Thompson | 2017-01-23 | 1 | -0/+17 |