Very basic attack system.
This commit is contained in:
parent
6bca6d021e
commit
abd843d5ec
5 changed files with 40 additions and 11 deletions
|
@ -17,7 +17,7 @@
|
|||
"foreground": [131, 213, 238],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 200, "damage": 15, "dead": false},
|
||||
{"_type": "Combat", "hp": 20, "damage": 1, "dead": false},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "LightSource", "strength": 70, "radius": 2},
|
||||
{"_type": "EnemyConfig", "hearing_distance": 5},
|
||||
|
@ -30,7 +30,7 @@
|
|||
"foreground": [205, 164, 246],
|
||||
"background": [30, 20, 75]
|
||||
},
|
||||
{"_type": "Combat", "hp": 100, "damage": 50, "dead": false},
|
||||
{"_type": "Combat", "hp": 50, "damage": 10, "dead": false},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "hearing_distance": 10},
|
||||
{"_type": "Sprite", "name": "evil_eye"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue