How do I use gamepad expressions

Get help using Construct 2

Post » Tue Mar 08, 2016 8:41 pm

https://www.scirra.com/manual/143/gamepad

at gamepad expressions , its said :

gamepad.Axis(gamepad,index) ??? but no example of expression usage. I can't find how to use thoses values properly.
twitch.tv/neozoom/
Dev stream from time to time !
@FireCamp_games <-- twitter
B
6
S
2
G
2
Posts: 52
Reputation: 969

Post » Tue Mar 08, 2016 10:19 pm

[...]Index specifies left analog X and Y or right analog X and Y axes[...] 0-based
gamepad : 0-based gamepad index (eg gamepad1 = 0)

gamepad.Axis(0,0) returns axis value for the left joy of 1st gamepad
Image Image
B
25
S
14
G
136
Posts: 876
Reputation: 71,005


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, ignaciosimo and 16 guests