i made a circle movement example, its more flexible than the build in GD one.
You can set core variables; startAngle, radiusX, radiusY, speedX, speedY.
Its also possible to limit the movement between specific angles (startAngle - endAngle) and reverse it on end to get a bounce effect.
Just play around with different variable combination and you will see it can be used for lot of nice effects.
And if a moderator here could also put it into the GD examples would be amazing
May 2, 2021, 10:16pm
Looking great, good job
I think it would be very useful as an extension, it would be ready-to-use for everyone, much more convenient than an example.
Would you like to try to convert it?
It starts with selecting everything, right-clicking and choosing Extract events. Then you need to define the parameters and apply them in the events.
Im new, never made an extension before but i will try it
I made a behaviour extension now, with few examples for different movements.
Thanks for submitting this! We love when people contribute new ideas and code.
08:47AM - 04 May 21 UTC
08:51PM - 14 May 21 UTC
**⚠️ Please edit and complete this before submitting your extension:**
… cribe the extension
Advanced Circle Movement
Values that can be set: AngleX, AngleY, OriginX, OriginY, RadiusX, RadiusY, SpeedX, SpeedY, RotateClockwise/RotateCounterClockwise
Forum post: https://forum.gdevelop-app.com/t/example-advanced-circle-movement/32361
- [ ] Extension has a proper name and description.
- [ ] Extension has tags (for example: "platform, brick, breakable").
- [ ] All behaviors have a description.
- [ ] All functions (actions, conditions, expressions) have descriptions.
- [ ] I confirm that this extension can be intergrated to this GitHub repository, distributed and MIT licensed.
## Extension file
Finally, attach the .json file of your extension here.
You also may have to create an account on GitHub before posting.
If your extension is high quality and useful, it will be added to the list of GDevelop community extensions.
When you're ready, remove this last paragraph and click on "Submit new issue". Thanks 🙌