Making game like Guru Logic Camp

Please help me with this, I want to create a game like Guru Logic Champ, but when a new block is added, everything becomes chaotic.

My project

Guru logic camp gameplay

If I understand the issue, it’s when you rotate the blocks the new one “disappears”. I think the issue is that you set the angle and distance object variables for the blocks that are initially on the scene but not for the new objects.

You could use the put the object around condition instead of the formula you’re using.

1 Like

I still don’t fully understand GDevelop 5. Could you explain how to use the “put the object around” function in GDevelop?

The put around object action is similar to what you’re doing. You can position it around an object or a position. I prefer an object because it’s visual, you don’t need to remember numbers and it’s easy to adjust it by just moving the object.

Choose the object or group name and for angle and distance use the object variable names.

Here’s how I tested it. I used objects named Item and Center. Item had the variables Distance and AngleOffset. I used a button to rotate the center object. mod() wraps the value. I tested adding objects with a mouse click. Since I used a button, I used an inverted button so it didn’t add an object when I clicked the button.

1 Like

Bro thanks you so mutch :heart::heart::heart:

:upside_down_face: Finally, I can sleep peacefully now.

1 Like