Compare commits
2 Commits
0e399e26d9
...
365c3ca139
Author | SHA1 | Date | |
---|---|---|---|
365c3ca139 | |||
b26f9cead5 |
@ -3,7 +3,7 @@ let tomAnim = [];
|
||||
let enemyAnim = [];
|
||||
let playerAnimState = 0;
|
||||
let runDirection = 0;
|
||||
let runSpeed = 25;
|
||||
let runSpeed = 12;
|
||||
let animationSpeed = 50;
|
||||
let currentPosition = 0;
|
||||
let player = document.querySelector("#fuchs img");
|
||||
@ -24,7 +24,7 @@ function fillArrays()
|
||||
}
|
||||
|
||||
// startGame
|
||||
let start = setInterval(gameLoop, 100);
|
||||
let start = setInterval(gameLoop, 50);
|
||||
|
||||
function gameLoop()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user