Namespace in reactor_objects_legacy.js

Game_CharacterBase

17 functions in 6 groups · hide internal

Everything here is tracked by Game Objects: the party, the map, its events.

Familiar territory. Game_CharacterBase 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

initMembers() Initializes the members.

Getting Information 1

maxPattern() The maximum pattern.

Checks (True / False) 1

isOriginalPattern() Whether it is original pattern.

Actions 3

jump() Jump.
jumpHeight() Jump height.
resetPattern() Resets the pattern.

Updating & Drawing 3

updateMove() Updates the move each frame.
updateJump() Updates the jump each frame.
updateAnimation() Updates the animation each frame.

Other 8

rrTransparency() RPG Maker 2000/2003 transparency: eight levels, opacity (8 - level) * 32 - 1; move routes step it from the ch…
realMoveSpeed() Real move speed.
rrMoveFrequency() Rr move frequency.
rrStepFrequency() A route's Increase/Decrease Frequency: the old engine's 1-8 for the route timing, MZ's 1-5 for the rest.
rrAnimPause() A paused character (a route's Stop Animation) and, with rrLegacyMotion, a jumping one hold the middle frame;…
rrFramesOf() Rr frames of.
pattern() Pattern.
straighten() Straighten.

Setup & Creation

initMembers

method source
Game_CharacterBase.prototype.initMembers()

Initializes the members. (Same as the RPG Maker MZ method of this name.)

Getting Information

maxPattern

method source
Game_CharacterBase.prototype.maxPattern()

The maximum pattern. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isOriginalPattern

method source
Game_CharacterBase.prototype.isOriginalPattern()

Whether it is original pattern. (Same as the RPG Maker MZ method of this name.)

Actions

jump

method source
Game_CharacterBase.prototype.jump(xPlus, yPlus)

Jump. (Same as the RPG Maker MZ method of this name.)

jumpHeight

method source
Game_CharacterBase.prototype.jumpHeight()

Jump height. (Same as the RPG Maker MZ method of this name.)

resetPattern

method source
Game_CharacterBase.prototype.resetPattern()

Resets the pattern. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

updateMove

method source
Game_CharacterBase.prototype.updateMove()

Updates the move each frame. (Same as the RPG Maker MZ method of this name.)

updateJump

method source
Game_CharacterBase.prototype.updateJump()

Updates the jump each frame. (Same as the RPG Maker MZ method of this name.)

updateAnimation

method source
Game_CharacterBase.prototype.updateAnimation()

Updates the animation each frame. (Same as the RPG Maker MZ method of this name.)

Other

rrTransparency

method source
Game_CharacterBase.prototype.rrTransparency(delta)

RPG Maker 2000/2003 transparency: eight levels, opacity (8 - level) * 32 - 1; move routes step it from the character's current level, and an event's page change resets it (3 for a translucent page, else 0) when System.json rrLegacyPageOpacity is set.

Details

RPG Maker 2000/2003 transparency: eight levels, opacity (8 - level) * 32 - 1; move routes step it from the character's current level, and an event's page change resets it (3 for a translucent page, else 0) when System.json rrLegacyPageOpacity is set. A page with rrSpin turns a quarter every 24/16/12/8/6/4 frames by move speed. EasyRPG's Game_Character and Game_Event.

realMoveSpeed

method source
Game_CharacterBase.prototype.realMoveSpeed()

Real move speed. (Same as the RPG Maker MZ method of this name.)

rrMoveFrequency

method source
Game_CharacterBase.prototype.rrMoveFrequency()

Rr move frequency. (Same as the RPG Maker MZ method of this name.)

rrStepFrequency

method source
Game_CharacterBase.prototype.rrStepFrequency(delta)

A route's Increase/Decrease Frequency: the old engine's 1-8 for the route timing, MZ's 1-5 for the rest.

rrAnimPause

method source
Game_CharacterBase.prototype.rrAnimPause(paused)

A paused character (a route's Stop Animation) and, with rrLegacyMotion, a jumping one hold the middle frame; a fixed-graphic page keeps its own (EasyRPG's Game_Character::UpdateAnimation / ResetAnimation).

rrFramesOf

static source
Game_CharacterBase.rrFramesOf(name)

Rr frames of. (Same as the RPG Maker MZ method of this name.)

pattern

method source
Game_CharacterBase.prototype.pattern()

Pattern. (Same as the RPG Maker MZ method of this name.)

straighten

method source
Game_CharacterBase.prototype.straighten()

Straighten. (Same as the RPG Maker MZ method of this name.)