Compare commits
No commits in common. "365c3ca139907c8ae8c7fd8d8b158bdc7e44a159" and "0e399e26d9918d2f4d6c18bd81d0d9b12d7d43e7" have entirely different histories.
365c3ca139
...
0e399e26d9
@ -3,7 +3,7 @@ let tomAnim = [];
|
|||||||
let enemyAnim = [];
|
let enemyAnim = [];
|
||||||
let playerAnimState = 0;
|
let playerAnimState = 0;
|
||||||
let runDirection = 0;
|
let runDirection = 0;
|
||||||
let runSpeed = 12;
|
let runSpeed = 25;
|
||||||
let animationSpeed = 50;
|
let animationSpeed = 50;
|
||||||
let currentPosition = 0;
|
let currentPosition = 0;
|
||||||
let player = document.querySelector("#fuchs img");
|
let player = document.querySelector("#fuchs img");
|
||||||
@ -24,7 +24,7 @@ function fillArrays()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// startGame
|
// startGame
|
||||||
let start = setInterval(gameLoop, 50);
|
let start = setInterval(gameLoop, 100);
|
||||||
|
|
||||||
function gameLoop()
|
function gameLoop()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user