ID:1182779
![]() Feb 28 2013, 8:23 pm
|
|
Is it possible to create a turf at runtime, and have it as a layer above an existing turf? For example, a tile of sand and then a transparent water layer.
|
Sorry to necro-bump but I want this to be here for future forum information searching.
Only 1 turf can exist at a location at a time. In the dream maker map editor, adding a turf to that location simply creates an overlay (or underlay) depending on the layering. To do this at run-time, you'd have to keep a copy of what the turf used to be in a variable, create the new turf, then add the old turf as an underlay. |
Or, you could use an overlay and give turfs a variable saying they're wet and to treat them like water.