Documentation
Quick InfoVersion: Alpha R2
Made for RPG Maker MZ 1.9.0
FormatThere are multiple formats the timer can be displayed. They are explained below:
Clock - The number will be displayed as X:XX with the minutes and seconds separated by a colon. This will look like a clock. For example, 1 minute and 20 seconds would appear as 1:20
Number - The number will be displayed as a simple number. For example, 1 minute and 20 seconds would appear as 80.
Time OperationsThis plugin allows you to perform various math operations on the timer's frames. These include:
+: Add an amount of frames
-: Subtract an amount of frames
*: Multiply frames by a number
/: Divide frames by a number
%: Modular division on the timer's frames
=: Set the frames to a specific amount
Every 60 frames represents 1 second.
Plugin CommandsThis plugin supports the following plugin commands:
Change Preset
Change the preset used by the timer.
Change Time
Add, subtract, multiply, divide operations for the time in the timer. This uses Frames for add/subtract. When multiplying or dividing, it will also multiply or divide the frames. This may mean you are dividing by a fraction of a second, for example.
Change Timer Speed
Change the timer speed.
Saved GamesThis plugin is fully compatible with saved games. This means you can:
✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.
Filename
The filename for this plugin MUST remain CGMZ_Timer.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.
Known Issues
This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.
Compatibility
This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.
Version HistoryVersion AlphaR2
- Added timer x and y offsets
- Added [CGMZ] Toast Manager integration
- Fix crash when trying to use nonexistant preset
- Fix bug with timer showing NaN in saves from before plugin was added