JoyStick SourceCode

Discussion in 'General Game Discussion and Questions' started by martin19, Feb 1, 2011.

  1. martin19

    martin19 Member

    Dec 22, 2010
    5
    0
    0
    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..
     
  2. K?!

    K?! Well-Known Member

    Nov 5, 2010
    1,366
    0
    0
    alea iacta est
    It's custom for every game...
     
  3. Osmiral

    Osmiral Well-Known Member

    Nov 19, 2009
    1,975
    0
    0
    It also really depends on what game engine your using...
     
  4. martin19

    martin19 Member

    Dec 22, 2010
    5
    0
    0
    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..
     

Share This Page