RPG Maker MZ

RPG Maker MZ

Not enough ratings
WinterDream Plugin: Achievements 1.1
   
Award
Favorite
Favorited
Unfavorite
Type: Resources
Resources Type: Plugins
Flavor: Fantasy
File Size
Posted
Updated
103.410 MB
29 Dec, 2023 @ 6:07am
2 Jan @ 3:36am
2 Change Notes ( view )

Subscribe to download
WinterDream Plugin: Achievements 1.1

Description
Please support me on Ko-Fi[ko-fi.com] for more!
Other plugins on my Itch[winterdreamgamescreator.itch.io] store!

This plugin allows you to add Achievements to your game. Those Achievements will be stored in a JSON and will be shared among all plays and savegames of your project

Be sure to have installed the .js file in the js/plugins folder of your project and the .JSON file in the data folder of your project.

If at any time you want to wipe your achievements data, just open the JSON and write []



PRO TIP: As the Achievments changes are PERMANENT it's useful to keep a hidden event in that adds all the achievements, once you are ready to distribute your game you can whipe and re-add the achievements to reset them.

This plugin comes with the following features:
  • Pictures or Icons: You can use pictures (48x48 px) or RMMZ icons for your achievements
  • AutoGray Feature (only pictures): If you use pictures and you enable Autogray, the plugin will turn pictures to grayscale if the achievement is locked
  • Fulfillments: You can add up to 3 fulfillments per Achievement and you can decide how every each of them is displayed (text, gauge or combination of both). If ALL active fulfillments are met, the plugin will auto-unlock the achievement
  • Hidden achievements: You can set Achievements to "Hidden", they will use a standard format and will hide fulfillments and rewards in the menu
  • PopUp Window: You can choose to show a popUp message when the achievement is unlocked, it can also play a Sound Effect when popping. PopUp window have a built in queque and will display multiple unlocked achievements one by one
  • JSON Auto-Encryption: The plugin offer the option to soft encrypt the JSON file, it's nothing a programmer can't decrypt but it should stop average users from just changing "false" with "true" in the isDone field

Terms of use

Please refer to the Terms of Use. By using this plugin you accept WinterDream terms

Version, bugs and further development


VERSION 1.0:
  • Initial Release

VERSION 1.1:
  • Hotfix for a problem reported by Rizky Fauzy Ananda. The save/load feature of the JSON would crash on web distribution. Added a check to control if the game is played on a local machine and added a new save/load method by key foraging in the event the game is a web distribution. Thanks to Aerosys and caethyril for the help with this fix!

POSSIBLE ISSUES V1.1:

  • Rewards achievements should be unlockable only in game, not in external menu (Ex: Title Screen), didn't have the time to test what happens but I'm pretty sure an error will be thrown
  • PopUp work fine in game, didn't have the time to test what happens if the player changes scene while it's still popping
  • Future released will aim to investigate the above issues, allow text translation and more automation

You can find more scripts and games on my Ko-Fi page:
https://ko-fi.com/winterdream
and on my Itch.io page:
https://winterdreamgamescreator.itch.io/
3 Comments
Winthorp Darkrites  [author] 29 Apr @ 3:45pm 
For installation:

Be sure to have installed the .js file in the js/plugins folder of your project and the .JSON file in the data folder of your project.

For use:

While creating the game create an event and select the "Plugin Command" option, select this plugin and "Add Achievement" (REMOVE the event before distribution)
TheAkiestAki 27 Apr @ 6:16pm 
how do i actually get this in the game
Winthorp Darkrites  [author] 2 Jan @ 3:39am 
Updated to v1.1 (see notes)