summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--heyllama.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/heyllama.scm b/heyllama.scm
index 6a71a0d..3150b6b 100644
--- a/heyllama.scm
+++ b/heyllama.scm
@@ -142,7 +142,7 @@
(when (key-pressed? 'right)
(set-face-direction! llama 1)
- (set! x-vel 1.0)
+ (set! x-vel 4.0)
(set-animation-step! llama
(floor-remainder
(+ (get-animation-step llama) -1)
@@ -150,14 +150,14 @@
(when (key-pressed? 'left)
(set-face-direction! llama -1)
- (set! x-vel -1.0)
+ (set! x-vel -4.0)
(set-animation-step! llama
(floor-remainder
(- (get-animation-step llama) 1)
16)))
(vec2-add! (get-pos llama)
- #v((* x-vel tstep 0.2) 0.0))
+ #v(x-vel 0.0))
(grid-move grid
'llama