Types/AnimationElement: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18.32: hr beacon)
 
(secondary draw order description)
Line 10: Line 10:
=== secondary_draw_order ===
=== secondary_draw_order ===
'''Type''': [[Types/int8|int8]]
'''Type''': [[Types/int8|int8]]
Used to determine render order for sprites with the same <code>render_layer</code> in the same position. Sprites with a higher <code>secondary_draw_order</code> are drawn on top.


=== draw_as_sprite ===
=== draw_as_sprite ===

Revision as of 10:27, 20 August 2021

Used by Types/BeaconGraphicsSet (Prototype/Beacon). This is a Types/table with the below properties.

Optional properties

render_layer

Type: RenderLayer

Default: "object"

secondary_draw_order

Type: int8

Used to determine render order for sprites with the same render_layer in the same position. Sprites with a higher secondary_draw_order are drawn on top.

draw_as_sprite

Type: bool

Default: true

draw_as_light

Type: bool

Default: false

apply_tint

Type: bool

Default: false

always_draw

Type: bool

Default: true

animation

Type: Animation