Jump Controls

adambowker98adambowker98 Member Posts: 57
edited December 2011 in Working with GS (Mac)
Iv'e got a player with the basic platform controls - left, right, and jump. I have the jump set to where you can only jump when you are touching the ground. My platforms are scattered around so you can jump around from platform to platform. My problem is that when I'm jumping from platform to platform, and I hit the side of another platform and can jump again. Is there a way that I can set it so I can only jump when touching the TOP of the ground?
Thanks in advance!
-adambowker98

Comments

  • calvin9403calvin9403 Member Posts: 3,186
    Make an actor on top of the ground and when overlap or collide then you can jump
  • OkyshoOkysho Member Posts: 158
    You could do it that way, or you can create wall actors and place one on either side of the platform extending a few pixels further than the ground.
  • adambowker98adambowker98 Member Posts: 57
    Well I have about 25-40 ground actors per level, 12 levels. Any way I could put the walls or actors above the ground automatically?
  • adambowker98adambowker98 Member Posts: 57
    Just renewing this post. Can anyone help?
Sign In or Register to comment.