diff --git a/css/layout.css b/css/layout.css index f49bf45..382e411 100644 --- a/css/layout.css +++ b/css/layout.css @@ -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; } diff --git a/js/allg.js b/js/allg.js index d0c1dd7..23a9c55 100644 --- a/js/allg.js +++ b/js/allg.js @@ -26,6 +26,12 @@ function fillArrays() // startGame let start = setInterval(gameLoop, 50); +let info = setInterval(infos, 1000); + +function infos() +{ + console.log(currentPosition); +} function gameLoop() {