Lights
This provides a light object, and a behavior to mark other objects as being obstacles for the lights. This is a great way to create a special atmosphere to your game, along with effects, make it more realistic or to create gameplays based on lights.
Light
Displays a light on the scene, with a customizable radius and color. Add then the Light Obstacle behavior to the objects that must act as obstacle to the lights.
Object actions
Set the color of light object
Set the color of light object in format "R;G;B" string.
Set the radius of light object
Set the radius of light object
No expressions for this object.
Light Obstacle Behavior
Flag objects as being obstacles to light. The light emitted by light objects will be stopped by the object.
No expressions for this behavior.
This page is an auto-generated reference page about the Lights feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.