How do I get rid of this problem.
Apr 19 2008, 8:17 pm
There is something weird happening when I run my game. The map is fine and there are no compile errors. The dark grren is supposed to be over the light green. Instead it is making it black.
I have no clue how to fix this or what it is.
Apr 19 2008, 8:32 pm (Edited on Apr 19 2008, 8:42 pm)
Devourer Of Souls
It looks like the light green turfs are getting replaced by the edges of the dark green grass. Are you creating turfs at run time and locating them there?
Apr 19 2008, 8:48 pm
There's only one turf per tile, so when you place a new turf on top of an old one in the map editor the old one becomes an underlay. Underlays will have the same icon state as their base atom, so if the dark green grasses state is "left_edge" and the light green grass below it also has a state of the same name it will be set to it. In the current example, it will likely hide the underlay completely. I'd prefix your turf icon states with the icon's name (eg: "left_edge" in dark_grass.dmi becomes "dark_grass_left_edge") in your .dmi files.
Copyright © 2013 BYOND. All rights reserved.
Terms of Service