Anonymous user
Flashlight: Difference between revisions
Jump to navigation
Jump to search
m
→Flashlight.BeamSprite
*>Monkey 05 06 |
*>Monkey 05 06 |
||
Line 32: | Line 32: | ||
Defines the DynamicSprite used as the 'beam' of the flashlight. This is essentially a black square with a transparent hole in the middle. You can use this property to delete the DynamicSprite before you quit the game and you can set the sprite using the Flashlight.SetBeamSprite method. | Defines the DynamicSprite used as the 'beam' of the flashlight. This is essentially a black square with a transparent hole in the middle. You can use this property to delete the DynamicSprite before you quit the game and you can set the sprite using the Flashlight.SetBeamSprite method. | ||
'''NOTE:''' This property does not support sprites with an alpha channel as the sprite is flattened while creating the sprite for the GUI/Overlay. | |||
====Flashlight.Enabled==== | ====Flashlight.Enabled==== |