ACTION GAME MAKER includes a unique feature called Tile Effects.
Tile Effects apply special behaviors to objects while they are standing on or overlapping specific tiles.
Tile-Side Configuration
- Open the TileSet and select the tile you want to assign effects to.
- Expand the TileEffect property and configure the desired effect.
Explanation of Each Property:
- Collision Pattern:
Contact
: Effect applies when touching the tile.Overlap
: Effect applies when overlapping the tile area.
- Object Group:
Only objects belonging to this specified group will be affected. - Area Value:
While the effect is active, the object’s variablestayed_area_ID
will be automatically set to this value. - Move Speed Value / Jump Value:
Overrides the object’s movement speed or jump power. - Offset X/Y Value:
Shifts the object’s X or Y position.
(e.g., for effects like sinking into a swamp.) - Slide Value:
Makes the object slide.
(e.g., for ice or oil surfaces.) - Extinction:
Instantly kills the object upon contact. - HP Value:
Continuously decreases HP at set intervals while on the tile.
(e.g., for poison swamps.) - Gravity Value:
Overrides the gravity applied to the object while affected.
Object-Side Configuration
To enable an object to be affected by Tile Effects:
- Open the Inspector for the GameObject.
- Turn on the Enable Tile Effects option.