GS "Official Joystick Template" Help Please

mikelowemikelowe Member Posts: 177
edited November -1 in Working with GS (Mac)
In the template project that gs gives us for for joystick controls, their actors are not constrained to the bounds of the screen! Can someone please tell me how to do this. I tried looking at the cookbook video, but that method involves using the mouse coordinates which I am not doing. Theres got to be a way.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    just put walls around the edge of the screen make them unmoveable and tell them to collide with the player
  • mikelowemikelowe Member Posts: 177
    At first I thought of that, but then thought it wouldn't work because the player would bounce so I didn't bother to try. Having seen your post I figured it was a good idea to at least try and I remembered about restitution (set both actors to 0). thanks so much for your post, it helped and worked.
Sign In or Register to comment.