New rat enemy.

Zed A. Shaw 3 weeks ago
parent 02a385e707
commit e7e0df6b70
  1. 1
      assets/config.json
  2. 14
      assets/enemies.json
  3. BIN
      assets/rat_with_sword-256.png

@ -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"}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Loading…
Cancel
Save