Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move SDL game loop implementation to its own module. | David Thompson | 2018-08-23 | 1 | -1/+2 |
| | |||||
* | math: vector: Add read syntax. | David Thompson | 2018-08-23 | 1 | -2/+2 |
| | | | | | | | | | * 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 | -4/+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. | ||||
* | Move color module into render namespace. | David Thompson | 2017-08-08 | 1 | -1/+1 |
| | |||||
* | examples: Add line segment example. | David Thompson | 2017-01-25 | 1 | -0/+31 |
* examples/lines.scm: New file. |