Class in reactor_core_display.js

ScreenSprite

5 functions in 2 groups · hide internal

The Database: everything Core loads at boot.

Familiar territory. ScreenSprite keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

The sprite which covers the entire game screen.

@class
@extends
PIXI.Container
function ScreenSprite()

Quick Reference

Setup & Creation 1

initialize() Sets up a new instance.

Actions 4

destroy() Destroys the screen sprite.
setBlack() Sets black to the color of the screen sprite.
setWhite() Sets white to the color of the screen sprite.
setColor() Sets the color of the screen sprite by values.

Setup & Creation

initialize

method source
ScreenSprite.prototype.initialize()

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

Actions

destroy

method source
ScreenSprite.prototype.destroy()

Destroys the screen sprite.

setBlack

method source
ScreenSprite.prototype.setBlack()

Sets black to the color of the screen sprite.

setWhite

method source
ScreenSprite.prototype.setWhite()

Sets white to the color of the screen sprite.

setColor

method source
ScreenSprite.prototype.setColor(r, g, b)

Sets the color of the screen sprite by values.

Details

Sets the color of the screen sprite by values.

@param
r number The red value in the range (0, 255).
@param
g number The green value in the range (0, 255).
@param
b number The blue value in the range (0, 255).