Create Dual-Mode Enemy
CommunityBuild smart GameMaker enemies, effortlessly.
Authorprogressions
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates the tedious manual coding of complex enemy AI in GameMaker, especially for foes requiring dynamic attack switching, tactical behavior, and seamless integration with existing game systems like traits and formations. It automates the setup and logic, significantly reducing development time and potential bugs.
Core Features & Use Cases
- Dynamic Attack Switching: Create enemies that intelligently switch between melee and ranged attacks based on distance, line of sight, cooldowns, and their assigned formation roles.
- Configurable Tactical Behavior: Easily define preferred attack modes, range thresholds, retreat behaviors, and integrate custom sounds and traits.
- Use Case: Quickly design a "Forest Archer" enemy that prioritizes ranged attacks but switches to melee if the player gets too close, retreating to maintain optimal distance, all while inheriting existing game traits like "arboreal" for environmental advantages.
Quick Start
Create a GameMaker enemy that prefers ranged attacks but switches to melee if the player is within 48 pixels, and retreats if too close. Ensure it has 47-frame sprites and uses "snd_arrow_fire" for ranged and "snd_sword_hit" for melee.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Create Dual-Mode Enemy Download link: https://github.com/progressions/Shadow-Work/archive/main.zip#create-dual-mode-enemy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.