Types/RotatedAnimation4Way: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Prototype property type usage)
(0.18.22)
 
Line 20: Line 20:
=== west ===
=== west ===
'''Type''': [[Types/RotatedAnimation]]
'''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 property type usage|{{FULLPAGENAME}}}}
{{Prototype property type usage|{{FULLPAGENAME}}}}

Latest revision as of 17:49, 30 April 2020

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

Prototype properties that use this type