How do I create a beam of light

Get help using Construct 2

Post » Tue Apr 18, 2017 7:34 pm

oosyrag wrote:I can put together an example later today if you don't mind waiting.

Thank you sooo mutch...
B
27
S
8
G
2
Posts: 81
Reputation: 2,758

Post » Tue Apr 18, 2017 10:16 pm

https://www.dropbox.com/s/mtuitc8dsr6i0 ... .capx?dl=0

Rough draft.

You can improve it by making a more solid core on the explosion sprite to hide the cut. You can also do a gradient on the masking sprite so that cut off edge is softened.

Also I used mouse distance from the end of the laser to set the width of the mask, you probably want a different method depending on your application.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Wed Apr 19, 2017 1:03 am

Thanks a bunch
B
27
S
8
G
2
Posts: 81
Reputation: 2,758

Post » Wed Apr 19, 2017 5:16 pm

@oosyrag an example capx will be great to see :)
B
40
S
10
G
9
Posts: 213
Reputation: 7,057

Post » Wed Apr 19, 2017 5:45 pm

anty21ro wrote:@oosyrag an example capx will be great to see :)

............

oosyrag wrote:https://www.dropbox.com/s/mtuitc8dsr6i03r/laseranimation.capx?dl=0

Rough draft.

You can improve it by making a more solid core on the explosion sprite to hide the cut. You can also do a gradient on the masking sprite so that cut off edge is softened.

Also I used mouse distance from the end of the laser to set the width of the mask, you probably want a different method depending on your application.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Wed Apr 19, 2017 9:20 pm

My first comment should have been way before ... on first page, I think my internet connection was the problem. Thanks for this example capx.
B
40
S
10
G
9
Posts: 213
Reputation: 7,057

Post » Thu Apr 20, 2017 2:53 am

B
27
S
8
G
2
Posts: 81
Reputation: 2,758

Post » Thu Apr 20, 2017 3:23 am

Very pretty game! Although I have some advice if you don't mind...

The first loading screen was very long, wasn't sure if it crashed or not (I have a pretty beefy system too). An animated sprite or some sort of motion would help here, so at least you know the game is still running.

Intro takes quite a while, a way to advance/skip the text would be nice.

Otherwise I couldn't really play since no mouse controls. Too bad I didn't get to see laser effect.

Great job so far though! I look forward to seeing your game develop.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests