Flashlight: Difference between revisions
Jump to navigation
Jump to search
*>Monkey 05 06 |
*>Monkey 05 06 |
||
Line 33: | Line 33: | ||
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 | '''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==== |