How do I make ordered tap?

Get help using Construct 2

Post » Fri Apr 29, 2016 4:59 pm

How do i make it so that when the player taps any number of objects, the character moves(very fast) to those objects in order?
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Fri Apr 29, 2016 5:23 pm

Waypoints can be stored by pushing them in to an array.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Fri Apr 29, 2016 6:44 pm

@oosyrag what are waypoints and how do they work?
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sat Apr 30, 2016 10:30 pm

https://www.dropbox.com/s/otqwjdrm4tzvm ... .capx?dl=0

Waypoints are an ordered set of coordinates. You can save each waypoint in an array in order, then have your sprite move to each waypoint in order based on the coordinates you saved in the array.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests