Let’s turn the usual tiles into physics-based objects and destroy them!
Blown away with such powerful force that it can break rocks,
or have the surrounding walls destroyed by a burst of angry power.
How about these impressive visual effects!?
We are releasing the “Magic Tile” plugin, a one-shot action plugin focused on atmosphere.
■Contents
The following features are added to the execution action:
≪Magic Tile≫
CA_MagicTileAction.gd (138.3 KB)
※Installation Method
Drop the above *.gd file into the ≪File System≫ opened with AGMaker 1.3.x or later.
After installation, the feature will be added to the execution action.
When uninstalling, it is safer to remove the used features from the action before deleting the file.
We strongly recommend backing up your project before installation.
The sample project is available for free on Itch.io.
CA_MagicTileAction by GotchaGotchaGames
It is executed in the “MagicTile” state of the object “palyer_ninja” within the project.
**
■Explanation of Contents
**
Set up the source of the effect (e.g., the player).
Add visual effects such as an effect range and shockwave, and destroy the tiles on the cube.
※Mechanism
When activated, it removes “marked tiles” within the specified area from the terrain,
and replaces them with physics objects (RigidBody2D) that have the same image and collision detection.
The replaced debris falls due to gravity, piles up, and can be stood on or pushed by the player character.
Debris that has remained still for a while becomes fixed and serves as a platform.
Reference
Specifies the center of the destruction area, the number of occurrences, etc.
Destruction Range
Specify rectangular or circular ranges and sizes.
**Mark for Destructible Tiles ★Note★
Open the tile settings and select the tile.
Set Rendering → Modulation (R:254).
※Tiles with a Red value 1 lower than the tile settings will be targeted.
Destruction Style
Adjust the timing of the destruction, etc.
Falling
You can adjust this to simulate the weight of the destroyed tiles falling due to gravity.
Visual Effects
Screen shake + automatic smoke emission.
Shockwave
Ripples emanate from the activation target.
Sound Effects
You can set the sound played upon activation.
Slow Motion Effect
Use this if you want to showcase the effect with slow motion.
Shatters on Collision
If you feel there are too many destruction tiles, you can subdivide some of them
or remove them when they hit a wall.
Pseudo-Cube
Set the thickness to give the tiles a three-dimensional appearance.
Properties of Debris
Set the material properties.
Float in Water
Makes the debris float on water, allowing it to be used as a platform.
Becomes a Platform
Keeping everything as physics objects may increase processing load, so you can set them to become walls after a certain period of time.
Interaction with the Protagonist
If the character gets buried in the collapsed tiles and becomes stuck, you can set it to “not collide,” allowing it to be used purely for visual effects.
Signals
Use this if you want to progress the game based on a flag indicating that destruction has occurred.









