summaryrefslogtreecommitdiff
path: root/2d
Commit message (Collapse)AuthorAgeFilesLines
...
* Really export scene type tag.David Thompson2013-11-031-1/+2
|
* Add scene name field.David Thompson2013-11-031-3/+6
|
* Remove stage local variables.David Thompson2013-11-033-85/+52
| | | | | Use an the scene initialization thunk to return the needed game state instead.
* Add observer to stage.David Thompson2013-10-301-3/+14
|
* Rewrite stage variables.David Thompson2013-10-301-28/+34
| | | | | Stage variables now act a lot like parameters and their initial values are lazily evaluated.
* Use stage agenda.David Thompson2013-10-231-5/+11
|
* Remove debugging statement.David Thompson2013-10-231-1/+0
|
* Use the new scene/stage API.David Thompson2013-10-233-224/+45
|
* Add temporary dummy procedure.David Thompson2013-10-231-0/+4
|
* Add stage module.David Thompson2013-10-231-0/+160
|
* Add scene module.David Thompson2013-10-231-0/+52
|
* Simplify scene stack.David Thompson2013-10-231-39/+32
|
* Add error handling in game loop.David Thompson2013-10-231-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 Thompson2013-10-231-6/+2
|
* Re-export new procedures from game-loop module.David Thompson2013-10-231-0/+5
|
* Implement game loop pausing.David Thompson2013-10-231-6/+15
|
* Add a paused flag in addition to the running flag.David Thompson2013-10-232-9/+30
|
* Clean up and improve rect API.David Thompson2013-10-201-36/+61
|
* Simplify rect-intersects? procedure.David Thompson2013-10-161-8/+4
|
* Add error handling to ftgl-create-texture-font.David Thompson2013-10-111-2/+6
|
* Move wait procedure into agenda module.David Thompson2013-10-062-10/+10
|
* Clean up docstrings for sprite module.David Thompson2013-09-182-14/+30
|
* Clean up docstrings for texture module.David Thompson2013-09-181-2/+10
|
* Clean up docstrings for game-loop module.David Thompson2013-09-151-10/+12
|
* Clean up docstrings for vector2 module.David Thompson2013-09-151-13/+13
|
* Clean up docstrings for tileset module.David Thompson2013-09-151-7/+9
|
* Clean up docstrings for rect module.David Thompson2013-09-151-6/+6
|
* Clean up docstrings for observer module.David Thompson2013-09-151-4/+4
|
* Clean up docstrings for window module.David Thompson2013-09-151-4/+3
|
* Clean up docstrings for math module.David Thompson2013-09-151-6/+6
|
* Clean up docstrings for helpers module.David Thompson2013-09-151-4/+3
|
* Clean up docstrings in font module.David Thompson2013-09-151-2/+5
|
* Clean up docstrings in coroutine module.David Thompson2013-09-151-2/+2
|
* Clean up docstrings in color module.David Thompson2013-09-151-6/+9
|
* Clean up docstrings for audio module.David Thompson2013-09-151-3/+3
|
* Clean up docstrings for animation module.David Thompson2013-09-151-9/+9
|
* Clean up docstrings for agenda module.David Thompson2013-09-151-31/+30
|
* Clean up docstrings for actions module.David Thompson2013-09-151-11/+15
|
* Rename scene draw and update procedures.David Thompson2013-09-153-10/+10
| | | | They were inconsistent with the rest of the API.
* Animate sprites during game updates instead of on render.David Thompson2013-09-151-2/+26
| | | | | Frame rate is independent of the update rate, so the old way didn't make sense.
* Add agenda-schedule-interval procedure.David Thompson2013-09-151-1/+14
|
* Clean up parameters referring to old type name.David Thompson2013-09-151-28/+27
|
* Add the playing flag back to animator objects.David Thompson2013-09-151-15/+13
|
* Change animation API.David Thompson2013-09-152-80/+89
| | | | | | | | This should have been broken into more commits, but here we are: Rename <animation-state> to <animator>. Better name, less verbose. Make animators mutable because it makes more sense than when animation-states where immutable. Update sprite module to reflect the animation API changes.
* Switch back to a simpler method for FPS calculation.David Thompson2013-09-141-39/+21
|
* Start debugging the "spiral of death" issue.David Thompson2013-09-131-25/+33
|
* Add sample/music volume control.David Thompson2013-09-131-2/+22
|
* Open SDL audio when window is opened.David Thompson2013-09-111-0/+3
|
* Add audio module.David Thompson2013-09-111-0/+80
| | | | | This is just a think layer over some basic SDL mixer functions so that users don't need to deal with SDL directly.
* Fix another typo.David Thompson2013-09-091-1/+17
|