How to gradually increase the brightness of Sprit?

Get help using Construct 2

Post » Wed Nov 28, 2012 8:34 am

I have a sprite whose brightness needs to be gradually increased and decreased to show a "highlighting" kind of effect. how do i do it ? there are options in WebGL effects like brighness and luminosity but not sure what parameter to set to what value ?

Also can it be done only by WebGL because i wanted to avoid WebGL effects as much as possible to support most browsers and platforms . Please advise.
B
16
S
4
Posts: 248
Reputation: 2,267

Post » Wed Nov 28, 2012 10:18 am

One way of doing this could be by using an animation, create a sprite sheet with the glowing effect working, set it to loop when highlighted and set the animation frame when it is not highlighted.
Not sure if this is what you was looking for but that should help with your problem without using webgl
B
13
S
2
Posts: 87
Reputation: 1,244

Post » Wed Nov 28, 2012 7:22 pm

I have 100's of puzzle pieces (images) i don't think i will be able to create for all of them , if WebGL is the only way , can someone tell me how to do this with the WebGL effects ? the documentation doesn't seems to be very friendly.
B
16
S
4
Posts: 248
Reputation: 2,267


Return to How do I....?

Who is online

Users browsing this forum: Vallar and 22 guests