Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -69/+75 |
| | | | | | Some convenient default events are provided to make quitting the game easy for new developers. | ||||
* | Remove stage local variables. | David Thompson | 2013-11-03 | 1 | -1/+1 |
| | | | | | Use an the scene initialization thunk to return the needed game state instead. | ||||
* | Remove debugging statement. | David Thompson | 2013-10-23 | 1 | -1/+0 |
| | |||||
* | Use the new scene/stage API. | David Thompson | 2013-10-23 | 1 | -61/+26 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -7/+28 |
| | |||||
* | Clean up docstrings for game-loop module. | David Thompson | 2013-09-15 | 1 | -10/+12 |
| | |||||
* | Rename scene draw and update procedures. | David Thompson | 2013-09-15 | 1 | -2/+2 |
| | | | | They were inconsistent with the rest of the API. | ||||
* | Switch back to a simpler method for FPS calculation. | David Thompson | 2013-09-14 | 1 | -39/+21 |
| | |||||
* | Start debugging the "spiral of death" issue. | David Thompson | 2013-09-13 | 1 | -25/+33 |
| | |||||
* | Create a scene stack interface. | David Thompson | 2013-09-06 | 1 | -21/+55 |
| | |||||
* | Add the beginnings of game scene management. | David Thompson | 2013-09-06 | 1 | -2/+13 |
| | |||||
* | Remove all hooks and instead trigger events on the current scene. | David Thompson | 2013-09-06 | 1 | -68/+60 |
| | |||||
* | Prevent circular dependency by moving core game data structures to another ↵ | David Thompson | 2013-09-06 | 1 | -0/+1 |
| | | | | module. | ||||
* | Add a *running* flag to the game loop. | David Thompson | 2013-09-06 | 1 | -13/+22 |
| | |||||
* | Add some documentation. | David Thompson | 2013-09-02 | 1 | -0/+4 |
| | |||||
* | Pass along the *repl-stack* fluid so that nested REPLs work right. | David Thompson | 2013-09-02 | 1 | -2/+5 |
| | |||||
* | Move both mvars into the repl module. | David Thompson | 2013-09-02 | 1 | -28/+4 |
| | |||||
* | Remove frame-sleep and add run-repl. | David Thompson | 2013-09-02 | 1 | -8/+7 |
| | |||||
* | Execute REPL thunks in the context of the main game thread. | David Thompson | 2013-09-02 | 1 | -19/+34 |
| | |||||
* | Only unlock the game loop mutex when the REPL server is waiting. | David Thompson | 2013-08-19 | 1 | -4/+16 |
| | |||||
* | Add a global mutex that allows the REPL server to be used more safely while ↵ | David Thompson | 2013-07-31 | 1 | -0/+19 |
| | | | | the game loop is running. | ||||
* | Small re-organization. | David Thompson | 2013-07-31 | 1 | -1/+10 |
| | |||||
* | Move game-loop procedure out of run-game-loop. | David Thompson | 2013-07-31 | 1 | -16/+16 |
| | |||||
* | Spawn REPL server when game loop starts. | David Thompson | 2013-07-31 | 1 | -0/+3 |
| | |||||
* | Floor tick-interval since we're dealing with milliseconds and not fractions ↵ | David Thompson | 2013-07-31 | 1 | -1/+1 |
| | | | | of milliseconds. | ||||
* | Use weighted average FPS measurement. | David Thompson | 2013-07-31 | 1 | -22/+38 |
| | |||||
* | Use the current-time argument in time-left. | David Thompson | 2013-07-31 | 1 | -1/+1 |
| | |||||
* | Improve game loop. | David Thompson | 2013-07-31 | 1 | -18/+16 |
| | | | | Instead of a busy loop that eats all of the CPU, sleep in-between frames when possible. | ||||
* | Use hooks instead of primitive callback procedures. | David Thompson | 2013-07-28 | 1 | -84/+49 |
| | |||||
* | Rewrite game loop to use pure functions. | David Thompson | 2013-07-28 | 1 | -34/+37 |
| | |||||
* | Add additional SDL event handlers. | David Thompson | 2013-07-21 | 1 | -1/+26 |
| | |||||
* | Remove event-keycode and event-keymods. | David Thompson | 2013-07-21 | 1 | -12/+4 |
| | |||||
* | Update to guile-sdl 0.5.0 API. | David Thompson | 2013-07-21 | 1 | -7/+7 |
| | |||||
* | Update the global agenda in the game loop. | David Thompson | 2013-07-15 | 1 | -0/+2 |
| | |||||
* | Clean up run-game-loop procedure. | David Thompson | 2013-06-26 | 1 | -3/+3 |
| | |||||
* | Use delayed evaluation of SDL:get-ticks to avoid initial frame stutter. | David Thompson | 2013-06-25 | 1 | -6/+6 |
| | |||||
* | Add mouse event callbacks. | David Thompson | 2013-06-25 | 1 | -1/+33 |
| | |||||
* | Pass key modifiers and unicode value as arguments to key up/down events. | David Thompson | 2013-06-25 | 1 | -4/+13 |
| | |||||
* | Apply SDL:enum->number on keysyms. | David Thompson | 2013-06-25 | 1 | -2/+5 |
| | |||||
* | Improve update loop logic. | David Thompson | 2013-06-23 | 1 | -8/+21 |
| | |||||
* | Can't use SDL:get-ticks before SDL is initialized. | David Thompson | 2013-06-16 | 1 | -6/+6 |
| | |||||
* | Add game-loop module. | David Thompson | 2013-06-13 | 1 | -0/+124 |