From 7f8d1aa1472240644b34053198af10211960df2e Mon Sep 17 00:00:00 2001 From: klikev Date: Wed, 4 Sep 2024 22:10:36 +0200 Subject: [PATCH] dada --- js/allg.js | 2 +- js/rechnungen.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/allg.js b/js/allg.js index 4b2fff8..7446b83 100644 --- a/js/allg.js +++ b/js/allg.js @@ -5,7 +5,7 @@ let enemyAnim = []; //player let playerAnimState = 0; let runDirection = 0; -let runSpeed = 20; +let runSpeed = 18; let animationSpeed = 50; let currentPosition = 0; let player = document.querySelector("#fuchs"); diff --git a/js/rechnungen.js b/js/rechnungen.js index 4bf6b47..2ff2b03 100644 --- a/js/rechnungen.js +++ b/js/rechnungen.js @@ -6,7 +6,7 @@ let rechnungenTop = rechnungenTopStart; rechnungen.style.top = rechnungenTop + "px"; //speed der Rechnungen, wie schnell sie fallen -const speedRechnungen = 0.5; +const speedRechnungen = 0.35; //maximale pixel Tiefe bis sie respawnen const maxTiefeRechunngen = 750;