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
12
S
3
Posts: 91
Reputation: 1,142

Post » Fri Nov 21, 2014 4:41 am

bump
B
12
S
3
Posts: 91
Reputation: 1,142

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
101
S
39
G
134
Posts: 5,591
Reputation: 85,520

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
12
S
3
Posts: 91
Reputation: 1,142

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
101
S
39
G
134
Posts: 5,591
Reputation: 85,520

Post » Sat Nov 22, 2014 9:30 pm

Ah it does! Thank you! :D
B
12
S
3
Posts: 91
Reputation: 1,142


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests