summaryrefslogtreecommitdiff
path: root/2d
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix typo.David Thompson2013-09-091-1/+1
|
* Add more vector-friendly procedures to the rect module.David Thompson2013-09-081-5/+49
|
* Export current-fps from game module.David Thompson2013-09-081-1/+2
|
* Create a scene stack interface.David Thompson2013-09-062-22/+59
|
* Add the beginnings of game scene management.David Thompson2013-09-061-2/+13
|
* Create copies of the default events alist for safety.David Thompson2013-09-061-2/+5
|
* Remove all hooks and instead trigger events on the current scene.David Thompson2013-09-061-68/+60
|
* Prevent circular dependency by moving core game data structures to another ↵David Thompson2013-09-063-27/+145
| | | | module.
* Create observer module.David Thompson2013-09-061-0/+82
|
* Add a *running* flag to the game loop.David Thompson2013-09-062-23/+37
|
* Change window module API.David Thompson2013-09-061-19/+10
| | | | | Users will no longer have to interface directly with this module. They will simply specify window parameters when creating game objects.
* Create (2d game) module.David Thompson2013-09-061-0/+66
|
* Revert "Add missing wrappers for glGenTextures and glDeleteTextures."David Thompson2013-09-051-23/+1
| | | | This reverts commit f6eed03342b55a2a843c177822bef13609d81703.
* Add missing wrappers for glGenTextures and glDeleteTextures.David Thompson2013-09-051-1/+23
| | | | This should resolve issue #10.
* Update mvars module.David Thompson2013-09-042-89/+88
| | | | | | | | There were some issues with the original version that Mark Weaver has fixed. This also resolves an issue where mvars was unusable on Guile versions less than 2.0.9 because of a docstring on case-lambda.
* Add some documentation.David Thompson2013-09-022-2/+8
|
* Pass along the *repl-stack* fluid so that nested REPLs work right.David Thompson2013-09-022-3/+7
|
* Move both mvars into the repl module.David Thompson2013-09-022-32/+9
|
* Remove frame-sleep and add run-repl.David Thompson2013-09-021-8/+7
|
* Add license info mvars module to give Mark Weaver proper credit.David Thompson2013-09-021-0/+21
|
* Execute REPL thunks in the context of the main game thread.David Thompson2013-09-022-24/+57
|
* Add mvars module.David Thompson2013-09-021-0/+147
|
* Clean up lines longer than 80 characters.David Thompson2013-08-291-3/+6
|
* Fix issue #9.David Thompson2013-08-291-3/+1
| | | | | draw-sprite-vertices was drawing the entire vertex array rather than only drawing the amount specified in the size argument.
* Rename apply-color to use-color.David Thompson2013-08-272-3/+5
|
* Add procedures to perform a gl-translate or gl-scale given a vector2 object.David Thompson2013-08-272-9/+20
|
* Replace old vector module with new vector2 module.David Thompson2013-08-273-97/+9
|
* Create new 2D vector module.David Thompson2013-08-271-0/+107
|
* Create tileset module.David Thompson2013-08-262-18/+88
|
* Make the origin the top-left corner of the window again.David Thompson2013-08-264-5/+32
|
* Merge branch 'master' of github.com:davexunit/guile-2dDavid Thompson2013-08-253-24/+47
|\
| * Tidy up freeimage module.David Thompson2013-08-241-21/+36
| |
| * Throw error if image file does not exist.David Thompson2013-08-241-1/+7
| |
| * Add (ice-9 format) module to imports for freeimage and ftglPieter Slabbert2013-08-232-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freeimage.scm and ftgl.scm were throwing warnings when running make about a unsupported format option GEN 2d/wrappers/freeimage.go 2d/wrappers/freeimage.scm:120:6: warning: "<freeimage-bitmap ~x width: ~d height: ~d bpp: ~d>": unsupported format option ~x, use (ice-9 format) instead wrote `2d/wrappers/freeimage.go' GEN 2d/wrappers/ftgl.go 2d/wrappers/ftgl.scm:62:6: warning: "<ftgl-font ~x>": unsupported format option ~x, use (ice-9 format) instead 2d/wrappers/ftgl.scm:100:6: warning: "<ftgl-simple-layout ~x>": unsupported format option ~x, use (ice-9 format) instead wrote `2d/wrappers/ftgl.go' GEN 2d/wrappers/gl.go wrote `2d/wrappers/gl.go' adding the modules to the module definition of each file fixes it
* | Fix typo.David Thompson2013-08-251-1/+1
|/