Move an object to the touched position on screen?

Get help using Construct 2

Post » Wed Nov 30, 2011 11:43 am

Hi,

I would like my sprite to move to a particular touched position on screen.Is it by adding on Touch start--->Sprite--->set 8 direction enabled.
B
3
S
1
G
1
Posts: 4
Reputation: 808

Post » Wed Nov 30, 2011 11:57 am

Check for the "Moving object" section in the how do I FAQ and replace the mouse object by the touch object.

The logic is the same, only the control changes.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
267
S
95
G
66
Posts: 7,210
Reputation: 73,086

Post » Wed Nov 30, 2011 2:16 pm

As shown in the example Automated Movement.capx i should set initially as Touch --->On touch Start--->System:Set targetx to Touch.X or OnTouch.X or some other parameters ?
B
3
S
1
G
1
Posts: 4
Reputation: 808


Return to How do I....?

Who is online

Users browsing this forum: Cryttexx, oddreal and 10 guests