VisualGearTypes.wiki
changeset 2211 57d667aaef87
parent 2210 73b55ce225f5
child 2212 cfa171e6d226
equal deleted inserted replaced
2210:73b55ce225f5 2211:57d667aaef87
    83 This is shown at the end of a turn to show the total damage received by each hedgehog in that turn, or when a hedgehog drowned.
    83 This is shown at the end of a turn to show the total damage received by each hedgehog in that turn, or when a hedgehog drowned.
    84 But this visual gear is also very useful to show an arbitrary whole number on the screen.
    84 But this visual gear is also very useful to show an arbitrary whole number on the screen.
    85 
    85 
    86 By default, it is white and moves upwards a few pixels before it disappears. Set `dX` and `dY` to 0 to disable movement. If this visual gear was spawned below the water line (`Y>WaterLine`), it will disappear as soon  `Y-10<WaterLine` is `true`.
    86 By default, it is white and moves upwards a few pixels before it disappears. Set `dX` and `dY` to 0 to disable movement. If this visual gear was spawned below the water line (`Y>WaterLine`), it will disappear as soon  `Y-10<WaterLine` is `true`.
    87 
    87 
    88  * `Angle`: Scale ratio. `1` = 100%
    88  * `Angle`: Scale ratio. `0` or `1` = 100%
    89  * `Frame`: If `0`, its position is relative to the landscape. If non-zero, it will align to the screen instead
    89  * `Frame`: If `0`, its position is relative to the landscape. If non-zero, it will align to the screen instead
    90  * `State`: Number to display (must be a whole number)
    90  * `State`: Number to display (must be a whole number)
    91  * `Timer`: Expiration timer
    91  * `Timer`: Expiration timer
    92  * `Tint`: Color of number and border
    92  * `Tint`: Color of number and border
    93  * `Scale`: Unused. Use `Angle` for scaling instead.
    93  * `Scale`: Unused. Use `Angle` for scaling instead.