virtual joystick?

Get help using Construct 2

Post » Sun Jan 06, 2013 10:20 pm

Are there any pluggins or anything for an on screen virtual joystick?
It's a necessity for one of the games i'm working on.
B
32
S
4
Posts: 406
Reputation: 3,221

Post » Mon Jan 07, 2013 12:35 am

http://www.scirra.com/forum/how-to-make-a-thumbstickmobile_topic46992_post294264.html#294264

Does that help?
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Mon Jan 07, 2013 2:33 am

why yes it does! Thank you very much! :)
B
32
S
4
Posts: 406
Reputation: 3,221

Post » Mon Jan 07, 2013 6:16 am

http://www.scirra.com/tutorials/398/touch-stick-controllers/page-1

It needs to be updated to support touch id's, but it works and very smooth :) No loss of input and it's ready to be user friendly. Just use good graphics :D
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Mon Jan 07, 2013 5:13 pm

That seems much better! The one i made gets frozen and takes up a few collision detections.

The thing is, I'm not using it for movement, I'm using it to decide on what angle/imagepoint I want the strike box to spawn at. But ill play with it tonight and see how it works!
Thanks!
B
32
S
4
Posts: 406
Reputation: 3,221

Post » Tue Jan 08, 2013 2:31 am

they work great! I like yours better, but I wonder if there's a performance boost to using one over the other...

So I the stick, nearly word for word, but I am getting 2 problems...

1. When I press the virtual area initially, It places the joystick, but I can't move it. Only when I let go and touch it again can I move it.

2. I have a sword box that I am trying to spawn on my player character when the joystick is down at a certain angle, but this won't work. Any ideas?

Either way, thanks to you both for the help!

.capx
https://www.dropbox.com/s/ostlec9cianpgql/07-JAN-12%20%20Changed%20Virtual%20Stick.capx

demo
http://dl.dropbox.com/u/104143348/Ninja%20Strike/index.html
B
32
S
4
Posts: 406
Reputation: 3,221


Return to How do I....?

Who is online

Users browsing this forum: newt and 23 guests