Version 1.4: An important fix and hopefully a definitive solution to pictures alignment
Here we are with a patch that covers two big problems, one is a known problem, the other was a surprise!
The unknown problem was that the plugin would try to load an existing database as encrypted or clear based on the "Encrypt data?" flag, but that happened even the dev changed idea mid development. Trying to load a clear code with encryption would throw a fatal error, while loading an encrypted database without decryption would load gibberish informations that would fatal crash the plugin once the player tried to open the Achievements! Worse, if the dev would only save new info, the plugin creates an half encrypted half decrypted database that is now rendered useless, wipe is the only solution.
Now the plugin will ignore the Encryption flag on database load and will check if the database is encrypted or not before processing the load.
Another long lasting problem are pictures being shown misaligned under certain circumstances (most notably, when UI resolution and Screen resolution don't match, like in the demo version of VisuStella used by many) that I thought to have solved in 1.3 but that seem to not be the case. Now I changed once again the pictures generation moving the process from the Scene to the Window, this way the pictures SHOULD be following perfectly the windows coordinates. I ran many test with many crazy resolutions and all worked just fine, if those problems persist then I would point to a plugin incompatibility with something modeling the graphics.
Final but important note!
It looks like the writer function is slower than the JS code so please give some times between commands. Writing many achievements at once is fine as they simply queque but if you are about to wipe the database then it needs a little time before writing on it again, doing things too fast may result in an incomplete wipe paired with an incomplete writing
VERSION 1.4:
- Fixed a problem that would save achievements in both format (encrypted and clear) if the dev switched Encryption flag while adding them, this would result in a fatal crash once the plugin tries to load the JSON with both encrypted and clear data. The new load method now prevents another fatal crash that would happen when adding an achievement right after wiping the JSON. Thanks to F.O.X. Development for the report.
- Changed the sprite generation function for the achievements pictures, now they anchor to the windows instead of the scene, this should solve once for all the misplacement bug when the UI resolution is different from screen resolution. Plus it should avoid conflict with other plugins that manipulate the windows behaviour (but this is something I can only guarantee to an extent)
Files
Get RPG Maker MZ Plugin: Achievements
RPG Maker MZ Plugin: Achievements
Status | Released |
Category | Assets |
Author | WinterDream Games Creator |
Tags | achievement, achievements, DRM Free, plugin, RPG Maker, RPG Maker MZ |
More posts
- Achievements goes to v1.5: Fix the (High)light33 days ago
- Picture bugfix, external plugin commands and a couple of checksJun 08, 2024
- Minor hotFix in v1.2.1Jun 02, 2024
- Version 1.2: Two QoL plugin commands addedJan 12, 2024
- Hotfix for web distribuited games is out!Dec 30, 2023
- Xmas Gift: Free MZ plugin - Achievements!Dec 25, 2023
Leave a comment
Log in with itch.io to leave a comment.