Flashlight: Difference between revisions
Jump to navigation
Jump to search
*>Monkey 05 06 mNo edit summary |
*>Monkey 05 06 |
||
Line 30: | Line 30: | ||
''writeprotected DynamicSprite* Flashlight.BeamSprite'' | ''writeprotected DynamicSprite* Flashlight.BeamSprite'' | ||
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 {{link||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. | '''NOTE:''' This property does '''NOT''' support sprites with an alpha channel as the sprite is flattened while creating the sprite for the GUI/Overlay. |