ID:273834
May 31 2011, 2:33 pm
|
|
I'm trying to overlap icons. I used the "Ctrl-Click to insert" and it looks right on the map, but then I run the game and I can only see the top icon surrounded by black, rather than seeing the bottom icon beneath it. What am I doing wrong?
|
May 31 2011, 2:51 pm
|
|
Can you tell us anything about the (turfs)?
|
In response to DarkProtest
|
|
There's nothing defined about them at all except the icon and clearing the name, and then for some of them I manually changed the icon_state.
|
In response to Chessmaster_19
|
|
That's really funny; the problem was that I was just leaving the icon_state as blank and using the default icon_state for the base icon. When I layered it, it no longer used the default icon_state.
Is this a bug? Or just an obscure rule for how icon_states work? (Or is using the default icon_state simply depreciated?) |
In response to Chessmaster_19
|
|
turf Setting the icon's layer above that of a normal turf's layer will layer it over any other turf with normal TURF_LAYER. This can also be identified with MOB_LAYER, FLOAT_LAYER, or just a numeral value. |
In response to Chessmaster_19
|
|
Chessmaster_19 wrote:
That's really funny; the problem was that I was just leaving the icon_state as blank and using the default icon_state for the base icon. When I layered it, it no longer used the default icon_state. It's a special behavior of overlays. When an overlay's icon, icon_state, or dir are left blank, it will assume the values of the object it's attached to. This applies to flick() as well. |