Animate Shadow Clones
Create and animate shadow clones that follow the path of a primary object.
Authors and contributors to this community extension: Entropy, VictrisGames, fuzzy.
Select the primary object, the shadow clone object, the number of shadow clones, the number of frames between shadow clones, the rate that shadow clones will reduce opacity and size (if desired), the Z-value and the layer the shadow clones will be created on.
This extension can be used to:
- Make an object look faster, such as during a speed powerup.
- Give a 3D-like feel to a character
- Implement unique time-based elements, like teleporting a character back to a previous location
- Simulate the movement of a caterpillar or slinky
- Recreate games like snake or tron
These object variables are provided to manage the shadow clones:
- ShadowCloneOrder: Shadow clone identifier, where 1 is the shadow clone closest to the primary object
- FramesBehindPrimary: The number of frames that the shadow clone is behind the primary object
- For shadow clones to work, this action must be run every frame.
- The ShadowCloneObject cannot be the PrimaryObject, but it can be a duplicate object.
- For animations to work, the PrimaryObject and ShadowCloneObject must use the same animation numbers.
Watch this tutorial video to see examples of how to use this extension.
Learn how to install new extensions by following a step-by-step guide.
This page is an auto-generated reference page about the Animate Shadow Clones extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.