Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add draw-hook. | David Thompson | 2014-01-07 | 1 | -13/+6 |
| | | | | | | | * 2d/game.scm (run-game, run-game-loop): Rename and remove draw callback parameter. (draw-hook): New hook. (draw): Run draw hook. | ||||
* | Restructure game callbacks and signals. | David Thompson | 2013-12-15 | 1 | -11/+7 |
| | | | | | | | | * 2d/game.scm (game-draw): Add signal. (run-game): Remove update callback. (draw): Use alpha value. (update): Remove call to obsolete update callback. (update-and-render): Pass alpha value. | ||||
* | Move event handlers and signals into their own modules. | David Thompson | 2013-12-01 | 1 | -70/+9 |
| | | | | | | | | | | | * 2d/game.scm (register-event-handler): New procedure. (mouse-*, key-*, window-*): Remove signals. * 2d/window.scm (window-size): New signal. * 2d/mouse.scm: New module. * 2d/keyboard.scm: New module. | ||||
* | Add key-directions and key-wasd procedures. | David Thompson | 2013-12-01 | 1 | -11/+17 |
| | | | | | * 2d/game.scm (key-directions, key-wasd): New procedures. (arrows, key-arrows): Renamed. | ||||
* | Make signal transformer an optional keyword argument. | David Thompson | 2013-12-01 | 1 | -4/+4 |
| | | | | | | * 2d/signals.scm (make-signal): Make transformer optional. (signal-identity): Delete it. (signal-*): Use new constructor. | ||||
* | Add arrows signal. | David Thompson | 2013-12-01 | 1 | -0/+12 |
| | | | | * 2d/game.scm (arrows): New signal. | ||||
* | Refactor game loop code and improve event signals. | David Thompson | 2013-12-01 | 1 | -110/+96 |
| | | | | * 2d/game.scm: New signals and refactor. | ||||
* | Add with-window form. | David Thompson | 2013-11-30 | 1 | -18/+7 |
| | | | | | | | | | * 2d/window.scm (<window>): New record type. (open-window): Use window object. (close-window): Change docstring. * 2d/game.scm (<game>, make-game): Remove window properties. (run-game): Remove window logic. | ||||
* | Remove stage stuff from game module and use signals. | David Thompson | 2013-11-30 | 1 | -71/+74 |
| | | | | Moving my work to another machine so this commit is ugly. | ||||
* | Merge game-loop module with game module. | David Thompson | 2013-11-04 | 1 | -3/+240 |
| | |||||
* | Use the new scene/stage API. | David Thompson | 2013-10-23 | 1 | -76/+19 |
| | |||||
* | Re-export new procedures from game-loop module. | David Thompson | 2013-10-23 | 1 | -0/+5 |
| | |||||
* | Add a paused flag in addition to the running flag. | David Thompson | 2013-10-23 | 1 | -2/+2 |
| | |||||
* | Rename scene draw and update procedures. | David Thompson | 2013-09-15 | 1 | -2/+2 |
| | | | | They were inconsistent with the rest of the API. | ||||
* | Export current-fps from game module. | David Thompson | 2013-09-08 | 1 | -1/+2 |
| | |||||
* | Create a scene stack interface. | David Thompson | 2013-09-06 | 1 | -1/+4 |
| | |||||
* | Create copies of the default events alist for safety. | David Thompson | 2013-09-06 | 1 | -2/+5 |
| | |||||
* | Prevent circular dependency by moving core game data structures to another ↵ | David Thompson | 2013-09-06 | 1 | -27/+57 |
| | | | | module. | ||||
* | Add a *running* flag to the game loop. | David Thompson | 2013-09-06 | 1 | -10/+15 |
| | |||||
* | Create (2d game) module. | David Thompson | 2013-09-06 | 1 | -0/+66 |