Familiar territory. Game_Player 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
Checks (True / False) 2
| canMove() | Whether it can move. |
| isDashing() | Whether it is dashing. |
Actions 2
| moveStraight() | Move straight. |
| moveDiagonally() | Move diagonally. |
Updating & Drawing 1
| update() | Update. |
Checks (True / False)
canMove
method sourceGame_Player.prototype.canMove()
Whether it can move. (Same as the RPG Maker MZ method of this name.)
isDashing
method sourceGame_Player.prototype.isDashing()
Whether it is dashing. (Same as the RPG Maker MZ method of this name.)
Actions
moveStraight
method sourceGame_Player.prototype.moveStraight(d)
Move straight. (Same as the RPG Maker MZ method of this name.)
moveDiagonally
method sourceGame_Player.prototype.moveDiagonally(horz, vert)
Move diagonally. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceGame_Player.prototype.update(sceneActive)
Update. (Same as the RPG Maker MZ method of this name.)