Blinking over an image

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
rtr_18
Posts: 60
Joined: Thu Jun 10, 2010 8:35 am
Location: Programmer

Blinking over an image

Post by rtr_18 »

Hi!
I've used a blue coloured circle image for the completed levels and red coloured circle image for the locked levels(yet to be completed). I've used the blue coloured circle image for the current level also. But I want to discriminate the current level from the completed levels by making a blink around the image. How to make a blinking circle over a circular image? Can anybody tell me how to do this?
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Post by Seven »

couldnt you have two images, with the first being a solid circle and the second one being a hollowed out circle and just make the second one visible / invisible on a timer? You would need to make the second one an Alpha render but it should work fine. Also, if you vary the alpha of the second circle, you could fade it in / out instead of blinking if you desired.
Post Reply