VisualGearTypes.wiki
changeset 1186 883d411ac1bd
parent 1185 9f16ae26c801
child 1187 70628fea6065
equal deleted inserted replaced
1185:9f16ae26c801 1186:883d411ac1bd
    59 Here you will find a (more or less) detailed references of the various possible values for the visual gears (for `SetVisualGearValues`). This is useful to customize your visual gears.
    59 Here you will find a (more or less) detailed references of the various possible values for the visual gears (for `SetVisualGearValues`). This is useful to customize your visual gears.
    60 
    60 
    61 This section is still under construction!
    61 This section is still under construction!
    62 
    62 
    63 == `vgtCircle` ==
    63 == `vgtCircle` ==
    64 A simple circle which doesn't move. It is one of the few visual gears which is not removed automatically. If you set `dX`, `dY` and `FrameTicks`, the circle pulsates in opacity.
    64 A simple circle which doesn't move. It is one of the few visual gears which is not removed automatically. It can be drawn in 2 different styles. If you set `dX`, `dY` and `FrameTicks`, the circle pulsates in opacity.
    65 
    65 
    66  * `State`: Radius
    66 
    67  * `Timer`: Line thickness (only if `Angle` does not equal `1`)
       
    68  * `dX`: Minimum opacity (0-255)
    67  * `dX`: Minimum opacity (0-255)
    69  * `dY`: Maximum opacity (0-255)
    68  * `dY`: Maximum opacity (0-255)
    70  * `Angle`: Circle style. 1 = Radial gradient (`sprVampiric` sprite). Everything else = Simple line
    69  * `Angle`: Circle style. 1 = Radial gradient (`sprVampiric` sprite). Everything else = Simple line
    71  * `FrameTicks`: Speed of opacity change. 0 = no change
    70  * `FrameTicks`: Speed of opacity change. 0 = no change
       
    71  * `State`: Radius
       
    72  * `Timer`: Line thickness (only if `Angle` does not equal `1`)
    72 
    73 
    73 == `vgtAmmo` ==
    74 == `vgtAmmo` ==
    74 Displays an ammo icon.
    75 Displays an ammo icon.
    75 
    76 
    76  * `Frame`: !AmmoType ID of ammo to display (see [AmmoTypes])
    77  * `Frame`: !AmmoType ID of ammo to display (see [AmmoTypes])
    77 
    78 
    78 == `vgtHealthTag` ==
    79 == `vgtHealthTag` ==
    79 A health tag for hedgehogs. But with a few changes, this is also useful to display arbitray numbers on the screen.
    80 A health tag for hedgehogs. But with a few changes, this is also useful to display arbitray numbers on the screen.
    80 
    81 
    81  * `State`: Number to display
       
    82  * `Angle`: Scale ratio. `1` = 100%
    82  * `Angle`: Scale ratio. `1` = 100%
    83  * `Frame`: If `0`, it is part of the landscape. If non-zero, it will align to the screen instead
    83  * `Frame`: If `0`, it is part of the landscape. If non-zero, it will align to the screen instead
       
    84  * `State`: Number to display
    84  * `Timer`: Expiration timer
    85  * `Timer`: Expiration timer
    85 
    86 
    86 == `vgtSpeechBubble` ==
    87 == `vgtSpeechBubble` ==
    87 Displays a speech bubble. Use `HogSay` to spawn speech bubbles.
    88 Displays a speech bubble. Use `HogSay` to spawn speech bubbles.
    88 
    89