Code:
Problem description:i have tried to make climate changes over the time like in winter it snows and all the grass turns into snow the only problem is that when i have icon placed on turf (like 16x16 px turf) the grass stays the same making the map look horrible can anyone think of a way to do it other then making a seprate z layer.
Here is what happens
http://www.4shared.com/zip/S9vdLIDo/Weather_Demo.html |
can anyone help me according to what NNAAAAHH gave me it works when its plain but when it has turf like half of 32x32 it just not change that
edit: here is the demo of what happens http://www.4shared.com/zip/S9vdLIDo/Weather_Demo.html |
In response to Lord Kakarot
|
|
I don't like 4shared, which is why I ignored your demo in the first place. I don't understand what it is exactly you're trying to say either.
|
I'm not going to download an HTML file, because I don't see how that would explain your situation, but I'm assuming you're talking about turf underlays (when you stack two turfs in the map editor, the bottom turfs turn into underlays).
You'll have to cycle through each turf's underlays and update them accordingly. Underlays and overlays are technically a hidden "appearance" type, but you can usually access most of their properties as if they were an image. You'll have to remove the underlays you want to update, create a new image based on them, and add that new image to the underlays. |
for darkCampainger its not html page its a zip file embedded on that page but for NNAAAAHH sorry for that here is a direct link i was just trying to be lazy and not logging on to my angelfire acc
http://hassanjalil.angelfire.com/Weather_Demo.zip please reply ASAP i need to levelup on my knowledge and add this system in some of my games |
In response to Lord Kakarot
|
|
Well, it appears you are changing the grass but not the turfs defined 'Wall', this is probably becuase of whatever you're using in the for() loop.
turf/WeatherEffected//[EDIT] create a path specific to the weather changable turfs [END EDIT] |
Is this "Wall" a turf that's layered over the grass? If so, see my previous post for the solution.
If not, we need more details about the tiles that aren't changing. |
In response to DarkCampainger
|
|
as it is the turf cause most of the items on map in my game are based on turf and obj but still i dont get it what you said in ur previous post can you provide a little code?
|
http://www.byond.com/developer/Shadowdarke/OutsideArea