Familiar territory. Game_Timer keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Setup & Creation 1
| initialize() | Sets up a new instance. |
Checks (True / False) 1
| isWorking() | Whether it is working. |
Events, Commands & Input 1
| onExpire() | Called when expire happens. |
Updating & Drawing 1
| update() | Update. |
Other 5
| rrTimer() | Separate, saved 2000/2003 timers; ordinary projects retain the single MZ timer. |
| rrLegacyControl() | Rr legacy control. |
| rrSecondsChanged() | Pages of an imported 2000/2003 map that wait on the timer (rrTimerSec) are looked at again when its whole sec… |
| seconds() | Seconds. |
| frames() | Frames. |
Setup & Creation
initialize
method sourceGame_Timer.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isWorking
method sourceGame_Timer.prototype.isWorking()
Whether it is working. (Same as the RPG Maker MZ method of this name.)
Actions
start
method sourceGame_Timer.prototype.start(count)
Start. (Same as the RPG Maker MZ method of this name.)
stop
method sourceGame_Timer.prototype.stop()
Stop. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onExpire
method sourceGame_Timer.prototype.onExpire()
Called when expire happens. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceGame_Timer.prototype.update(sceneActive)
Update. (Same as the RPG Maker MZ method of this name.)
Other
rrTimer
method sourceGame_Timer.prototype.rrTimer(id)
Separate, saved 2000/2003 timers; ordinary projects retain the single MZ timer.
rrLegacyControl
method sourceGame_Timer.prototype.rrLegacyControl(id, operation, seconds, visible, battle)
Rr legacy control. (Same as the RPG Maker MZ method of this name.)
rrSecondsChanged
method sourceGame_Timer.prototype.rrSecondsChanged()
Pages of an imported 2000/2003 map that wait on the timer (rrTimerSec) are looked at again when its whole seconds change: a count down changes no switch or variable, all MZ refreshes pages for.
Details
Pages of an imported 2000/2003 map that wait on the timer (rrTimerSec) are looked at again when its whole seconds change: a count down changes no switch or variable, all MZ refreshes pages for. Other maps pay nothing.
seconds
method sourceGame_Timer.prototype.seconds()
Seconds. (Same as the RPG Maker MZ method of this name.)
frames
method sourceGame_Timer.prototype.frames()
Frames. (Same as the RPG Maker MZ method of this name.)