fuchs ist fest im screen relative
This commit is contained in:
		@@ -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()
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user