Link Search Menu Expand Document

Game_Screen.d overview


Table of contents


utils

Game_Screen (class)

Game_Screen

The game object class for screen effect data, such as changes in color tone // and flashes.

Signature

export declare class Game_Screen

clear (method)

Signature

clear(): void

onBattleStart (method)

Signature

onBattleStart(): void

brightness (method)

Signature

brightness(): number

tone (method)

Signature

tone(): [number, number, number, number]

flashColor (method)

Signature

flashColor(): [number, number, number, number]

shake (method)

Signature

shake(): number

zoomX (method)

Signature

zoomX(): number

zoomY (method)

Signature

zoomY(): number

zoomScale (method)

Signature

zoomScale(): number

weatherType (method)

Signature

weatherType(): WeatherType

weatherPower (method)

Signature

weatherPower(): number

picture (method)

Signature

picture(pictureId: PictureID): Game_Picture | null

realPictureId (method)

Signature

realPictureId(pictureId: PictureID): number

clearFade (method)

Signature

clearFade(): void

clearTone (method)

Signature

clearTone(): void

clearFlash (method)

Signature

clearFlash(): void

clearShake (method)

Signature

clearShake(): void

clearZoom (method)

Signature

clearZoom(): void

clearWeather (method)

Signature

clearWeather(): void

clearPictures (method)

Signature

clearPictures(): void

eraseBattlePictures (method)

Signature

eraseBattlePictures(): void

maxPictures (method)

Signature

maxPictures(): number

startFadeOut (method)

Signature

startFadeOut(duration: number): void

startFadeIn (method)

Signature

startFadeIn(duration: number): void

startTint (method)

Signature

startTint(tone: Color, duration: number): void

startFlash (method)

Signature

startFlash(color: Color, duration: number): void

startShake (method)

Signature

startShake(power: number, speed: number, duration: number): void

startZoom (method)

Signature

startZoom(x: number, y: number, scale: number, duration: number): void

setZoom (method)

Signature

setZoom(x: number, y: number, scale: number): void

changeWeather (method)

Signature

changeWeather(type: WeatherType, power: number, duration: number): void

update (method)

Signature

update(): void

updateFadeOut (method)

Signature

updateFadeOut(): void

updateFadeIn (method)

Signature

updateFadeIn(): void

updateTone (method)

Signature

updateTone(): void

updateFlash (method)

Signature

updateFlash(): void

updateShake (method)

Signature

updateShake(): void

updateZoom (method)

Signature

updateZoom(): void

updateWeather (method)

Signature

updateWeather(): void

updatePictures (method)

Signature

updatePictures(): void

startFlashForDamage (method)

Signature

startFlashForDamage(): void

showPicture (method)

Signature

showPicture(
    pictureId: PictureID,
    name: string,
    origin: number,
    x: number,
    y: number,
    scaleX: number,
    scaleY: number,
    opacity: number,
    blendMode: PIXI.BLEND_MODES
  ): void

movePicture (method)

Signature

movePicture(
    pictureId: PictureID,
    origin: number,
    x: number,
    y: number,
    scaleX: number,
    scaleY: number,
    opacity: number,
    blendMode: PIXI.BLEND_MODES,
    duration: number,
    easingType: PictureEasingType
  ): void

rotatePicture (method)

Signature

rotatePicture(pictureId: PictureID, speed: number): void

tintPicture (method)

Signature

tintPicture(pictureId: PictureID, tone: Color, duration: number): void

erasePicture (method)

Signature

erasePicture(pictureId: PictureID): void

_brightness (property)

Signature

_brightness: number

_fadeOutDuration (property)

Signature

_fadeOutDuration: number

_fadeInDuration (property)

Signature

_fadeInDuration: number

_tone (property)

Signature

_tone: [number, number, number, number]

_toneTarget (property)

Signature

_toneTarget: Color

_toneDuration (property)

Signature

_toneDuration: number

_flashColor (property)

Signature

_flashColor: [number, number, number, number]

_flashDuration (property)

Signature

_flashDuration: number

_shakePower (property)

Signature

_shakePower: number

_shakeSpeed (property)

Signature

_shakeSpeed: number

_shakeDuration (property)

Signature

_shakeDuration: number

_shakeDirection (property)

Signature

_shakeDirection: number

_shake (property)

Signature

_shake: number

_zoomX (property)

Signature

_zoomX: number

_zoomY (property)

Signature

_zoomY: number

_zoomScale (property)

Signature

_zoomScale: number

_zoomScaleTarget (property)

Signature

_zoomScaleTarget: number

_zoomDuration (property)

Signature

_zoomDuration: number

_weatherType (property)

Signature

_weatherType: WeatherType

_weatherPower (property)

Signature

_weatherPower: number

_weatherPowerTarget (property)

Signature

_weatherPowerTarget: number

_weatherDuration (property)

Signature

_weatherDuration: number

_pictures (property)

Signature

_pictures: (Game_Picture | null)[]