Is there a good effect for a lamp?

Get help using Construct 2

Post » Fri Oct 16, 2015 7:41 pm

Is there a good effect for a lamp, like some sort of glow or something?
*misses old games*
B
20
S
4
G
4
Posts: 147
Reputation: 3,193

Post » Sat Oct 17, 2015 6:47 am

I would probably just pin a "glowing" sprite to the lamp - or do you mean more along the lines of the lighting demo that comes with C2 ?

edit

https://goo.gl/p0Ouvi (r215)

edit 2

https://goo.gl/3uWCQ2 (r215)
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,902

Post » Sat Oct 17, 2015 7:44 am

It depends on what exactly you want.
You can use lights and the shadow caster behavoir.
https://www.scirra.com/manual/177/shadow-caster

Or some fake light. The level has a black layer over it and a sprite makes some of it transparent.
https://www.youtube.com/watch?v=z6h260Fg6H0

Or really just some sprite like RamPackWobble has posted.
The last one is up to your graphics skill and/or aesthetic choice. ^^
B
25
S
9
G
2
Posts: 71
Reputation: 2,325

Post » Sat Oct 17, 2015 11:42 am

Yea I made a glowing sprite but what I mean is, I wanted to make a lamp to have something unique. I wanted to know if there are some good effects that can make my glowing sprite even better. It's hard to explain sry
But thank you guys for the examples, even if every of them is already in my game :) I'll probably just try to improve my glowing sprite in Photoshop
*misses old games*
B
20
S
4
G
4
Posts: 147
Reputation: 3,193

Post » Sun Oct 18, 2015 12:58 am

You could try the "glow vertical" and "glow horizontal" effects.
B
25
S
9
G
2
Posts: 71
Reputation: 2,325

Post » Sun Oct 18, 2015 6:10 am

Make a white dot on an alpha masked texture, set the blend mode from Normal to Additive. Works with other color dots too. Can also use the Dodge effect but that does not work on non-web GL platforms. make sure the sprite is over a multi color object or it might disappear from the layout.

For shadows , you can use Burn or Multiply web GL effects.
B
29
S
8
G
4
Posts: 767
Reputation: 5,985

Post » Sun Oct 18, 2015 9:54 am

I can't open the capx by RamPackWobble right now (on r214 here) so I don't know if this was already suggested, but one thing you could do to give it a nice little extra is to adjust the glow sprite size/opacity by either events, animation frames or giving it sine behaviors (maybe even mix of them). So it'd vary from full size to 85 percent, from opacity 15 to 10 etc.. depending on the look/lamp type and strength you're going for.
B
43
S
15
G
13
Posts: 162
Reputation: 9,787

Post » Sun Oct 18, 2015 10:55 am

Why not update it mate? :P
https:/ /www.scirra.com/construct2/releases/r215
*misses old games*
B
20
S
4
G
4
Posts: 147
Reputation: 3,193

Post » Sun Oct 18, 2015 11:23 am

I will eventually, but I just updated to r214 like 4 days ago and I have some urgent work to do for today, so that will have to wait for now:)
B
43
S
15
G
13
Posts: 162
Reputation: 9,787


Return to How do I....?

Who is online

Users browsing this forum: Sprazzal and 61 guests