GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: Start and stop rotating object events

Open TheRealSoloLeo opened this issue 4 months ago • 9 comments

Description

This extension adds the following events:

  • Start rotating object (Makes an object rotate until it is stopped with the "Stop rotating object" event)
  • Stop rotating object (Only works if the rotation was started using the "Start rotating object" event)

These events can only be used on objects with the "Start and stop rotating object events" behavior.

https://github.com/user-attachments/assets/3a5c079a-7076-4d18-869c-c245a9f5aaad

How to use the extension

If you put the behavior with the same name as the extension on any object you can use events to make it start and stop rotating (Like with permanent forces but it makes objects spin).

Checklist

  • [X] I've followed all of the best practices.
  • [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Reviewed

Example file

StartandStopRotatingObject.zip

Extension file

Startandstoprotating.zip

TheRealSoloLeo avatar Oct 11 '24 16:10 TheRealSoloLeo