New rat enemy.
This commit is contained in:
parent
02a385e707
commit
e7e0df6b70
3 changed files with 14 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
"sprites": {
|
||||
"armored_knight": "assets/armored_knight_1-256.png",
|
||||
"sword": "assets/cinqueda_1-512.png",
|
||||
"rat_with_sword": "assets/rat_with_sword-256.png",
|
||||
"barrel_small": "assets/wood_barrel_small-256.png",
|
||||
"hanging_brazier": "assets/hanging_brazier-256.png",
|
||||
"torch_pillar": "assets/torch_pillar-256.png",
|
||||
|
|
|
@ -32,10 +32,22 @@
|
|||
"foreground": [205, 164, 246],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 50, "max_hp": 20, "damage": 50, "dead": false},
|
||||
{"_type": "Combat", "hp": 50, "max_hp": 50, "damage": 50, "dead": false},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "hearing_distance": 10},
|
||||
{"_type": "Sprite", "name": "evil_eye"}
|
||||
]
|
||||
},
|
||||
"RAT_GIANT": {
|
||||
"components": [
|
||||
{"_type": "Tile", "display": "\u08ea",
|
||||
"foreground": [205, 164, 246],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "hearing_distance": 10},
|
||||
{"_type": "Sprite", "name": "rat_with_sword"}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
BIN
assets/rat_with_sword-256.png
Normal file
BIN
assets/rat_with_sword-256.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Loading…
Add table
Add a link
Reference in a new issue