Game Development Community

Modifying Alpha levels for a GUI

by Alebrije Estudios · in Torque Game Builder · 09/14/2009 (5:12 pm) · 0 replies

Alright, so I'm trying to get this .png to regularly be invisible, but have the opacity of it be increased or decreased in a function.

Now, whole problem is that I can't seem to modify the fillcolor of a GuiBitmapCtrl, or at least that's where I think the issue lies. I've been reading around and people keep talking about modifying some .cc file which I can't seem to find anywhere, or the engine source code.

Anyone have any tips?

edit: I should note that I'm using it as a gui since I have a camera zooming in and out, and I'd like this image to be on top of all layers and always remain relative to the screen.

About the author

Alebrije Estudios is a Mex. independent vid game studio. We have 3 main lines of business: in-house developments w/ projects published in the iTunes St., FB, & looking 4 Publisher; advergames; & outsourcing of creative processes. @mike_alebrije