Extension: Orbiting Objects
About
Introducing another new extension for GDevelop: Orbiting Objects!
Run this extension on every frame to make the orbiting objects move.
This extension will create/delete orbiting objects to match the quantity specified.
Use the delete function or set the quantity to 0 to remove orbiting objects.
Extension parameters include:
- Center object
- Orbiting object (cannot be the same as the Center object)
- Number of orbiting objects
- Distance from the center object
- Speed of the orbiting objects (degrees per second). Use negative numbers to orbit in the opposite direction.
- Speed to rotate each orbiting object (degrees per second). Use negative numbers to rotate in the opposite direction.
- Starting offset and OrbitID are only needed if different objects orbit the same center object at the same time.
Example uses:
- Make shield objects around the player to protect from enemies
- Weapons that damage enemies when they collide
- Can be used on both player and NPC objects
- A visual indicator of ammo quantity or health points
- Interesting animations that can function as a pulsating single entity (using short distances)