summaryrefslogtreecommitdiff
path: root/examples/sprite.scm
Commit message (Collapse)AuthorAgeFilesLines
* Make the game loop modular!David Thompson2018-08-231-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 Thompson2017-01-241-0/+1
|
* Add basic sprite example.David Thompson2017-01-231-0/+17