Types/RotatedAnimation4Way: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "A map of rotated animations for all 4 directions of the entity, or one Types/RotatedAnimation that is used for all directions. == Properties == === north === '''Type''':...")
 
(Prototype property type usage)
Line 20: Line 20:
=== west ===
=== west ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/RotatedAnimation]]


=== sheet ===
=== sheet ===
Line 26: Line 25:


Optional. If given, and [[#sheets]] isnt present, this is used instead of any other properties that may be present.
Optional. If given, and [[#sheets]] isnt present, this is used instead of any other properties that may be present.
{{Prototype property type usage|{{FULLPAGENAME}}}}

Revision as of 17:10, 8 August 2019

A map of rotated animations for all 4 directions of the entity, or one Types/RotatedAnimation that is used for all directions.

Properties

north

Type: Types/RotatedAnimation

Optional. If omitted, the game will not look for any other directions and instead try to load the whole definition as one Types/RotatedAnimation and apply it to all directions.

If north is present, but no other directions are present, the north rotated animation is used for all directions.

east

Type: Types/RotatedAnimation

If east is present, but west is not present, the east rotated animation is used for the west direction.

south

Type: Types/RotatedAnimation

west

Type: Types/RotatedAnimation

sheet

Type: Types/SpriteNWaySheet

Optional. If given, and #sheets isnt present, this is used instead of any other properties that may be present.

Prototype properties that use this type