Compare commits
No commits in common. "ae7b1e61bce536906c4b156a4beba28442571361" and "916bb96e4f663fc1565f197d24b23cd5c1aece2f" have entirely different histories.
ae7b1e61bc
...
916bb96e4f
@ -13,12 +13,27 @@ body{
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
#tom img{
|
#tom{
|
||||||
width: 300px;
|
width: 100px;
|
||||||
|
height: 200px;
|
||||||
|
background-color: blueviolet;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 40px;
|
||||||
|
left: 200px;
|
||||||
}
|
}
|
||||||
#fuchs img{
|
#fuchs{
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
height: 90px;
|
||||||
|
background-color: aqua;
|
||||||
|
position: absolute;
|
||||||
|
top: 80px;
|
||||||
|
left: 20px;
|
||||||
}
|
}
|
||||||
#enemy img{
|
#enemy{
|
||||||
width: 220px;
|
width: 220px;
|
||||||
|
height: 200px;
|
||||||
|
background-color: red;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 30px;
|
||||||
|
right: 40px;
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
function fillArray(name, number, playerAnim)
|
function fillArray(name, number, playerAnim)
|
||||||
{
|
{
|
||||||
for (let i = 1 ; i <= number ; i++) {
|
for (let i = 1; i++; i <= number) {
|
||||||
playerAnim[i] = name + i + ".png";
|
playerAnim[i] = name + i + ".png";
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user