summaryrefslogtreecommitdiff
path: root/sly
Commit message (Collapse)AuthorAgeFilesLines
* Add optional start and step parameters to signal-count.David Thompson2014-07-221-4/+5
| | | | * sly/signal.scm (signal-count): Add start and step parameters.
* Fix typos in signal-constant and signal-tap docstrings.David Thompson2014-07-221-3/+3
| | | | * sly/signal.scm (signal-constant, signal-tap): Fix docstrings.
* Add signal-switch procedure.David Thompson2014-07-221-0/+13
| | | | * sly/signal.scm (signal-switch): New procedure.
* Integrate REPL module with game loop error hook.David Thompson2014-07-051-3/+29
| | | | | * sly/repl.scm (start-sly-repl): Add error handling. (resume-game-loop): New procedure.
* Add error handling hook to game loop.David Thompson2014-07-051-7/+47
| | | | | | * sly/game.scm (after-game-loop-error-hook): New variable (display-game-loop-error): New procedure. (start-game-loop): Add error handling.
* Ensure that agenda scheduling procedures return no value.David Thompson2014-07-051-1/+2
| | | | * sly/agenda.scm (%schedule): Return unspecified.
* Reduce allocation in transform*.David Thompson2014-07-051-11/+20
| | | | | * sly/transform.scm (transform*): Use a single array to accumulate result.
* Remove global variables for controlling tick rate.David Thompson2014-07-031-57/+62
| | | | | | | | | * sly/game.scm (tick-interval, max-ticks-per-frame): Remove them. (draw, update, alpha, frame-sleep): Move within start-game-loop closure. (interval): New procedure. (start-game-loop): Add tick-rate, frame-rate, and max-ticks-per-frame keyword arguments.
* Remove file that should never have been committed.David Thompson2014-07-021-54/+0
| | | | * sly/lru-cache.scm: Delete it.
* Allow some label properties to be signals.David Thompson2014-07-021-3/+7
| | | | | | * sly/font.scm (%label-text, %label-position, %label-color): New procedures. (label-text, label-position, label-color): Use signal-ref-maybe.
* Allow some sprite properties to be signals.David Thompson2014-07-021-4/+9
| | | | | | | * sly/sprite.scm (%sprite-position, %sprite-scale, %sprite-rotation, %sprite-color): New procedures. (sprite-position, sprite-scale, sprite-rotation, sprite-color): Use signal-ref-maybe.
* Add transition module.David Thompson2014-06-291-0/+164
| | | | | * sly/transition.scm: New file. * Makefile.am (SOURCES): Add it.
* Add signal-drop-repeats procedure.David Thompson2014-06-291-0/+15
| | | | * sly/signal.scm (signal-drop-repeats): New procedure.
* Add color-scale procedure.David Thompson2014-06-291-0/+8
| | | | * sly/color.scm (color-scale): New procedure.
* Add pi/2 variable.David Thompson2014-06-291-1/+2
| | | | * sly/math.scm (pi/2): New variable.
* Remove config.scm from version control.David Thompson2014-06-281-28/+0
| | | | | * sly/config.scm: Delete it. * .gitignore: Add sly/config.scm.
* Rename guile-2d to Sly!David Thompson2014-06-2834-0/+4334
Massive find/replace job.