Compare commits

..

2 Commits

Author SHA1 Message Date
pbg2h23akl
ae7b1e61bc fixed 2024-06-27 09:39:52 +02:00
pbg2h23akl
52bce1e4a6 ad 2024-06-27 09:36:42 +02:00
2 changed files with 5 additions and 20 deletions

View File

@ -13,27 +13,12 @@ body{
height: 100%;
margin: 0px;
}
#tom{
width: 100px;
height: 200px;
background-color: blueviolet;
position: absolute;
bottom: 40px;
left: 200px;
#tom img{
width: 300px;
}
#fuchs{
#fuchs img{
width: 200px;
height: 90px;
background-color: aqua;
position: absolute;
top: 80px;
left: 20px;
}
#enemy{
#enemy img{
width: 220px;
height: 200px;
background-color: red;
position: absolute;
bottom: 30px;
right: 40px;
}

View File

@ -1,7 +1,7 @@
function fillArray(name, number, playerAnim)
{
for (let i = 1; i++; i <= number) {
for (let i = 1 ; i <= number ; i++) {
playerAnim[i] = name + i + ".png";
}
}