Anyone have a demo for button controls? You know…left, right, up/dn that controls an object. Or/and touch anywhere on the screen to affect object or? I tried touch events. works if you touch the object but I want to have the object controlled by touching other objects. Thanks! [import]uid: 10062 topic_id: 3316 reply_id: 303316[/import]
Check out Matthew Pringle’s joystick demo code. [import]uid: 3953 topic_id: 3316 reply_id: 9924[/import]
Joystick page ( with a link to download demos )
http://developer.anscamobile.com/code/joystick
Physics Based Movement
http://www.alienhorde.com/files/movement.zip
The above examples contain a joystick and the physics one also has a button.
Should help [import]uid: 5354 topic_id: 3316 reply_id: 9943[/import]