fuchs ist fest im screen relative

This commit is contained in:
Jan Breitkreuz 2024-08-29 08:36:56 +02:00
parent 1447e2c539
commit c2ef7f59f1
2 changed files with 8 additions and 3 deletions

View File

@ -20,12 +20,11 @@ body{
position: fixed;
}
#fuchs {
position: fixed;
bottom: 1px;
position: relative;
bottom: -800px;
}
#fuchs img{
width: 200px;
position: relative;
left: 50px;
z-index: 60;
}

View File

@ -26,6 +26,12 @@ function fillArrays()
// startGame
let start = setInterval(gameLoop, 50);
let info = setInterval(infos, 1000);
function infos()
{
console.log(currentPosition);
}
function gameLoop()
{