Diving, and Jumping while Constantly Moving.... this is an issue -_-

JiggleboxJigglebox Member Posts: 63
edited February 2014 in Working with GS (Mac)
Hello all,

Currently i'm having a bit of an issue with my app. the way the game works is, i have my character at a constant movement speed going across the screen. However, i can't seem to get it to let me jump, and dive while i am moving. I have the game currently set where there is a maximum of two jumps, before you either have to dive, or touch the ground again to jump twice more... My main issue is that my jumping and diving code works just fine when my character isn't moving... please help.

Thank you.

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    I would recommend using motion linear velocity x & y to move jump and dive.

    Darren.
  • JiggleboxJigglebox Member Posts: 63
    I'm already using velocity x and y to jump and dive, will it help if i use it for movement too?

    I guess i'm just not understanding why it will let me jump /dive when i'm at a stand still and have my motion shut off, but it wont let me do anything while i have it turned on.
  • JiggleboxJigglebox Member Posts: 63
    Also, if i want to make it so i have infinite number of double jumps, and dives, would i simply remove "JumpCount" and "DiveCount?" <--- my linear variables.
Sign In or Register to comment.