The main reason why I am asking this is to see if I am better off making my own. You see, I need a value to be returned from the joystick to make this other game.
I need the location of the inner circle, so I can rotate the object in the game accordingly and set its linear velocity so that it moves in that direction. So if the circle is at a 90-degree angle, its linear velocity is at (any positive value), 0, it moves right, but does not move up or down.
I’ve been looking at the code in Sticker Knight Platformer, and I have no idea where to start.
PS - You’re using standard angles and that is fine, but be aware, not all people treat 90 as up. Me for example. It is confusing and doesn’t make sense in the context of display space.
PS - You’re using standard angles and that is fine, but be aware, not all people treat 90 as up. Me for example. It is confusing and doesn’t make sense in the context of display space.