The game object class for screen effect data, such as changes in color tone and flashes.
Methods
- Get the brightness of the screen
Returns:
Type Description number The brightness - Changes the weather effect for the given duration
Name Type Description type
string The weather type power
number The weather power duration
number The duration of the weather change - Clear screen effects
- Clear fade effect
- Clear flash effect
- Clear pictures
- Clear shake effect
- Clear tone effect
- Clear weather effects
- Clear zoom effect
- Erases battle pictures
- Erases a picture by id
Name Type Description pictureId
number The picture id - Get the flash color of the screen
Returns:
Type Description Array.<number> The flash color - Initialize the screen
- Get the max allowed amount of pictures
Returns:
Type Description number The amount of pictures to allow at maximum - Moves the picture with the given id with options
Name Type Description pictureId
number The picture id to show origin
number The picture origin x
number The picture x coordinate y
number The picture y coordinate scaleX
number The x (horizontal) scale of the picture scaleY
number The y (vertical) scale of the picture opacity
number The opacity of the picture blendMode
number The blend mode of the picture duration
number The duration of the move easingType
number The easing type of the move - Processing when a battle starts
picture(pictureId)Game_Picture
- Get a picture by id
Name Type Description pictureId
number The picture id Returns:
Type Description Game_Picture The picture object - Get the real picture id of a picture
Name Type Description pictureId
number The picture id Returns:
Type Description number The real picture id - Rotates a picture by id at the given speed
Name Type Description pictureId
number The picture id to rotate speed
number The speed of the rotation - Sets the zoom effect
Name Type Description x
number The x coordinate of the zoom y
number The y coordinate of the zoom scale
number The scale of the zoom - Get the shake effect of the screen
Returns:
Type Description number The shake effect - Shows the picture with the given id at the given location with options
Name Type Description pictureId
number The picture id to show name
string The picture image file name origin
number The picture origin x
number The picture x coordinate y
number The picture y coordinate scaleX
number The x (horizontal) scale of the picture scaleY
number The y (vertical) scale of the picture opacity
number The opacity of the picture blendMode
number The blend mode of the picture - Starts a fade in effect for a given duration
Name Type Description duration
number The duration of the fade in - Starts a fade out effect for a given duration
Name Type Description duration
number The duration of the fade out - Starts a flash effect for a given duration
Name Type Description color
Array.<number> The color duration
number The duration of the flash - Starts a flash effect for damage
- Starts a shake effect for a given duration
Name Type Description power
number The power of the shake effect speed
number The speed of the shake effect duration
number The duration of the shake - Starts a tint effect for a given duration
Name Type Description tone
Array.<number> The tone duration
number The duration of the tint - Starts a zoom effect for a given duration
Name Type Description x
number The x coordinate of the zoom y
number The y coordinate of the zoom scale
number The scale of the zoom duration
number The duration of the shake - Tints a picture by id over a duration of time
Name Type Description pictureId
number The picture id to tint tone
Array.<number> The new tone of the picture duration
number The duration of the tint - Get the tone of the screen
Returns:
Type Description Array.<number> The tone - Update the screen
- Update the fade in effect
- Update the fade out effect
- Update the flash effect
- Update the pictures
- Update the shake effect
- Update the tone
- Changes the weather effects
- Update the zoom effect
- Get the weather power of the screen
Returns:
Type Description number The weather power - Get the weather typeof the screen
Returns:
Type Description string The weather type - Get the zoom scale of the screen
Returns:
Type Description number The zoom scale effect - Get the zoom x coordinate
Returns:
Type Description number The zoom x coordinate - Get the zoom y coordinate
Returns:
Type Description number The zoom y coordinate