★ TouchArcade needs your help. Click here to support us on Patreon.

JoyStick SourceCode

02-01-2011, 04:03 AM
Joined: Dec 2010
Posts: 5
JoyStick SourceCode

Can anyone plz post the source code for Joystick movemnt..iam able to create the joystick but not getting an idea of how to move an object accordint to joystick's movement..
02-01-2011, 08:43 AM
Joined: Nov 2010
Location: alea iacta est
Posts: 1,368
It's custom for every game...
02-01-2011, 11:43 AM
Joined: Nov 2009
Posts: 1,975
It also really depends on what game engine your using...

Lightning Strike Games Development Blog
02-02-2011, 02:44 AM
Joined: Dec 2010
Posts: 5
Thanks for the reply .. iam using cocos2d and chipmunk physics engine..im not getting the logic for moving an object according to the joystick movement..though the object is moving but not in a flexible way..