How do I make units form a line towards an arrow?

Get help using Construct 2

Post » Sat Mar 21, 2015 10:00 am

In RTS games you can drag movement arrow to rotate the troop formation.
Does anybody know the formula to make this in Construct 2?
I test the units formation movement and also want them to rotate as in the picture.

Image
B
20
S
4
Posts: 52
Reputation: 1,106

Post » Sat Mar 21, 2015 12:46 pm

You can rotate family by 90 degrees and then every soldier by -90.
B
7
S
2
Posts: 18
Reputation: 513

Post » Sat Mar 21, 2015 7:10 pm

I have no families. I need to calcuate the coordinates of every unit according to the angle of the arrow.
B
20
S
4
Posts: 52
Reputation: 1,106


Return to How do I....?

Who is online

Users browsing this forum: fbarraza28, newt, wandererabove and 4 guests