91
Ask a Question / Help with drawing rectangles/health bars
« on: October 20, 2013, 11:29:53 am »
Hi,
Im creating a count down timer that is drawn as a rectangle, like a health bar.
I want to have a background rectangle, the health bar then an actor on top of it.
Right now I have both the rectangles set to overlay, it works pretty well but the bars are slightly transparent so the back ground can be seen though slightly.
Is there a way to make the bars solid and still have an actor visible on top of them? I notice the drawn rectangles are not affected by layers,
Thanks.
Im creating a count down timer that is drawn as a rectangle, like a health bar.
I want to have a background rectangle, the health bar then an actor on top of it.
Right now I have both the rectangles set to overlay, it works pretty well but the bars are slightly transparent so the back ground can be seen though slightly.
Is there a way to make the bars solid and still have an actor visible on top of them? I notice the drawn rectangles are not affected by layers,
Thanks.