platformer problems

This forum is currently in read-only mode.
  • hi!

    i have problems with platform movement

    i have done a new config to jump when i press Q but everytime i press Q the player is jumping and i just want him to jump only one time (no double jump) and i don't know how to do..

    i'd like too to make a jump platform: when my player jump on , he jumps higher (sorry i'm french and my explanations suck)

    could you help me please?

  • How did you create the "Q" control? Did you select a new key for "Jump" in the application properties, or did you create an "On 'Q' Key pressed" condition?

    Also, I recommend you post your .cap so someone can have a look.

  • in fact in start of layout i set ingoring input , then i do:

    -upon pressing Q, jump

    -left arrow is down, set X speed to -250

    etc

    but the jump sucks

  • 'Jump' will make the character jump even if in mid air. Use a little detector sprite beneath the player's feet to make sure they're on the ground before jumping.

  • thanks!!!

    and for the jump platform? :p:p

  • 'Jump' will make the character jump even if in mid air. Use a little detector sprite beneath the player's feet to make sure they're on the ground before jumping.

    The "Is on ground" condition works decently enough for that.

    and for the jump platform? :p:p

    What do you mean?

    And may I ask why you're setting the platform behavior to ignore and manually coding the keyboard controls? The default controls work fine.

    Unless you're making a 2-players-on-one-keyboard game . That's the only reason I can see to do that.

  • if you need an example .cap on basic platform stuff send me a pm

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:1waqd2je]

    and for the jump platform? :p:p

    What do you mean?

    And may I ask why you're setting the platform behavior to ignore and manually coding the keyboard controls? The default controls work fine.

    Unless you're making a 2-players-on-one-keyboard game . That's the only reason I can see to do that.

    i mean a jump thing like in sonic

    i have to code the keyboard controls coz' i dislike the jump default key and i think it's impossible to enable only default jump key

  • A jump thing, like a spring?

    Player.Y less than Spring.Y

    +

    Player is Falling

    +

    Player collides with Spring

    =

    Player-> Jump

    yea? nay?

  • Yeah, I think he means a spring.

    Here's a .cap with an example:

    http://willhostforfood.com/users/deadeye/spring.cap

    It uses just one event.

    Also, it shows how you can change the default jump key in the application properties. I changed the jump to Z.

  • really thank you !!! it'll help me a lot!!!!

  • LMAO that is the coolest mario EVER!

  • i forgot to tell it but yeah !!! your supamario is GREAAAAAAAAAT !!!!

    you could do a game with this sprites !

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