Example: Enemy Shroom
A basic enemy file.
{
"fighterName": "Shroom",
"description": "A mushroom who really likes metal music.",
"enemyType": "regular",
"previewImageName": "shroom_idle_f1.png",
"minHp": 3,
"chanceForMoney": 25,
"chanceForMoneyRange": 100,
"moneyWorth": 1,
"biomes": [
"mushroom_forest",
"desert"
],
"idle": [
{
"timePerFrame": 0.3,
"frameNames": [
"shroom_idle_f1.png",
"shroom_idle_f2.png"
]
}
],
"attacksOneSide": [
{
"timePerFrame": 0.5,
"frameNames": [
"shroom_atk_f1.png",
"shroom_atk_f2.png"
]
}
],
"dying": [
{
"timePerFrame": 0.20,
"frameNames": [
"shroom_dying_f1.png",
"shroom_dying_f2.png",
"shroom_dying_f3.png"
]
}
],
"dead": [
{
"timePerFrame": 0.1,
"frameNames": [
"shroom_d_f1.png"
]
}
]
}
Last modified: 11 August 2024