Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add clamp procedure. | David Thompson | 2013-12-02 | 1 | -1/+9 | |
| | | | | * 2d/math.scm (clamp): New procedure. | |||||
* | Define signal-count in terms of signal-fold. | David Thompson | 2013-12-02 | 1 | -4/+3 | |
| | | | | * 2d/signals.scm (signal-count): Rewrite. | |||||
* | Define signal-constant in terms of signal-lift. | David Thompson | 2013-12-02 | 1 | -7/+5 | |
| | | | | * 2d/signals.scm (signal-constant): Rewrite. | |||||
* | Change parameters for time-interval and time-every. | David Thompson | 2013-12-02 | 1 | -9/+9 | |
| | | | | * 2d/time.scm (time-interval, time-every): Add signal parameter. | |||||
* | Add signal-fold procedure. | David Thompson | 2013-12-02 | 1 | -0/+10 | |
| | | | | * 2d/signals.scm (signal-fold): New procedure. | |||||
* | Move event handlers and signals into their own modules. | David Thompson | 2013-12-01 | 4 | -70/+155 | |
| | | | | | | | | | | | * 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. | |||||
* | Delete obsolete modules. | David Thompson | 2013-12-01 | 4 | -454/+0 | |
| | | | | | | | * 2d/actions.scm: Delete it. * 2d/observer.scm: Delete it. * 2d/scene.scm: Delete it. * 2d/stage.scm: Delete it. | |||||
* | Use dynamic-wind in with-window form. | David Thompson | 2013-12-01 | 1 | -4/+4 | |
| | | | | * 2d/window.scm (with-window): Use dynamic-wind. | |||||
* | 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. | |||||
* | Add time signals. | David Thompson | 2013-12-01 | 1 | -0/+49 | |
| | | | | * 2d/time.scm: New module. | |||||
* | Fix signal coroutine. | David Thompson | 2013-12-01 | 1 | -8/+3 | |
| | ||||||
* | Make signal transformer an optional keyword argument. | David Thompson | 2013-12-01 | 2 | -70/+80 | |
| | | | | | | * 2d/signals.scm (make-signal): Make transformer optional. (signal-identity): Delete it. (signal-*): Use new constructor. | |||||
* | Make signal-set! a coroutine. | David Thompson | 2013-12-01 | 1 | -2/+8 | |
| | | | | | * 2d/signals.el (signal-set!): Make coroutine. (signal-set-and-propagate!): New procedure. | |||||
* | Rename signal-listeners to signal-connectors. | David Thompson | 2013-12-01 | 1 | -10/+10 | |
| | | | | * 2d/signals.scm: Replace "listeners" with "connectors". | |||||
* | Add filters to signals to stop propagation. | David Thompson | 2013-12-01 | 1 | -6/+22 | |
| | | | | | * 2d/signals.scm (signal-filter, signal-keep?, signal-receive!): New procedures. | |||||
* | Add arrows signal. | David Thompson | 2013-12-01 | 1 | -0/+12 | |
| | | | | * 2d/game.scm (arrows): New signal. | |||||
* | Add signal-lift3 and signal-lift4. | David Thompson | 2013-12-01 | 1 | -0/+21 | |
| | | | | * 2d/signals.scm (signal-lift3, signal-lift4): New procedures. | |||||
* | 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 | 2 | -28/+43 | |
| | | | | | | | | | * 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. | |||||
* | Allow signals to be used for certain sprite properties. | David Thompson | 2013-11-30 | 1 | -6/+7 | |
| | | | | | * 2d/sprite.scm (update-sprite-vertices!) (draw-sprite-batched): Use signals. | |||||
* | Add signal-ref-maybe procedure. | David Thompson | 2013-11-30 | 1 | -1/+9 | |
| | | | | * 2d/signals.scm (signal-ref-maybe): New procedure. | |||||
* | Remove stage stuff from game module and use signals. | David Thompson | 2013-11-30 | 2 | -89/+92 | |
| | | | | Moving my work to another machine so this commit is ugly. | |||||
* | Refactor signals module. | David Thompson | 2013-11-29 | 1 | -68/+57 | |
| | | | | * 2d/signals.scm: Refactor. | |||||
* | Add signals module for functional reactive programming. | David Thompson | 2013-11-29 | 1 | -0/+208 | |
| | | | | * 2d/signals.scm: New module. | |||||
* | Fix emacs hint. | David Thompson | 2013-11-08 | 1 | -1/+1 | |
| | ||||||
* | Fix codefine*. | David Thompson | 2013-11-08 | 1 | -6/+6 | |
| | | | | Thank you to shanecelis and mark_weaver. | |||||
* | Fix exports in stage module. | David Thompson | 2013-11-06 | 1 | -2/+1 | |
| | ||||||
* | Merge game-loop module with game module. | David Thompson | 2013-11-04 | 3 | -269/+241 | |
| | ||||||
* | Add set-stage-scene! | David Thompson | 2013-11-03 | 1 | -1/+2 | |
| | ||||||
* | Pass scene state to all observer event handlers. | David Thompson | 2013-11-03 | 3 | -6/+11 | |
| | ||||||
* | Quit game when scene stack is empty. | David Thompson | 2013-11-03 | 1 | -5/+10 | |
| | ||||||
* | Fix default key-down event. | David Thompson | 2013-11-03 | 1 | -1/+2 | |
| | ||||||
* | Add event observer to scene. | David Thompson | 2013-11-03 | 3 | -75/+92 | |
| | | | | | Some convenient default events are provided to make quitting the game easy for new developers. | |||||
* | Really export scene type tag. | David Thompson | 2013-11-03 | 1 | -1/+2 | |
| | ||||||
* | Add scene name field. | David Thompson | 2013-11-03 | 1 | -3/+6 | |
| | ||||||
* | Remove stage local variables. | David Thompson | 2013-11-03 | 3 | -85/+52 | |
| | | | | | Use an the scene initialization thunk to return the needed game state instead. | |||||
* | Add observer to stage. | David Thompson | 2013-10-30 | 1 | -3/+14 | |
| | ||||||
* | Rewrite stage variables. | David Thompson | 2013-10-30 | 1 | -28/+34 | |
| | | | | | Stage variables now act a lot like parameters and their initial values are lazily evaluated. | |||||
* | Use stage agenda. | David Thompson | 2013-10-23 | 1 | -5/+11 | |
| | ||||||
* | Remove debugging statement. | David Thompson | 2013-10-23 | 1 | -1/+0 | |
| | ||||||
* | Use the new scene/stage API. | David Thompson | 2013-10-23 | 3 | -224/+45 | |
| | ||||||
* | Add temporary dummy procedure. | David Thompson | 2013-10-23 | 1 | -0/+4 | |
| | ||||||
* | Add stage module. | David Thompson | 2013-10-23 | 1 | -0/+160 | |
| | ||||||
* | Add scene module. | David Thompson | 2013-10-23 | 1 | -0/+52 | |
| | ||||||
* | Simplify scene stack. | David Thompson | 2013-10-23 | 1 | -39/+32 | |
| | ||||||
* | Add error handling in game loop. | David Thompson | 2013-10-23 | 1 | -5/+13 | |
| | | | | | | | Print backtrace and pause game when exceptions occur. This way the developer can fix the error and resume the game rather than the game crashing, forcing the developer to restart the game. The REPL remains active when the game is paused, of course. | |||||
* | Move game-fps variable. | David Thompson | 2013-10-23 | 1 | -6/+2 | |
| | ||||||
* | Re-export new procedures from game-loop module. | David Thompson | 2013-10-23 | 1 | -0/+5 | |
| | ||||||
* | Implement game loop pausing. | David Thompson | 2013-10-23 | 1 | -6/+15 | |
| | ||||||
* | Add a paused flag in addition to the running flag. | David Thompson | 2013-10-23 | 2 | -9/+30 | |
| |