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
12
S
1
Posts: 38
Reputation: 528

Post » Sat Mar 21, 2015 12:46 pm

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

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
12
S
1
Posts: 38
Reputation: 528


Return to How do I....?

Who is online

Users browsing this forum: Colludium and 19 guests