laser length

Get help using Construct 2

Post » Fri Dec 07, 2012 11:34 pm

So I have this laser turret here (capx) and I was wondering if someone could guide me in the right direction so that the laser will only go to the edge of the closest overlapping cube if the mouse is past it. (Image)EncryptedCow2012-12-07 23:35:10
B
40
S
12
G
7
Posts: 603
Reputation: 7,646

Post » Fri Dec 07, 2012 11:56 pm

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Sat Dec 08, 2012 12:03 am

I must have skipped right over that, thanks for your help!
B
40
S
12
G
7
Posts: 603
Reputation: 7,646

Post » Sat Dec 08, 2012 12:53 am

started on this before I saw kyat's reply

I added 3 event groups for different methods.

The first is really simple but imprecise
The second two are slightly complex but as precise as you want.

They all work with multiple lasers too, so I set it to create four lasers.

Disable/enable the groups to test them out.

linkkeepee2012-12-08 00:57:33
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Sat Dec 08, 2012 1:26 am

@keepee

Already got it done, but thanks for your help too. I might change mine around a bit and make it more like your example.
B
40
S
12
G
7
Posts: 603
Reputation: 7,646


Return to How do I....?

Who is online

Users browsing this forum: Megavolt, mnashwan and 20 guests