hi
in my game, when i am clicking on background then ball get some velocity on “up - ward direction”(y - axis). it is working good, but i want, when i press on background then ball should get continuous velocity(on “up - ward direction”) till “un-press”…please any help [import]uid: 87661 topic_id: 28424 reply_id: 328424[/import]
You could do this multiple ways, either using a Runtime listener and a flag you set to true when touch is pressed and false when released or by using a timer to perform an action every X milliseconds and then cancelling it in the event.ended phase. [import]uid: 52491 topic_id: 28424 reply_id: 114733[/import]