dwlufzgweiuzfvbiwuBIUWVIUWEBVIUBWRIVUWeiuvbirsaubviuearbvifdsbivubsivbdisbvijdfberboudfiubveraiöbviuerbviuer
This commit is contained in:
parent
4cc2b1592d
commit
d97c43c691
@ -1,8 +1,10 @@
|
||||
let playerAnim = [];
|
||||
let tomAnim = [];
|
||||
let enemyAnim = [];
|
||||
|
||||
function fillArrays()
|
||||
{
|
||||
fillArray("fuchs_", 8, playerAnim);
|
||||
fillArray("tom_", 3, tomAnim);
|
||||
fillArray("enemy_",3, enemyAnim);
|
||||
}
|
||||
|
@ -2,6 +2,6 @@
|
||||
function fillArray(name, number)
|
||||
{
|
||||
for (let i = 1; i++; i <= number) {
|
||||
playerAnim[i] = name + i;
|
||||
playerAnim[i] = name + i + ".png";
|
||||
}
|
||||
}
|
BIN
pics/enemy_1.png
Normal file
BIN
pics/enemy_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
BIN
pics/enemy_2.png
Normal file
BIN
pics/enemy_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
BIN
pics/enemy_3.png
Normal file
BIN
pics/enemy_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
Loading…
Reference in New Issue
Block a user