How do I make tractor beam?

Get help using Construct 2

Post » Sun Mar 01, 2015 8:19 am

I have a normal laser, but I need a tractor beam too! So it should pull objects towards it, and not the player towards end of the beam :(
B
6
S
1
Posts: 22
Reputation: 473

Post » Sun Mar 01, 2015 8:47 am

Most basic way would be to move them toward player.

For each object
When overlapping tractor beam - Move at angle "angle(object.x, object.y, player.x, player.y)"

If you can give capx I could try to implement it.
B
12
S
6
G
2
Posts: 99
Reputation: 1,727


Return to How do I....?

Who is online

Users browsing this forum: kiugetski, Yahoo [Bot] and 9 guests