Types/TileTransitions: Difference between revisions
(0.17) |
(0.18.12: apply_effect_color_to_overlay, masked_background_layer_offset, masked_overlay_layer_offset, overlay_layer_offset, overlay_layer_group, effect_mask) |
||
Line 82: | Line 82: | ||
=== water_patch === | === water_patch === | ||
'''Type''': [[Types/Sprite]] | '''Type''': [[Types/Sprite]] | ||
=== effect_mask === | |||
'''Type''': [[Types/Animation]] | |||
=== layer === | === layer === | ||
'''Type''': [[Types/uint8]] | '''Type''': [[Types/uint8]] | ||
=== overlay_layer_group === | |||
'''Type''': [[Types/string]] | |||
One of "zero", "water", "water-overlay", "ground" and "top". | |||
=== background_layer_group === | === background_layer_group === | ||
'''Type''': [[Types/string]] | '''Type''': [[Types/string]] | ||
One of "zero", "water", "water-overlay", "ground" and "top". | One of "zero", "water", "water-overlay", "ground" and "top". | ||
=== overlay_layer_offset === | |||
'''Type''': [[Types/int8]] | |||
=== masked_overlay_layer_offset === | |||
'''Type''': [[Types/int8]] | |||
'''Default''': 0 | |||
=== background_layer_offset === | === background_layer_offset === | ||
Line 95: | Line 111: | ||
'''Default''': 0 | '''Default''': 0 | ||
=== masked_background_layer_offset === | |||
'''Type''': [[Types/int8]] | |||
=== apply_effect_color_to_overlay === | |||
'''Type''': [[Types/bool]] | |||
'''Default''': false | |||
=== offset_background_layer_by_tile_layer === | === offset_background_layer_by_tile_layer === |
Revision as of 11:48, 17 March 2020
Basics
Used for tile graphics.
Mandatory properties
side
Type: Types/RotatedAnimation
This or side_mask needs to be specified if empty_transitions
is not false.
side_mask
Type: Types/RotatedAnimation
This or side needs to be specified if empty_transitions
is not false.
inner_corner
Type: Types/RotatedAnimation
This or inner_corner_mask needs to be specified if empty_transitions
is not false.
inner_corner_mask
Type: Types/RotatedAnimation
This or inner_corner needs to be specified if empty_transitions
is not false.
outer_corner
Type: Types/RotatedAnimation
This or outer_corner_mask needs to be specified if empty_transitions
is not false.
outer_corner_mask
Type: Types/RotatedAnimation
This or outer_corner needs to be specified if empty_transitions
is not false.
Optional properties
empty_transitions
Type: Types/bool
Default: false
side_background
Type: Types/RotatedAnimation
side_weights
Type: Types/table of Types/float
inner_corner_background
Type: Types/RotatedAnimation
inner_corner_weights
Type: Types/table of Types/float
outer_corner_background
Type: Types/RotatedAnimation
outer_corner_weights
Type: Types/table of Types/float
u_transition
Type: Types/RotatedAnimation
u_transition_mask
Type: Types/RotatedAnimation
u_transition_background
Type: Types/RotatedAnimation
u_transition_weights
Type: Types/table of Types/float
o_transition
Type: Types/Animation
o_transition_mask
Type: Types/Animation
o_transition_background
Type: Types/Animation
water_patch
Type: Types/Sprite
effect_mask
Type: Types/Animation
layer
Type: Types/uint8
overlay_layer_group
Type: Types/string
One of "zero", "water", "water-overlay", "ground" and "top".
background_layer_group
Type: Types/string
One of "zero", "water", "water-overlay", "ground" and "top".
overlay_layer_offset
Type: Types/int8
masked_overlay_layer_offset
Type: Types/int8
Default: 0
background_layer_offset
Type: Types/int8
Default: 0
masked_background_layer_offset
Type: Types/int8
apply_effect_color_to_overlay
Type: Types/bool
Default: false
offset_background_layer_by_tile_layer
Type: Types/bool
Default: false