Page 1 of 1

How do I add gamepad support to the 8 direction movement

PostPosted: Mon Apr 13, 2015 4:47 pm
by Carbon64
I'm having trouble adding Xbox 360 gamepad support to my game. I tried simulating the control but it didn't work.
here's my capx: https://drive.google.com/file/d/0Bx3kU1 ... sp=sharing

Re: How do I add gamepad support to the 8 direction movement

PostPosted: Mon Apr 13, 2015 8:04 pm
by MadSpy
Hi,

On your eventsheet "mechanics" change "on gamepad 0 d-pad (up/down/left/right) pressed" by "on gamepad button d-pad (up/down/left/right) is down"

problem solved

Re: How do I add gamepad support to the 8 direction movement

PostPosted: Mon Apr 13, 2015 8:19 pm
by Carbon64
It works! thanks! turns out you need to press A before it accepts inputs

Re: How do I add gamepad support to the 8 direction movement

PostPosted: Mon Apr 13, 2015 8:29 pm
by MadSpy
You can add something like:

a text object "Press A button to activate Xbox360 controler" (bottom text object"start")
on eventsheet "intro"
on gamepad0 button A pressed ---> set text to "Gamepad detected"
---> go to dungeon