Basic simple animations where the enemies just move forward.

This commit is contained in:
Zed A. Shaw 2025-02-22 01:36:31 -05:00
parent 947ccbe180
commit 80a0f2ba75
9 changed files with 92 additions and 80 deletions

View file

@ -10,7 +10,7 @@
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "LightSource", "strength": 60, "radius": 1.8},
{"_type": "EnemyConfig", "hearing_distance": 5},
{"_type": "Sprite", "name": "peasant_girl"}
{"_type": "Animation", "scale": 0.2, "simple": true, "frames": 10}
]
},
"KNIGHT": {
@ -22,6 +22,7 @@
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 1, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "EnemyConfig", "hearing_distance": 5},
{"_type": "Animation", "scale": 0.2, "simple": true, "frames": 10},
{"_type": "Sprite", "name": "armored_knight"}
]
},
@ -31,11 +32,12 @@
"foreground": [156, 172, 197],
"background": [30, 20, 75]
},
{"_type": "LightSource", "strength": 80, "radius": 2.8},
{"_type": "LightSource", "strength": 60, "radius": 1.8},
{"_type": "Combat", "hp": 40, "max_hp": 40, "damage": 10, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": true},
{"_type": "EnemyConfig", "hearing_distance": 5},
{"_type": "Sprite", "name": "axe_ranger"}
{"_type": "Sprite", "name": "axe_ranger"},
{"_type": "Animation", "scale": 0.2, "simple": true, "frames": 10}
]
},
"EVIL_EYE": {
@ -47,7 +49,8 @@
{"_type": "Combat", "hp": 50, "max_hp": 50, "damage": 50, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "EnemyConfig", "hearing_distance": 5},
{"_type": "Sprite", "name": "evil_eye"}
{"_type": "Sprite", "name": "evil_eye"},
{"_type": "Animation", "scale": 0.2, "simple": true, "frames": 10}
]
},
"RAT_GIANT": {
@ -59,6 +62,7 @@
{"_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": "Animation", "scale": 0.2, "simple": true, "frames": 10},
{"_type": "Sprite", "name": "rat_with_sword"}
]
},
@ -71,6 +75,7 @@
{"_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": "Animation", "scale": 0.2, "simple": true, "frames": 10},
{"_type": "Sprite", "name": "hairy_spider"}
]
}