diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-07-03 19:13:00 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-07-03 19:17:46 -0400 |
commit | 3f74af2625458f41658d8548560452c444a15bde (patch) | |
tree | 13f0579f8a25ff54c4ad993c5908d760799ac373 /examples/animation.scm | |
parent | bf94a6467ffac40dae55ebef8372cfac2d6a4bbb (diff) |
Remove global variables for controlling tick rate.
* 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.
Diffstat (limited to 'examples/animation.scm')
0 files changed, 0 insertions, 0 deletions