Compare commits

..

No commits in common. "ae7b1e61bce536906c4b156a4beba28442571361" and "916bb96e4f663fc1565f197d24b23cd5c1aece2f" have entirely different histories.

2 changed files with 20 additions and 5 deletions

View File

@ -13,12 +13,27 @@ body{
height: 100%;
margin: 0px;
}
#tom img{
width: 300px;
#tom{
width: 100px;
height: 200px;
background-color: blueviolet;
position: absolute;
bottom: 40px;
left: 200px;
}
#fuchs img{
#fuchs{
width: 200px;
height: 90px;
background-color: aqua;
position: absolute;
top: 80px;
left: 20px;
}
#enemy img{
#enemy{
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 <= number ; i++) {
for (let i = 1; i++; i <= number) {
playerAnim[i] = name + i + ".png";
}
}