Re: miniSphere 4.8.4
Reply #1952 –
I don't see any MEngine.prototype.scale() function, are you sure the version you uploaded is the broken version?
Possible bug: You have this.folder set to "@". It isn't recommended to use a SphereFS prefix by itself like that since it won't be recognized as a directory in all contexts. You should add a slash to it ("@/") and then open the map file using:
var raw_data = new FileStream(FS.fullPath(name, this.folder), FileOp.Read);
http://wiki.spheredev.org/index.php/API:FS.fullPath
Which has the added benefit that it always gives you the canonical normalized SphereFS path with no extraneous slashes or relative parts. That lets you use the string returned by a FS.fullPath() as a key to track state for different maps, for example.