I have this error : Utils.parseSoundEffectJSON is not a function so the plugin dosent work it seem to have an error in the code ...
Viewing post in [CGMZ][Alpha] Swimming for RPG Maker MZ comments
Hi, you need to install [CGMZ] Core and/or make sure it is placed above all other [CGMZ] plugins. All of my plugins have this requirement.
This is already done i'm not new with your plugins they are incredibles haha.The only way i find to make the game launch with your plugin is to delete the ' parseSoundEffectJSON ' section from the code and it work but no swim animation, no splash sound and no animation splash but the player jump in water and walk normally. And for the swim animation , when i select my character sprite sheet, is the plugin simulate the swim animation ?
I see, if you already have [CGMZ] Core, then you need to update it if you are getting that error. The parseSoundEffectJSON function comes from my core as multiple plugins of mine have sound effect parameters and I got tired of re-writing the same code over and over again to parse it out into a usable object for the actual code, so I put it in the core. The current version is 1.14.1 but that function was added in 1.12.0 of my core. If you delete the sound effect setup then no sound effect will be able to play.
The splash animation works via spritesheet animation. What does your Splash Animation, animation frame width/height/speed/time parameters look like?
For swimming animation, you will need to create a swim sprite sheet for each actor, and then if that actor is the lead party member it will change their character walking sprite sheet to the swimming sprite sheet while they are swimming and change it back when they stop swimming.
Could you try putting this image as your Splash Animation parameter, and then using the settings Animation Frame Width = 48, Animation Frame Height = 48, Animation Speed = 10, Animation Time = 30? Maybe having a working example you can modify would be easier, so you can see how it works and edit it as needed for your own game.
Also, were you able to get the other issues you were having solved? If you already deleted the parseSoundEffectJSON lines from the code, you will probably need to revert those changes or just redownload the plugin after updating my CGMZ Core to get sound effects working again.