(gamepad) Assing jump to the y axis, left analog

0 favourites
  • 3 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • Hello Guys:

    I'm trying to assign move left, right, and jump in to the left analog but i don't know how to do it propely any ideas (this is my code):

    + Gamepad: Gamepad 0 Left analog X axis > 0
    -> Sprite: Simulate Platform pressing Right
    
    + Gamepad: Gamepad 0 Left analog X axis < 0
    -> Sprite: Simulate Platform pressing Left
    
    + Sprite: Platform is on floor
    + Gamepad: Gamepad 0 Left analog Y axis < 0
    -> Sprite: Simulate Platform pressing Jump
    [/code:3f8qhls3]
    
    Any ideas?
    
    thank you!
  • Maybe just a Trigger once while true will help?

    Otherwize it could probably trigger the jump every tick while Y is more than 0.

    in case the analog is not 100% accurate it may be better to raise the value as well.

    Gamepad: Gamepad 0 Left analog Y axis < -10 or something?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe just a Trigger once while true will help?

    Otherwize it could probably trigger the jump every tick while Y is more than 0.

    in case the analog is not 100% accurate it may be better to raise the value as well.

    Gamepad: Gamepad 0 Left analog Y axis < -10 or something?

    thanks it's really worked!

    putting the y axis to less than 30 i have a good flow with the jump

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