Realistic flashlight (from bird view)

Get help using Construct 2

Post » Mon Jul 01, 2013 8:22 pm

How do i make realistic flashlight effect (not useless) for zombie shooting game? I trying to find it but i can't ;/.
B
23
S
5
G
4
Posts: 141
Reputation: 3,260

Post » Mon Jul 01, 2013 8:53 pm

The ghost shooter example bundled into C2 is a good example of this...
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Tue Jul 02, 2013 1:57 pm

I don't want to have shadow like this. I saw many times games with cool flashlights.
Something like this
http://www.scirra.com/forum/dynamic-shadows-engine-for-c2_topic67345_page1.html
B
23
S
5
G
4
Posts: 141
Reputation: 3,260

Post » Tue Jul 02, 2013 2:05 pm

Yes, his shadows looked really cool. Have you tried implementing them if you liked it ? He explains how to do it in the end.
B
17
S
8
G
4
Posts: 461
Reputation: 6,097

Post » Tue Jul 02, 2013 2:28 pm

But i don't know how to do it, i'm noob ;(
B
23
S
5
G
4
Posts: 141
Reputation: 3,260

Post » Tue Jul 02, 2013 5:09 pm

Like this one?
(i know, it's not 100% "realistic", but very easy to create)Cherico2013-07-02 18:24:48
B
21
S
5
G
2
Posts: 181
Reputation: 3,499

Post » Wed Jul 03, 2013 10:38 am

@cherico
This looks nice, can you send me .capx or something?
B
23
S
5
G
4
Posts: 141
Reputation: 3,260

Post » Sat Aug 31, 2013 7:32 pm

@Cherico

your example is very good , can it also be implemented in a platformer game or not. If yes can you please help me.
B
94
S
19
G
15
Posts: 199
Reputation: 14,421

Post » Sat Aug 31, 2013 9:42 pm

[QUOTE=Rexu] How do i make realistic flashlight effect (not useless) for zombie shooting game? I trying to find it but i can't ;/.[/QUOTE]

I have a simple way to do so (though I haven't tried it so it may not work as intended)

Make a layer on top of everything and have a completely black image placed on it. Change the transparency to something you see fit. Then draw the flashlight beam on the same layer and set the blend mode to XOR. That should work and very simple.
B
10
S
2
Posts: 25
Reputation: 733

Post » Tue Nov 19, 2013 11:44 pm

@Cherico
Great example, thank you! Do you have a tutorial or .capx to share?
B
5
Posts: 2
Reputation: 236

Next

Return to How do I....?

Who is online

Users browsing this forum: Artpunk, kiugetski, RealMagisterLudi and 10 guests