NPCAnim.zh
Overview
Creator:
Moosh
Updated: 28 Aug 2024
Tags:
2.55,
Library
Downloads: 84
|
Download Script (15.87 KB) |
Information
This is a header for handling enemy animations and movement for NPC scripts.
Description Setup Reviews Comments
This is a header for handling enemy animations and movement for NPC scripts.
Update 9/10/22 - 1.1.0: Added two new functions.
Update 11/29/23 - 1.3.0: Another expansion to hopefully make it easier to make multi directional enemies with complex animations.
Update 2/9/24 - 1.3.2: Small bugfix to large sprite animations wrapping around the tile page.
Update 7/16/24 - 1.3.3: Small improvement to handling for animation multipliers.
Update 8/15/24 - 1.3.4: Fixed compatibility with ZC 3.0.
Update 8/28/24 - 1.3.5: Added SetFlag() to the AnimHandler for telling very basic enemies how to respond to stunning, knockback, and falling in pits.
Update 9/10/22 - 1.1.0: Added two new functions.
- PlayDeathAnim() makes the enemy do a boss explode death animation.
- SetAnimMovementHitbox() lets the enemy use a different hitbox for movement and damage collisions.
- New flag: ADF_VERTICAL, which will allow 4-way and 8-way animations to have their directions arranged vertically.
- New function: ExtendAnim() which can be called after AddAnim() to give individual animations different sizes and hitbox offsets.
- DEBUG_COLLISION_HITBOX config, allowing visual debugging collision hitboxes with the environment.
- A few small quality of life functions.
Update 11/29/23 - 1.3.0: Another expansion to hopefully make it easier to make multi directional enemies with complex animations.
- New function: AddAnimGroup() which is called to assign a group of directional animations to one slot as a single group.
- New function: SetMovementTracking() which adds an extra functionality to the AnimHandler which tracks changes in Link's position for writing predictive attacks.
Update 2/9/24 - 1.3.2: Small bugfix to large sprite animations wrapping around the tile page.
Update 7/16/24 - 1.3.3: Small improvement to handling for animation multipliers.
Update 8/15/24 - 1.3.4: Fixed compatibility with ZC 3.0.
Update 8/28/24 - 1.3.5: Added SetFlag() to the AnimHandler for telling very basic enemies how to respond to stunning, knockback, and falling in pits.