Extend death animation
This commit is contained in:
@@ -751,7 +751,7 @@ static f32 entityGetAnimationLength(EntityType entity, AnimType type) {
|
||||
case ANIM_IDLE: return 0.4f;
|
||||
case ANIM_WALK: return 0.72f;
|
||||
case ANIM_HURT: return 0.42000000000000004f;
|
||||
case ANIM_DIE: return 0.9000000000000001f;
|
||||
case ANIM_DIE: return 1.2400000000000002f;
|
||||
default: break;
|
||||
}
|
||||
case ENTITY_SOLDIER:
|
||||
@@ -863,7 +863,7 @@ static AnimationFrame entityGetAnimationFrame(EntityType entity, AnimType type,
|
||||
case ANIM_IDLE: return ((AnimationFrame []) {{27, 0.2000f}, {28, 0.2000f}}) [frameIdx];
|
||||
case ANIM_WALK: return ((AnimationFrame []) {{29, 0.1800f}, {30, 0.1800f}, {31, 0.1800f}, {30, 0.1800f}}) [frameIdx];
|
||||
case ANIM_HURT: return ((AnimationFrame []) {{32, 0.1400f}, {33, 0.1400f}, {34, 0.1400f}}) [frameIdx];
|
||||
case ANIM_DIE: return ((AnimationFrame []) {{32, 0.1400f}, {33, 0.1400f}, {34, 0.1400f}, {35, 0.1400f}, {36, 0.3400f}}) [frameIdx];
|
||||
case ANIM_DIE: return ((AnimationFrame []) {{32, 0.1400f}, {33, 0.1400f}, {34, 0.1400f}, {35, 0.1400f}, {36, 0.6800f}}) [frameIdx];
|
||||
default: break;
|
||||
}
|
||||
case ENTITY_SOLDIER:
|
||||
|
||||
Reference in New Issue
Block a user