Link Search Menu Expand Document

Sprite_AnimationMV.d overview


Table of contents


utils

Sprite_AnimationMV (class)

// Sprite_AnimationMV // // The sprite for displaying an old format animation.

Signature

export declare class Sprite_AnimationMV {
  constructor()
}

initMembers (method)

Signature

initMembers(): void

setup (method)

Signature

setup(
    targets: Sprite[],
    animation: DataAnimationMV,
    mirror: boolean,
    delay: number,
    _previous: Sprite_AnimationMV | null
  ): void

setupRate (method)

Signature

setupRate(): void

setupDuration (method)

Signature

setupDuration(): void

update (method)

Signature

update(): void

updateFlash (method)

Signature

updateFlash(): void

updateScreenFlash (method)

Signature

updateScreenFlash(): void

absoluteX (method)

Signature

absoluteX(): number

absoluteY (method)

Signature

absoluteY(): number

updateHiding (method)

Signature

updateHiding(): void

isPlaying (method)

Signature

isPlaying(): boolean

loadBitmaps (method)

Signature

loadBitmaps(): void

isReady (method)

Signature

isReady(): boolean

createCellSprites (method)

Signature

createCellSprites(): void

createScreenFlashSprite (method)

Signature

createScreenFlashSprite(): void

updateMain (method)

Signature

updateMain(): void

updatePosition (method)

Signature

updatePosition(): void

updateFrame (method)

Signature

updateFrame(): void

currentFrameIndex (method)

Signature

currentFrameIndex(): number

updateAllCellSprites (method)

Signature

updateAllCellSprites(frame: DataFrameMV): void

updateCellSprite (method)

Signature

updateCellSprite(sprite: Sprite, cell: DataFrameCellMV): void

processTimingData (method)

Signature

processTimingData(timing: DataTimingMV): void

startFlash (method)

Signature

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

startScreenFlash (method)

Signature

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

startHiding (method)

Signature

startHiding(duration: number): void

onEnd (method)

Signature

onEnd(): void

_targets (property)

Signature

_targets: Sprite < Bitmap > []

_animation (property)

Signature

_animation: DataAnimationMV

_mirror (property)

Signature

_mirror: boolean

_delay (property)

Signature

_delay: number

_rate (property)

Signature

_rate: number

_duration (property)

Signature

_duration: number

_flashColor (property)

Signature

_flashColor: [number, number, number, number]

_flashDuration (property)

Signature

_flashDuration: number

_screenFlashDuration (property)

Signature

_screenFlashDuration: number

_hidingDuration (property)

Signature

_hidingDuration: number

_hue1 (property)

Signature

_hue1: number

_hue2 (property)

Signature

_hue2: number

_bitmap1 (property)

Signature

_bitmap1: Bitmap

_bitmap2 (property)

Signature

_bitmap2: Bitmap

_cellSprites (property)

Signature

_cellSprites: Sprite < Bitmap > []

_screenFlashSprite (property)

Signature

_screenFlashSprite: ScreenSprite | null

targetObjects (property)

Signature

targetObjects: AnimationTarget[] | undefined