I asked the same question a while ago and according to Khas', he'll add in in the next update.@Gonor that's a cool idea! I'll add this feature to the next update.
I am having the same issue as an earlier user and I was curious if this problem was ever solved. Everything worked properly back in May. Once I started working on other maps to get my demo ready, (and received a new computer) I went back to complete finishing touches on those maps and they were no longer working. (I also do not have access to the old computer to test if it still works there)
Any help would be awesome!
Edit: Discovered that when I turn "Variable Fog Density" Off. The error stops happening. So the error has something to do with the variable fog density.
Here's the latest update for Advanced Fog! I've implemented new features and solved some important problems. The full list of changes is below:
* Added "Transfer Reset" parameter
If ON, the fog is reset after every transfer (reset to off).
* Added "Auto Battle Fog" parameter
If ON, battles will use the same fog from map!
* Added colored fog
Now fogs can have colors!
You may add the color: {"r": 0-255, "g": 0-255, "b": 0-255} parameter to any fog's definition.
* Fixed bug "pixi cannot read property 'location' of undefined"
This bug happened to some users of other operating systems, but now it has been fixed.
* Fixed bug with uppercase OFF in [fog OFF]
Now it's less confusing to turn off the fog!
After substituting the old plugin, please delete and add it again in the Plugin Manager! You may check the updated tutorial to learn about how to use the new features.
Please note that the terms of use have been updated! If you want to use this plugin commercially, please read them here.
@Izzybelle @Fred Ransom @dragon1up I've fixed the bug you reported!
Can I have an example of how to change the fog's colours ? Like I've done the following for a map proprietiesHere's the latest update for Advanced Fog! I've implemented new features and solved some important problems. The full list of changes is below:
* Added "Transfer Reset" parameter
If ON, the fog is reset after every transfer (reset to off).
* Added "Auto Battle Fog" parameter
If ON, battles will use the same fog from map!
* Added colored fog
Now fogs can have colors!
You may add the color: {"r": 0-255, "g": 0-255, "b": 0-255} parameter to any fog's definition.
* Fixed bug "pixi cannot read property 'location' of undefined"
This bug happened to some users of other operating systems, but now it has been fixed.
* Fixed bug with uppercase OFF in [fog OFF]
Now it's less confusing to turn off the fog!
After substituting the old plugin, please delete and add it again in the Plugin Manager! You may check the updated tutorial to learn about how to use the new features.
Please note that the terms of use have been updated! If you want to use this plugin commercially, please read them here.
@Izzybelle @Fred Ransom @dragon1up I've fixed the bug you reported!
@dragon1up it can be done only with custom fogs. There's 3 fogs there as an example (red, green and blue).
You just need to add a new line with the color:
blue: {
speed: {x: 0.2, y: 0.07},
size: 1.0,
ambientDensity: 60,
playerDensity: 20,
playerRange: 5,
color: {"r": 0, "g": 0, "b": 255} <--- like this!
},