Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17113

Move a sprite while screen is currently touched

$
0
0

@nightrobin wrote:

Good day,

How can I move a sprite while the screen is currently touched?

onTouchBegan lets me move the sprite every new touch only.
onTouchMoved lets me move the sprite only if the user swipe his finger.

Thanks.

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 17113

Trending Articles