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
25
S
7
G
2
Posts: 64
Reputation: 2,624

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
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Wed Apr 19, 2017 1:03 am

Thanks a bunch
B
25
S
7
G
2
Posts: 64
Reputation: 2,624

Post » Wed Apr 19, 2017 5:16 pm

@oosyrag an example capx will be great to see :)
B
36
S
10
G
9
Posts: 212
Reputation: 6,945

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
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

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
36
S
10
G
9
Posts: 212
Reputation: 6,945

Post » Thu Apr 20, 2017 2:53 am

B
25
S
7
G
2
Posts: 64
Reputation: 2,624

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
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Previous

Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi and 6 guests