Example Enemy [2.55]
Overview
Creator:
Moosh
Updated: 09 Feb 2024
Tags:
2.55,
Enemy
Downloads: 56
|
Download Example (1.83 MB) |
Information
This is an enemy script I wrote with the intent of showing off certain features and techniques of ghost.zh for those interested in scripting enemies.
Description Setup Reviews Comments
If you're just looking to set the enemy up it's pretty straightforward. It uses two combos for animations, walking followed by attacking. If you're using the npc script version, it's eight 2x2 tiles instead. Four walking frames, four attacking. Attribute 1 in the enemy editor is the enemy to use for the orbiting hitboxes.
In the script, set the SPR_BULLET constant to a right facing bullet sprite.
This script uses std.zh and ghost.zh / NPCAnim.zh.
In the script, set the SPR_BULLET constant to a right facing bullet sprite.
This script uses std.zh and ghost.zh / NPCAnim.zh.