Types/AnimationVariations: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.16)
(0.17)
Line 6: Line 6:
'''Type''': [[Types/Animation]]
'''Type''': [[Types/Animation]]


An animation. Does not use the <code>layers</code> property. The <code>filename</code> is mandatory. Another mandatory property is <code>variation_count</code>, an [[Types/uint32]].
An animation. Does not use the <code>layers</code> property. The <code>filename</code> is mandatory. Has the following extra properties:
* variation_count - [[Types/uint32]] - Mandatory.
* frame_count - [[Types/uint32]] - Default is 1.
* line_length - [[Types/uint32]] - Default is the value of <code>variation_count</code>.


The variations are arranged vertically in the file, one row for each variation.
The variations are arranged vertically in the file, one row for each variation.

Revision as of 20:14, 7 August 2019

Either specified by list (array) of Types/Animation definitions, or using the below property.

Properties

sheet

Type: Types/Animation

An animation. Does not use the layers property. The filename is mandatory. Has the following extra properties:

The variations are arranged vertically in the file, one row for each variation.