summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/death.scm8
-rw-r--r--scenes/game.scm8
2 files changed, 8 insertions, 8 deletions
diff --git a/scenes/death.scm b/scenes/death.scm
index 5351dba..67e24a7 100644
--- a/scenes/death.scm
+++ b/scenes/death.scm
@@ -152,13 +152,13 @@ quite short."))
(vec2 (+ (/ %width 2) 25)
(- (/ %height 2) 20))
#:dead? #true))
- (update-animated-sprite *player* 0)
+ (update-animated-sprite *player*)
(set! (walk-speed *player*) 0.3)
(set! *reaper* (reaper #:start-position
(vec2 (+ (/ %width 2) 110)
(- (/ %height 2) 20))))
- (update-animated-sprite *reaper* 0)
+ (update-animated-sprite *reaper*)
(set! (walk-speed *reaper*) 0.3)
(with-agenda
@@ -316,8 +316,8 @@ quite short."))
(define (update-scene dt)
(update-agenda dt)
- (update-animated-sprite *player* dt)
- (update-animated-sprite *reaper* dt)
+ (update-animated-sprite *player*)
+ (update-animated-sprite *reaper*)
;; Move the world
(unless pretend-walking?
diff --git a/scenes/game.scm b/scenes/game.scm
index 3fe2a45..442071e 100644
--- a/scenes/game.scm
+++ b/scenes/game.scm
@@ -94,7 +94,7 @@ map's positions layer."
))
(set! *player* (lorenzo #:start-position
(location "player")))
- (update-animated-sprite *player* 0)
+ (update-animated-sprite *player*)
(grid-add grid 'player
(+ (vec2-x (position *player*)) player-grid-x-offset)
(+ (vec2-y (position *player*)) player-grid-y-offset)
@@ -103,7 +103,7 @@ map's positions layer."
(set! *reaper* (reaper #:start-position
(location "reaper")))
- (update-animated-sprite *reaper* 0)
+ (update-animated-sprite *reaper*)
;; XXX: Chickadee parses the object layer incorrectly, so all
;; objects are flipped vertically. We use this to compute the
@@ -248,8 +248,8 @@ map's positions layer."
(define (update-scene dt)
(update-agenda dt)
- (update-animated-sprite *player* dt)
- (update-animated-sprite *reaper* dt))
+ (update-animated-sprite *player*)
+ (update-animated-sprite *reaper*))
(define scene