8 Direction Joystick Code

Get help using Construct 2

Post » Sat Jan 28, 2017 8:50 pm

http://imgur.com/a/Q0Ebr

I downloaded the .capx for an 8-directional joystick. I put in my own objects of course but the code is identical, and Touch is set to accept the Mouse, but when I click and try to drag the joystick in my game it doesn't move. The names are different but the code of Touch and move is the same

viewtopic.php?t=65160&start=0#294264

It's the "Revision with 8dir and using only the touch object with "Use mouse input" set to yes."

I'm not sure what i'm doing wrong, sorry. I did the code exactly the same but the joystick in my game won't move. Sorry.
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Sat Jan 28, 2017 8:56 pm

I do have a second circle that's supposed to be the static one, what I don't get is the code is exactly the same but when I click and try to drag my joystick it won't move.

Here is the 8-direction .capx I did the code exactly the same.

http://dl.dropbox.com/u/36472942/constr ... _only.capx
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Mon Jan 30, 2017 9:53 pm

The code is identical to the 8-direction .capx. What I don't get is why the joystick I made is immovable and the one in the 8-direction .capx is, and both codes are identical.
B
20
S
7
G
3
Posts: 302
Reputation: 3,634


Return to How do I....?

Who is online

Users browsing this forum: Lightstone, Resslx, totoe and 23 guests