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

Get help using Construct 3!

Post » Thu Sep 28, 2017 10:52 am

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):

Code: Select all
+ 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


Any ideas?

thank you!
Last edited by maranpis on Thu Sep 28, 2017 10:01 pm, edited 1 time in total.
B
14
S
6
Posts: 39
Reputation: 1,185

Post » Thu Sep 28, 2017 12:59 pm

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?
Follow my progress on Twitter
or in this thread Archer Devlog
B
44
S
20
G
19
Posts: 1,091
Reputation: 14,376

Post » Thu Sep 28, 2017 10:01 pm

tunepunk wrote: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
B
14
S
6
Posts: 39
Reputation: 1,185


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 0 guests