From 67b1438608961c2cdf2f8f1eca486c7cb5f44909 Mon Sep 17 00:00:00 2001 From: 4ian <1280130+4ian@users.noreply.github.com> Date: Wed, 9 Sep 2026 08:27:06 +0000 Subject: [PATCH] [Auto] [Update] Document that textured 2D lights can now be rotated to point in a direction --- automated_updates_data.json | 2 +- docs/gdevelop5/objects/light/index.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/automated_updates_data.json b/automated_updates_data.json index 88dd158d37..9b7013405c 100644 --- a/automated_updates_data.json +++ b/automated_updates_data.json @@ -1,5 +1,5 @@ { - "last_automated_updates_commit": "7902b7ffb6c673b0ef13f5a23b85ce339cf6de40", + "last_automated_updates_commit": "84ae9028883354352fe9a575ed732936d7628909", "last_improved_things": [ { "date": "2026-02-16", diff --git a/docs/gdevelop5/objects/light/index.md b/docs/gdevelop5/objects/light/index.md index f149ab0d6f..dc94f1e65a 100644 --- a/docs/gdevelop5/objects/light/index.md +++ b/docs/gdevelop5/objects/light/index.md @@ -34,6 +34,8 @@ The light texture property allows you to create a custom shape for the light. Wi By providing a texture image, you can control the shape and pattern of the light. For instance, a flashlight effect can be achieved by using a cone-shaped texture. +When a texture is used, the light follows the object's angle, so you can rotate a textured light to point it in any direction (for example, to make a flashlight aim where the player is facing). + | ![The light texture used in the object.](Cone_Light.png) | ![The result of a light texture in game](result_light_texture.png) | |---|---| | The light texture used in the object. | The result in game. |