RPG::Animation::Frame
Data class for animation frames.
Superclass
Referrer
Attributes
cell_max
Number of cells. Equivalent to the largest cell number in the frame set.
cell_data
2-dimensional array containing cell contents (Table).
Generally takes the form cell_data[
cell_index
,
data_index
]
.
data_index
ranges from 0 to 7 and denotes various information about a cell (0: pattern, 1: X-coordinate, 2: Y-coordinate, 3: zoom level, 4: angle of rotation, 5: horizontal flip, 6: opacity, 7: blending mode). Patterns are 1 less than the number displayed in RPGXP; -1 indicates that that cell is not in use.
Definition
Last updated