I dont want my character to fly

This forum is currently in read-only mode.
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Hi there,

    This is my 1st post on the forum.

    Well done for making such a great program.

    I have an issue though and am hoping someone can help me solve it.

    I have created a game where the character moves when the player clicks on a certain icon. I want it like this for a reason which will become clear when I post my project in progress in about a week or so.

    I am having a problem with jumping though.... If you click on the jump icon fast enough multiple times, you can make the character fly, which is not what I want.

    Any Ideas?

    Thanks,

    Moonshine

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Limit the amount it can be clicked? You could use the Timer Behavior or time conditions for this.

  • Are you using Platform behavior? If so, add "Is on ground" to your jump event.

    Like so:

    + "Jump" Button is clicked
    + Player: Platform: Is on ground
      -> Jump
    [/code:2df6wlcg]
    
    If you're not using Platform behavior then do it like so:
    
    [code:2df6wlcg]
    + "Jump" Button is clicked
    + Player is Overlapping Ground at Offset (0, 1)
      -> Jump
    [/code:2df6wlcg]
  • Are you using the platform behavior?

    edit:

    Arrrgh

  • Are you using Platform behavior? If so, add "Is on ground" to your jump event.

    Like so:

    > + "Jump" Button is clicked
    + Player: Platform: Is on ground
      -> Jump
    [/code:149hef28]
    
    If you're not using Platform behavior then do it like so:
    
    [code:149hef28]
    + "Jump" Button is clicked
    + Player is Overlapping Ground at Offset (0, 1)
      -> Jump
    [/code:149hef28]
    

    I used the top option and it now works perfectly.

    Thanks for the quick reply, people.

    Moonshine

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)