How do I reverse this arc?

Get help using Construct 2

Post » Thu Nov 20, 2014 9:19 pm

Please download the capx below
https://dl.dropboxusercontent.com/u/308 ... speed.capx

And if you can, explain what needs to be done to make this arc go right instead of left. Thanks!
B
11
S
2
Posts: 91
Reputation: 1,017

Post » Fri Nov 21, 2014 4:41 am

bump
B
11
S
2
Posts: 91
Reputation: 1,017

Post » Fri Nov 21, 2014 5:59 pm

Change the arc to -45 and spawn from the player instead, also change (player.X-bullet.X) to (enemy.X-bullet.X).
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Post » Sat Nov 22, 2014 7:52 pm

I still want it to be spawned from the enemy though, like if the player was to the right of the enemy that the missile would go to the right.
B
11
S
2
Posts: 91
Reputation: 1,017

Post » Sat Nov 22, 2014 8:47 pm

Would checking if the enemywas left or right of the player and set the angle accordingly work?
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Post » Sat Nov 22, 2014 9:30 pm

Ah it does! Thank you! :D
B
11
S
2
Posts: 91
Reputation: 1,017


Return to How do I....?

Who is online

Users browsing this forum: jatin1726, Resslx and 36 guests