Super awesome twitchy animation for axe guy.

This commit is contained in:
Zed A. Shaw 2025-02-22 11:03:38 -05:00
parent 80a0f2ba75
commit 83df9ff03b
10 changed files with 42 additions and 68 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": "Animation", "scale": 0.2, "simple": true, "frames": 10}
{"_type": "Animation", "scale": 0.2, "simple": true, "frames": 10, "speed": 1.0}
]
},
"KNIGHT": {
@ -22,7 +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": "Animation", "scale": 0.2, "simple": true, "frames": 10, "speed": 0.3},
{"_type": "Sprite", "name": "armored_knight"}
]
},
@ -32,12 +32,11 @@
"foreground": [156, 172, 197],
"background": [30, 20, 75]
},
{"_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": "Animation", "scale": 0.2, "simple": true, "frames": 10}
{"_type": "Animation", "scale": 0.2, "simple": false, "frames": 10, "speed": 0.6}
]
},
"EVIL_EYE": {
@ -50,7 +49,7 @@
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "EnemyConfig", "hearing_distance": 5},
{"_type": "Sprite", "name": "evil_eye"},
{"_type": "Animation", "scale": 0.2, "simple": true, "frames": 10}
{"_type": "Animation", "scale": 0.2, "simple": false, "frames": 10, "speed": 0.3}
]
},
"RAT_GIANT": {
@ -62,7 +61,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": "Animation", "scale": 0.2, "simple": true, "frames": 10, "speed": 1.0},
{"_type": "Sprite", "name": "rat_with_sword"}
]
},
@ -75,7 +74,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": "Animation", "scale": 0.2, "simple": true, "frames": 10, "speed": 1.0},
{"_type": "Sprite", "name": "hairy_spider"}
]
}