How can i add an impulse so that my sprite moves both left and right depending on where user touches
my code at the moment
balloon:applyLinearImpulse( 1, -0.2, event.x, event.y )
currently i can only move only left or right. [import]uid: 24981 topic_id: 6658 reply_id: 306658[/import]
I can make the ball rotate correctly depending on where the ball has been touched. i just cant make it jump in all directions according to where its been touched.
The make a game in 8 minutes video (part 1 and 2) does not produce the desired results as the x value is set to 0.
Iv searched through the forums and read through the documents and cant find any help.
Help Please!!
[import]uid: 24981 topic_id: 6658 reply_id: 23239[/import]