Extension: Shadow Clones
Test the ShadowClones extension for GDevelop
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
- ShadowCloneGroupID: Shared identifier for the shadow clones that were created (Optional)
Notes:
- 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.
Status | Released |
Platforms | HTML5 |
Author | Victris Games |
Made with | GDevelop |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.