Mobile Dynamic Joystick

Get help using Construct 2

Post » Sun Jan 13, 2013 10:21 pm

Hello everybody!

I'm trying to simulate a joystick in the same style used in the game:
https://play.google.com/store/apps/details?id=com.halfbrick.ageofzombies

works as follows:

1) anywhere you touch on the screen is created joystic
2) if you walk the joystic follows your player

I already managed to create the scheme showing where joystic played touches but I'm struggling to implement the system that follows the character.

I tried using the Anchor, but I had problems when it passes the edge of the screen, and I do not know why = /

this is the project file:
http://dl.dropbox.com/u/24225423/mobile_joystick.capx

Someone already implemented a solution to this problem?

Thanks!
B
4
Posts: 2
Reputation: 734

Post » Sun Jan 13, 2013 11:19 pm

Check this out:

http://www.scirra.com/tutorials/398/touch-stick-controllersbasspenguin2013-01-13 23:19:38
B
37
S
9
G
7
Posts: 143
Reputation: 6,017

Post » Sun Jan 13, 2013 11:43 pm

basspenguin Thank you!
B
4
Posts: 2
Reputation: 734


Return to How do I....?

Who is online

Users browsing this forum: heliogame, WhosWho, Yahoo [Bot] and 20 guests