Gives developers move control over the visual and mechanical aspects of the game’s timer system. – SRD_TimerUpgrade.js

タイトル
Gives developers move control over the visual and mechanical aspects of the game's timer system.
作者名
ヘルプ

Timer Upgrade
Version 1.01
SumRndmDde


This plugin gives developers move control over the visual and mechanical
aspects of the game's timer system.


==============================================================================
Plugin Commands
==============================================================================

The following Plugin Commands can be used to manipulate the extra mechanics
of the upgraded timer:



SetTimer [frames] [seconds] [minutes] [hours]

Using this command, the frames, seconds, minutes, and hours can be set on the
game timer. This allows users to surpass the default settings for the MV
engine and specify the count down to frames.

For example, if you wish to set the timer to 3 minutes, you would do:
SetTimer 0 0 3 0

If you wished to set the timer to 30 frames and 60 seconds, do:
SetTimer 30 60 0 0



AddTimer [frames] [seconds] [minutes] [hours]

Using this command, frames, seconds, minutes, and hours can be added to the
game timer. Instead of replacing the timer value, this command adds to the
current value.

For example, if you wanted to add 5 minutes to the timer, you would do:
AddTimer 0 0 5 0

If you wanted to add 30 frames and 1 hour, you would do:
AddTimer 30 0 0 1



PauseTimer

Using this command, the timer can be paused. This keeps the timer at its
current position until unpaused or restarted.



UnpauseTimer

Using this command, the timer can be unpaused. This will let the timer
continue from when it was paused.



SetExpireCommonEvent [id]

Using this command, the expire Common Event can be set up. This is a Common
Event that will automatically play once the Timer ends. Once the Common
Event has been played, it will no longer be the expire Common Event.



SetTimerLabel [text]

This command allows you to change the timer label in the middle of the game.
Setting this to blank would remove the label.


==============================================================================
End of Help File
==============================================================================

Welcome to the bottom of the Help file.


Thanks for reading!
If you have questions, or if you enjoyed this Plugin, please check
out my YouTube channel!

https://www.youtube.com/c/SumRndmDde


Until next time,
~ SumRndmDde
パラメータ
param Timer Format
desc The format of the timer text. Use the following codes:
%1 - hours | %2 - minutes | %3 - seconds | %4 - frames
default %2:%3:%4

param Timer Position
desc The position of the timer. TOP-L TOP TOP-R
Use the following position codes. BOT-L BOT BOT-R
default TOP

param Timer Start SE
desc The sound effect played when a timer starts. Leave blank to disallow. Use the format: file, volume, pitch, pan
default

param Timer Expire SE
desc The sound effect played when a timer expires. Leave blank to disallow. Use the format: file, volume, pitch, pan
default Bell3, 80, 100, 0

param Pause Color
desc This is the color of the text when the timer is paused.
default #FFFF00

param Use Background
desc If 'true', a subtle background will be used for the timer to help it become more readable.
default true

param == Auto Settings ==
default

param Use Auto-Stop
desc If 'true', then the timer will automatically stop itself and leave the screen when finished.
default true

param Use Auto-Pause
desc If 'true', then the timer will automatically pause while events are running.
default true

param Auto-Pause Opacity
desc This is the opacity of the timer during automatic pausing.
default 120

param Use Auto-Abort
desc If 'true', then battles will be automatically aborted when the timer ends.
default true

param == Label Settings ==
default

param Default Label
desc This is the text of the label by default. Leave blank to use no label.
default

param Label Font Size
desc The font size of the text used for the label.
default 22

param == Font Settings ==
default

param Timer Font
desc The font used for the timer's text.
default GameFont

param Timer Font Size
desc The size of the font used for the timer.
default 32

param Timer Italic
desc If 'true', then the timer's text will be italicized.
default false

param Timer Text Color
desc The color of the timer's text.
default #ffffff

param Timer Outline Color
desc The color of the timer's outline.
default rgba(0, 0, 0, 0.5)

ライセンス表記

紹介ページ https://github.com/SumRndmDde/RPG-Maker-MV-Plugins/blob/master/SRD_TimerUpgrade.js