fuchs ist fest im screen relative
This commit is contained in:
parent
1447e2c539
commit
c2ef7f59f1
@ -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;
|
||||
}
|
||||
|
@ -26,6 +26,12 @@ function fillArrays()
|
||||
|
||||
// startGame
|
||||
let start = setInterval(gameLoop, 50);
|
||||
let info = setInterval(infos, 1000);
|
||||
|
||||
function infos()
|
||||
{
|
||||
console.log(currentPosition);
|
||||
}
|
||||
|
||||
function gameLoop()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user