I downloaded the unCompress dev plugin only because the sample project is down. I tried to follow the video, but if the game doesn't go past the start screen there is not much I can do to test. I will try to ask the creator if it is possible to reupload the sample project.
Edit: I created a project with MV and put the plugin there, same config and no animations set, and in MV doesn't give the error, so there is a problem of compatibility even before being able to put any animations.
Edit2: I am testing on MZ by commenting parts of the code to try to find where is the error, and having uncommented until line 1936 doesn't provoke the crash, same with having from 1997 onwards uncommented (PIXI_extras_AnimatedSprite section).
The culprit seems to be on Sprite_Character_Spriteset_Map between those two sections, as while having only that part commented it doesn't crash. Excluding comments, the code that provokes the error is between 1944 and 1992.
I don't know if it works or not, but at least it isn't instacrash after new game just due to having the plugin active.
Edit3: Managed to cut it down further. The mentioned error is provoked by the lines of code between 1944 and 1947.
It is really two lines of code, so if that is the only problem, I think there is only need to fix these two lines. I don't even know what is their funtion on the script at a whole, but shouln't influence any outside ot the Sprite_Character_Spriteset_Map section.
Spriteset_Map.prototype.initialize = function() {
Spriteset_Base.prototype.initialize.call(this);
};
Here it is the problem, one of these two lines, or both, provokes instacrash with MZ after starting game.
Most likely Spriteset_Base is the culrpit as it isn't used anywhere else of the scripr, while Spriteset_Map is.
Edit4.
I managed to fix it with nothing commented. Now I need to check if it works as expected, but no crashing is already a big thing.
There have been a chance on how Spriteset_Map.prototype.initialize = function() works.
On MV it was required:
Spriteset_Map.prototype.initialize = function() {
Spriteset_Base.prototype.initialize.call(this);
};
However, on MZ, it is required:
Spriteset_Map.prototype.initialize = function() {
Spriteset_Base.prototype.initialize.call(this);
this._balloonSprites = [];
};
Any plugin that used the MV version will fail to work due to the lack of that extra line there that the new core requires.
I can just add the line it manually for my project, but it would be great is Fossil added it when a plugin use this and lacks the line as to improve general compatibility, and not everyone dares to touch the plugin files. There is no default launch errors even without using Fossil (I guess because the plugin requires updating MV Pixi to v5 and MZ used v5 by default).
Now I need try if it works properly, not only not crashes
Edit5: Well, as expected, when I try to put animations it doesn't work.
Although most likely it is me doing something wrong because I get the same error on MV.
There's something weird about what it's doing, since both MZ and MV crash for me because it's expecting
Code:var _debugWindow=require('nw.gui').Window.get().showDevTools();
to store a window reference to _debugWindow, but the showDevTools function doesn't even have a return.
So yeah I'll look at it with a working MV project but otherwise it'd be a bit too far to try to figure out how to make it work in MZ.