Hi!
i have been using GDevelop 5 for the past week and im loving it so far.
Some of the things are still a little bit weird but im going to learn those too
But I want to know how i could make loops in Gdevelop 5
Example if there was an button when you click it then a couple of actions start looping infinetly.
Please help me and thank you.
Hi Toma, welcome to GDevelop!
There are several ways to achieve this depending on what youβre trying to do.
The most basic ways to create loops (after pressing the button):
Loop on each frame:
- Button clicked --> Change boolean variable = True - If boolean variable = True --> (Actions go here)
Loop using a timer:
- Button clicked --> Start / Reset Timer - If Timer > X --> Start / Reset Timer (Actions go here)
2 Likes
Thank you SOOOO much that helped me A lot :]
2 Likes