How about a magical plugin that instantly swaps the coordinates of objects?
You can replace the lightning effects with custom images or turn them off.
It might be useful for swap puzzles, high-speed battles, and more!
■ Contents
The following functions are added to the execution actions:
≪Swap≫
CA_SwapPositionAction.gd (31.9 KB)
Installation Method
Drag and drop the *.gd file above into the ≪File System≫ of AGMaker 1.3.x or later.
After installation, the functions will be added to the execution actions.
When removing, it is safer to delete the functions from the actions first, and then delete the file.
We strongly recommend backing up your project before installation.
The sample project is available for free on itch.io.
CA_SwapPositionAction by GotchaGotchaGames
It is executed in the “hit” state of the object “shuriken” within the project.
■ Explanation of Contents
Target a/b
You can use the object itself, or start it from an external monitoring object.
Select two target tscn files.
Swap
Activates when turned ON.
Lightning Line
Set the thickness, bendiness, color, etc., of the generated lightning.
You can register any horizontal lightning image in “Lightning Image.”
Sparks
Generates particles between the swapped coordinates.
You can also use custom images.
Material
You can adjust effects such as additive blending.



