fuchs ist fest im screen relative
This commit is contained in:
parent
1447e2c539
commit
c2ef7f59f1
@ -20,12 +20,11 @@ body{
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
#fuchs {
|
#fuchs {
|
||||||
position: fixed;
|
position: relative;
|
||||||
bottom: 1px;
|
bottom: -800px;
|
||||||
}
|
}
|
||||||
#fuchs img{
|
#fuchs img{
|
||||||
width: 200px;
|
width: 200px;
|
||||||
position: relative;
|
|
||||||
left: 50px;
|
left: 50px;
|
||||||
z-index: 60;
|
z-index: 60;
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,12 @@ function fillArrays()
|
|||||||
|
|
||||||
// startGame
|
// startGame
|
||||||
let start = setInterval(gameLoop, 50);
|
let start = setInterval(gameLoop, 50);
|
||||||
|
let info = setInterval(infos, 1000);
|
||||||
|
|
||||||
|
function infos()
|
||||||
|
{
|
||||||
|
console.log(currentPosition);
|
||||||
|
}
|
||||||
|
|
||||||
function gameLoop()
|
function gameLoop()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user