Prototype/FlyingText: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(0.17) |
||
Line 4: | Line 4: | ||
An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on [[Prototype/Entity]]. | An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on [[Prototype/Entity]]. | ||
== | == Mandatory properties == | ||
=== speed === | === speed === | ||
Line 15: | Line 15: | ||
Time in ticks this flying-text lasts. | Time in ticks this flying-text lasts. | ||
== Optional properties == | |||
=== text_alignment === | === text_alignment === |
Revision as of 14:50, 5 March 2019
Basics
Prototype type: flying-text
An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on Prototype/Entity.
Mandatory properties
speed
Type: Types/float
How fast the text flies up. Seems to be tiles/tick.
time_to_live
Type: Types/uint32
Time in ticks this flying-text lasts.
Optional properties
text_alignment
Type: Types/string
Default: "left"
Options: "left", "center", "right"