MirrorArea
┗> Event > Object > Class
Creates a region in the Overworld that reflects characters inside it.
MirrorArea
is an Event
- naming an object mirror
on an objects
layer in a map creates this object.
See this object's Fields for the configurable properties on this object.
To customise how mirror sprites are displayed, refer to Actor
s and their mirror_sprites
table and functions: getMirrorSprites
, getMirrorSprite
Constructor
MirrorArea(x: any, y: any, shape: any, properties: any)
Arguments:
x: any | |
y: any | |
shape: any | |
properties: any |
Methods
MirrorArea:drawCharacter(chara: Character)
Draws a character's reflection
Arguments:
chara: Character | All types of character in the overworld inherit from the |
MirrorArea:drawMirror()
Finds and draws all character's reflections
Fields
MirrorArea.offset: number
[Property offset
] The y-offset for reflections drawn in this mirror (Defaults to 0
)
MirrorArea.opacity: number
[Property opacity
] The opacity of reflections drawn in the mirror (Defaults to 1
)