# HG changeset patch # User Wuzzy # Date 1491666355 -3600 # Node ID 2237b516213b3199e04725cf2feaa6b0074cde55 # Parent 4b9ce09ac7c95e85fc012de80fa21db0c83b9342 Theme: Add water-animation and sd-water-animation diff -r 4b9ce09ac7c9 -r 2237b516213b Theme.wiki --- a/Theme.wiki Thu Apr 06 04:57:14 2017 +0100 +++ b/Theme.wiki Sat Apr 08 16:45:55 2017 +0100 @@ -86,11 +86,21 @@ Default: $80 == `sd-water-opacity` == -The water opacity while in Sudden Death. By default, it has the same value as `water-opacity`, or `$80` if `water-opacity` is unspecified. +The water opacity while in Sudden Death. Syntax and default value is equivalent to `water-opacity`. + +== `water-animation` (0.9.23) == +Specified a custom water animation and flowing speed before Sudden Death. + +Values: frames, frame ticks, movement speed -Values: opacity +* `frames`: Number of frames in `BlueWater.png`. It is suggested to stack the frames horizontally. +* `frame ticks`: Duration of a single frame. Must be >0 if frames>1, otherwise it is ignored +* `movement speed`: How fast the water moves to the right. Higher values means faster movement. If negative, it moves to the left. Use 0 to stop movement -Default: $80 +Default: 1, 0, 1 + +== `sd-water-animation` (0.9.23) == +Sudden Death equivalent of `water-animation`, uses `SDWater.png`. == `music` == Name of the music file to be played in the theme before Sudden Death, e.g. `Nature.ogg`. You find music tracks in `Data/Music` of the Hedgewars installation directory. The file name is case-sensitive!