How do I do to press the same button for diferrent actions?

Get help using Construct 2

Post » Mon Aug 10, 2015 12:13 am

hi guys! well i have this problem: i made a menu and im trying to navigate in it with the gamepad but when i press d-pad down twice it doesnt work i have three sprites from the first to the second its ok but i dont know how to make the dpad down again with the same d-pad down button. please help! and im really sorry for my poor english.
B
17
S
7
Posts: 7
Reputation: 1,293

Post » Mon Aug 10, 2015 2:44 pm

variable dpadP = 0

if dpad down -> dpadP +1

Sprite image -> set to dpadP

if dpadP =3 -> dpadP = 0
Read this:
yeah, i really like to say that you should "Read this:"
B
12
S
5
Posts: 138
Reputation: 1,490

Post » Mon Aug 10, 2015 11:40 pm

Thanks! now it works!
B
17
S
7
Posts: 7
Reputation: 1,293


Return to How do I....?

Who is online

Users browsing this forum: NN81, Syazanie Amirin and 7 guests