How do I create a laser line type object?

Get help using Construct 2

Post » Thu Jul 31, 2014 1:45 am

I need to create a laser type line object which will only bounce off of 1 side of a sprite..

Think of a mirror which if the laser hits the 3 sides which aren't reflective it wont reflect but if it hits the reflective side it will proceed to the next object.

I think I know how to make the laser but not too sure about making the object it reflects off.

Any help would be appreciated!
B
5
S
2
Posts: 105
Reputation: 837

Post » Thu Jul 31, 2014 10:28 pm

could you make the reflective side a separate sprite from the other 3 sides with on collision send laser to the next object?
B
88
S
43
G
71
Posts: 601
Reputation: 43,669

Post » Thu Jul 31, 2014 10:35 pm

Either separate sprites like @spacedoubt suggested or if that is impractical for your artwork you could use invisible collision objects, and make only one of them reflect the ray.
B
79
S
29
G
32
Posts: 482
Reputation: 19,915

Post » Fri Aug 01, 2014 12:05 am

ah both great suggestions, never thought about combining two sprites or the invisible object.

Will implement now :D thanks for the reply's!
B
5
S
2
Posts: 105
Reputation: 837


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests