Types/RotatedAnimation4Way

From Official Factorio Wiki
Revision as of 17:10, 8 August 2019 by Bilka (talk | contribs) (Prototype property type usage)
Jump to navigation Jump to search

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.

Template:Prototype property type usage