The active state for the window
The opacity of the window background (0 to 255)
The bitmap used for the window contents
The bitmap used for the window contents background
The opacity of the window contents (0 to 255)
The visibility of the cursor
The visibility of the down scroll arrow
The visibility of the frame
The height of the window in pixels
The height of the content area in pixels
The rectangle of the content area
The width of the content area in pixels
The size of the margin for the window background
The opacity of the window without contents (0 to 255)
The openness of the window (0 to 255)
The origin point of the window for scrolling
The size of the padding between the frame and contents
The visibility of the pause sign
The visibility of the up scroll arrow
The width of the window in pixels
The image used as a window skin
Adds a child between the background and contents
| Name | Type | Description |
|---|
child | object | The child to add |
Returns:
| Type | Description |
|---|
| object | The child that was added |
Adds a child to the client area
| Name | Type | Description |
|---|
child | object | The child to add |
Returns:
| Type | Description |
|---|
| object | The child that was added |
areSettingsChanged()boolean
Check if the message window settings are changed
Returns:
| Type | Description |
|---|
| boolean | True if message settings changed |
canBreakHere(textState)boolean
Check if the message can break
| Name | Type | Description |
|---|
textState | Object | The text state object |
Returns:
| Type | Description |
|---|
| boolean | True if message can break |
Check if the window can start
Returns:
| Type | Description |
|---|
| boolean | True if the window can start |
Cancels waiting
- Since:
Check if the window should instead stay open if it is closing
Clears window flags
Destroys the window
Check if the message continues
Returns:
| Type | Description |
|---|
| boolean | True if message continues |
Draws the face in the message window
Draws the window shape into PIXI.Graphics object. Used by WindowLayer
Initializes window variables
Initializes the window
isAnySubWindowActive()boolean
Check if there is any sub window that is currently active
Returns:
| Type | Description |
|---|
| boolean | True if choice/num input/event item window is active |
Checks whether the window is completely closed (openness == 0)
Returns:
| Type | Description |
|---|
| boolean | True if the window is closed |
isEndOfText(textState)boolean
Check if there is no more text in the text state
| Name | Type | Description |
|---|
textState | Object | The text state object |
Returns:
| Type | Description |
|---|
| boolean | True if no more text |
Checks whether the window is completely open (openness == 255)
Returns:
| Type | Description |
|---|
| boolean | True if the window is open |
Check if input is triggered
Returns:
| Type | Description |
|---|
| boolean | True if input is triggered |
Check if the window is waiting
- Since:
Returns:
| Type | Description |
|---|
| boolean | True if the window is waiting |
Loads the face image for the message window
Sets the x, y, width, and height of the window
| Name | Type | Description |
|---|
x | number | The new x coordinate of the window |
y | number | The new y coordinate of the window |
width | number | The new width of the window |
height | number | The new height of the window |
Moves the cursor position by the given amount
| Name | Type | Description |
|---|
x | number | The amount of horizontal movement |
y | number | The amount of vertical movement |
Moves the inner children by the given amount
| Name | Type | Description |
|---|
x | number | The amount of horizontal movement |
y | number | The amount of vertical movement |
needsNewPage(textState)boolean
Check if the message needs a new page
| Name | Type | Description |
|---|
textState | Object | The text state object |
Returns:
| Type | Description |
|---|
| boolean | True if a new page is needed |
newLineX(textState)number
Get the x coordinate for a new line
| Name | Type | Description |
|---|
textState | Object | The text state object |
Returns:
| Type | Description |
|---|
| number | The x coordinate of a new line |
Starts a new page
| Name | Type | Description |
|---|
textState | Object | The text state object |
Handling for when there is no more text
processNewPage(textState)
Processes a new page
| Name | Type | Description |
|---|
textState | Object | The text state object |
setChoiceListWindow(nameBoxWindow)
Associates the choice list window
| Name | Type | Description |
|---|
nameBoxWindow | Window_ChoiceList | The choice list window to associate with this window |
Sets the position of the command cursor
| Name | Type | Description |
|---|
x | number | The x coordinate of the cursor |
y | number | The y coordinate of the cursor |
width | number | The width of the cursor |
height | number | The height of the cursor |
setEventItemWindow(nameBoxWindow)
Associates the event item window
| Name | Type | Description |
|---|
nameBoxWindow | Window_EventItem | The event item window to associate with this window |
setGoldWindow(goldWindow)
Associates the gold window
| Name | Type | Description |
|---|
goldWindow | Window_Gold | The gold window to associate with this window |
setNameBoxWindow(nameBoxWindow)
Associates the name box window
| Name | Type | Description |
|---|
nameBoxWindow | Window_NameBox | The name box window to associate with this window |
Associates the number input window
| Name | Type | Description |
|---|
nameBoxWindow | Window_NumberInput | The number input window to associate with this window |
Changes the color of the background
| Name | Type | Description |
|---|
r | number | The red value in the range (-255, 255) |
g | number | The green value in the range (-255, 255) |
b | number | The blue value in the range (-255, 255) |
shouldBreakHere(textState)boolean
Check if the message should break
| Name | Type | Description |
|---|
textState | Object | The text state object |
Returns:
| Type | Description |
|---|
| boolean | True if message should break |
Starts input
Returns:
| Type | Description |
|---|
| boolean | True if input started |
Starts the message
Starts a pause
Starts a wait for the given count
| Name | Type | Description |
|---|
count | number | The amount to wait for |
Sync the name box window with this window
Ends the message
Updates the window for each frame
Updates the window background
Update window input
Returns:
| Type | Description |
|---|
| boolean | True if updated |
Update window loading
Returns:
| Type | Description |
|---|
| boolean | True if updated |
Updates the message
Returns:
| Type | Description |
|---|
| boolean | True if updated |
Update window placements
Update for showing fast
Updates the speaker name for the name box window
Updates the transform on all children of this container for rendering
Updates the window wait
Returns:
| Type | Description |
|---|
| boolean | True if updated |