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 object used for 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 counter-clockwise.

- Speed to rotate each orbiting object (degrees per second).  Use negative numbers to rotate counter-clockwise.

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)

- Visual cue for character power-ups such as invincibility


Download

Download NowName your own price

Click download now to get access to the following files:

OrbitingObjects_SourceFiles_0.5.0.zip 2 MB

Comments

Log in with itch.io to leave a comment.

cool but the offset slider doesnt work, possibly because the objects are destroyed when they leave the frame

(1 edit) (+1)

It's probably because I don't explain exactly what the offset does.  The crystals have a static offset of 0, while the dinos have an offset set by the slider.  The offset will make it so that the objects are no longer overlapping each other.

I also set the quantity to zero when you change the offset because it only takes effect when the quantity changes.

oh ok! I was just a bit confused as to how it works, thanks for the help.