From ab9c5014cebdde8a4a933342c7970c7d12ab1da4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 20 Sep 2020 17:03:41 +0200 Subject: Revert frame rate independence I'll come back to this later. It's hard. --- heyllama.scm | 6 +++--- 1 file 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 -- cgit v1.2.3