I have been working on converting a pixel gauge plugin to MZ, but I am stuck.
The original MV version was found at: https://forums.rpgmakerweb.com/index.php?threads/gage-images.88371/
I have taken out all the code from MV that was causing errors, and it displays fine in the menu and appears in battle as I would like, but the bar does not adjust when the player takes damage or heals etc..
I am fairly sure this is because I am not using the new MZ 'Sprite_Gauge'. I have looked over the FOSSIL.js (https://forums.rpgmakerweb.com/inde...-plugins-in-mz-300-plugins-fossilized.135523/) code to try and see how the gauges work (that plugin also overrides gauge functions for MV compatibility) and also the core js files but I just cannot get my head around how to merge the pixel gauge code in there.
I have included my modified plugin, along with the original MV version in the hopes that someone who does understand the gauges can help me integrate it.
The original MV version was found at: https://forums.rpgmakerweb.com/index.php?threads/gage-images.88371/
I have taken out all the code from MV that was causing errors, and it displays fine in the menu and appears in battle as I would like, but the bar does not adjust when the player takes damage or heals etc..
I am fairly sure this is because I am not using the new MZ 'Sprite_Gauge'. I have looked over the FOSSIL.js (https://forums.rpgmakerweb.com/inde...-plugins-in-mz-300-plugins-fossilized.135523/) code to try and see how the gauges work (that plugin also overrides gauge functions for MV compatibility) and also the core js files but I just cannot get my head around how to merge the pixel gauge code in there.
I have included my modified plugin, along with the original MV version in the hopes that someone who does understand the gauges can help me integrate it.