icon-=rgb(0,0,0,155)
or maybe using transparent icon
my main concern is the info box background to be transparent.
ID:808294
Jun 10 2012, 7:59 am
|
|
As Forum Account shown in version 5 where when player moves their info box dis appear. is there a way to make it transparent using
icon-=rgb(0,0,0,155) or maybe using transparent icon my main concern is the info box background to be transparent. |
i did in game but now the problem is that how would i remove these or change their states when they are already added to hud.
add(0, 0, "box-bottom-left") |
If you want to change between the normal and partially transparent icons instead of hiding or showing it completely, you'd have to change each object's icon, like this:
InfoBox |
You can make a new icon (ex: info-box.dmi), copy the states from framework-hud.dmi, make the background ones partially transparent, and put this in your code: