Glow in C2?

Get help using Construct 2

Post » Sat Apr 21, 2012 6:03 am

[QUOTE=Pode] @Bob Thulfram : I have designed the SVGCanvas plugin to make it possible for you to use SVG string directly for things that I haven't added yet for the moment. So, if you want something that isn't available in the menu now, you can simply "paste" the string. And if you have JS embedded properly in that string (declared properly with [CDATA[ and all), I don't see why you can't use it .
There's one catch, though : your script can only manipulate the index.html page, and the SVG DOM. Everything else (apart from some other plugins) in C2 is rasterized on the <canvas>, so you won't be able to script that.[/QUOTE]

Still sounds very cool. Do have any samples to share so I can see it in action? I'm most interested in using the SVG DOM, especially in a programmatic way that is supported by HTML5.
Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837

Post » Sun Nov 11, 2012 10:48 pm

Given the new shaders, has anyone found a simple way to do this? I don't think the new webgl blur does exactly this.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Sun Nov 11, 2012 10:51 pm

@firebelly, the webgl blur seems to me to do exactly this - what difference do you notice?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun Nov 11, 2012 11:48 pm

[QUOTE=sqiddster] @firebelly, the webgl blur seems to me to do exactly this - what difference do you notice?[/QUOTE]

So from my tests, WebGL glow and blur use a Gaussian blur to give that fuzzy glow effect. This is not really what I'm looking for. In the original post there are examples of glow. Where the sprite is full resolution with a glow around it. I have included a picture to describe what I am looking for.

I don't want the inner sprite to be blured. I want it full res. I want to able to control the blur color.

Check out the example here.firebelly2012-11-11 23:49:21
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Mon Nov 12, 2012 5:39 am

@firebelly, you'll want to apply the glow, and an rgb filter, to a duplicate of the object placed behind itself. This should give the effect you are after. I agree it's not the most efficient way to do it, but it's probably your best option until someone writes a custom shader.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue Apr 08, 2014 12:58 pm

Thanks for all the helpful info guys this also helped me out too.
B
8
S
1
Posts: 39
Reputation: 685

Post » Mon Nov 09, 2015 11:08 am

Hi All,

Sorry of resurecting this dead post! :), how would this effect be done with todays "Effects" in C2? have tryed with Gl Glow vertical and horizontal and blur.
B
10
S
2
Posts: 17
Reputation: 660

Previous

Return to How do I....?

Who is online

Users browsing this forum: fredriksthlm, MPPlantOfficial and 16 guests