[Solved] How do i fix this bug?


#1

[EDIT - Fixed the bug, but in the future i will be using this link to put my bugged games so you can test em.]

Hi. I started making my indie game and
i have a problem whit the variables :confused:. Its the angle variable. The problem is when it rotates it goes over 360 and even when set a boundry (Angle (It’s a variable) = 360 then Set Angle = 0) it doesn’t work.
I have a file of the game (openable in Gdevelop5), so you can test it.
Link to the file - https://alexander-iceder.itch.io/agbg

[EDIT - Fixed the bug, but in the future i will be using this link to put my bugged games so you can test em.]