How do I is in touch sprite follow ?

Get help using Construct 2

Post » Sun Jun 08, 2014 2:57 am

hi,
iam facing problem with moving sprite with touch action
what i want to do
is that the sprite (player) follow the hand when it is in touch of screen (only for Y)
i use in touch and simulate left and right but not give me good result
thanks
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Sun Jun 08, 2014 4:38 am

Use Drop and drag for sprite
And set horizontally or vertically. The default is Both,
B
17
S
7
Posts: 360
Reputation: 2,202

Post » Sun Jun 08, 2014 12:34 pm

ok thanks
but i want to do it on boutoon
for example on bottom of scrren i have two boutton (left and right) and when touched the boutton the player follow hand you understand me
now that work but i have to touch to sprite
i want do it when touch boutton for example
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Sun Jun 08, 2014 7:28 pm

finnaly i found it
i just add drag and drog behavior to a button i want and et every tick set y of player object to this boutton
any way thank for help
B
45
S
16
G
8
Posts: 792
Reputation: 8,306


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests