Blachlock's Forum Posts

  • 4 posts
  • I have tried using the angle option to no avail, setting the X, Y coords, and various other combinations, none seem to work as I expected.

    Let me explain it a different way, think of the joystick as a compass, so when I press the pad to go East, I want the player to point East, when I press the pad to go South, I want the player to point South.

    That might explain it better than saying "rotate."

  • I want to expand on this and I have to be missing something completely obvious or things I have forgotten from math.

    Similar to pointing the player in the direction of the mouse, I want the player to rotate based on the rotation of the joystick. So if the joystick is rotated left the player should rotate left and vice versa.

    Setting the rotation using the X, Y coords or angles doesn't do it, using match to get the coords didn't do it and I think I am overlooking something.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the replies and tips. Nice to find an active community. Will take a look at both items.

  • I am trying to keep a small sprite bound within a larger sprite and these sprites are placed on a no scrolling layer.

    I am trying to emulate a joystick control on screen.

    So far no combination of options I have tried have seemed to work and I see no way to keep the small sprite within the bounds of the larger sprite.

    Both sprites are circles.

  • 4 posts