Updated to 0.20


2022 Apr 13 -> 0.20

  • ** Fixed map/battle log autoscroll.
  • The main script will now throw errors if you enable a component but forget to add/enable the script for it. Example: if you enable MapLog in DdmDrae_Core but forget to enable DdmDrae_MapLog in the plugin manager.
  • Completely re-wrote the Readme.txt and ChangeLog.txt into a google doc with all the plugin commands, script calls, and general information. Now inside the scripts is only the basic information on each plugin command or script call, this is to reduce the amount of commented code that needs to be parsed. Included with the files as DdmDraeDocumentation.docx. Note: I will revisit the script call section in order to format it to be more readable.
  • Implemented code chunking, now to install the main script you also need to include the ddmDraeComponents folder in the root folder. This is to try to remove the large initial size of the js file as more components are added. This also helps that if you don't use certain components that it won't load the js for it. If you don't use electron you don't need to add anything to the index.html. If you use these scripts in an electron project you'll need to add: <script> var global = global || window; </script> above the body tag in the index.html. If you don't you'll get a global undefined error. The other solution I found was to make nodeIntegration:  true and contextIsolation: false but that is very dangerous to do in any  electron project. Added an example index.html for an electron project.
  • Removing a lot of internal/script code duplication, also removed a lot of wasted space in the scripts.
  • Lots of re-organizing the format of the params for the plugin manager.
  • Changed the colours plugin command param to a combo[], it now lists the css colours you can select or type in one if you already know which you would like to use or type in a Hex colour value. Atm it doesn't take RGB values.
  • Changed the BattleLog/MapLog default limit down to 300 each, you're free to change that number if you want.
  • Changed the log loading logic. It now purges the log before loading, so as long as it loads by the DataManager.extractSaveContents you don't need to purge the log before loading. (It won't load the log anyways if you don't use the DataManager.extractSaveContents function).
  • Added escape code \d(){ } to text input, can be used in format blocks. The data names are replaced when the event calls the plugin command and not when they are added onto the log to prevent the leader/member/gold changing on load if the log text is preserved and loaded at a later time after they saved the game.
  • New Component:
    • Quest Log. Barebones functionality, I plan to add some type of rewards etc eventually, also add in quest types for sorting.
  • When starting a new game it will initialise the game switch attached to isFullSwitchId to false.

Files

ddmDraeReact v0.20.zip 168 kB
Apr 13, 2022
ddmDraeMZDemo_0.2.zip 5 MB
Apr 13, 2022
DdmDraeDocumentation.docx 35 kB
Apr 13, 2022

Get -Discontinued- Ddm Draegonis's Rpg Maker MZ React Components

Leave a comment

Log in with itch.io to leave a comment.