Class: Animation

RPG.Animation()

new Animation()

The JSON data structure of an animation. Define to $dataAnimations as Array.
Properties:
Name Type Description
id Number The animation ID.
name String The animation name.
animation1Name String The file name of the first animation's graphic.
animation1Hue Number The adjustment value for the hue of the first animation's graphic (0..360).
animation2Name String The file name of the second animation's graphic.
animation2Hue Number The adjustment value for the hue of the second animation's graphic (0..360).
position Number The base position (0: head, 1: center, 2: feet, 3: screen).
frameMax Number Number of frames.
frames Array.<Array.<Array.<Number>>> The three-dimensional array containing the frame contents.
timings Array.<RPG.Animation.Timing> Timing for SE and flash effects. An RPG.Animation.Timing array.

Extends

Classes

Timing