Placing Enemies
- Left-click a block side to select it
- Press O to open the Enemies Pool
- Select an enemy template from the grid — it is placed on the selected side
- The enemy appears with a direction arrow indicating its initial orientation
Removing Enemies
- Select the side with the enemy
- Press O to open the Enemies Pool
- Select the None option
Enemy Properties
Direction
Set the enemy’s initial facing direction:- North, East, South, West
Enemy Interactions
Press the Enemy Interactions button in the Element Properties menu to configure which hazards this enemy interacts with:- Opens a grid showing all available interaction types
- Toggle each interaction on/off
- Interactions define how the enemy responds to level hazards (lava, spikes, etc.)
- Initial interactions are set automatically when the enemy is placed
Variables (Local Properties)
Enemies have template-defined variables accessible through the Local Properties menu:- Open with the Variables button in Element Properties
- Properties are defined by the enemy’s template (e.g., speed, health, behavior flags)
- Supports Integer, Float, String, Boolean, and Enum types
Script Attachment
Enemies can have Lua scripts attached with tags and local variables for custom behavior.Global Enemy Management
The editor maintains a globalEnemiesManager that tracks all enemies across all sections. When an enemy is placed or removed, the global manager is updated and the score info is recalculated.