From d1e3206af8a41373cc0df72b35c2413211c04436 Mon Sep 17 00:00:00 2001 From: 4ian <1280130+4ian@users.noreply.github.com> Date: Fri, 31 Jul 2026 11:01:13 +0000 Subject: [PATCH] [Auto] [Improve] Documented Tiled Sprite offset scrolling, tint, image swap; fixed Text Entry reference link --- automated_updates_data.json | 4 ++++ docs/gdevelop5/objects/text_entry/index.md | 2 +- docs/gdevelop5/objects/tiled_sprite/index.md | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/automated_updates_data.json b/automated_updates_data.json index 2fa8e494dbb..c384af73762 100644 --- a/automated_updates_data.json +++ b/automated_updates_data.json @@ -104,6 +104,10 @@ { "date": "2026-07-07", "summary": "Improved keyboard docs: added 'Key just pressed' (held vs one-frame) and 'Any key released' conditions, control-remapping note, and a reference list of valid key names" + }, + { + "date": "2026-07-31", + "summary": "Improved Tiled Sprite docs: frame-rate-independent scrolling with image offsets, tint color, and runtime image swapping; fixed wrong reference link in Text Entry docs" } ] } diff --git a/docs/gdevelop5/objects/text_entry/index.md b/docs/gdevelop5/objects/text_entry/index.md index 69032879432..fa1ed769432 100644 --- a/docs/gdevelop5/objects/text_entry/index.md +++ b/docs/gdevelop5/objects/text_entry/index.md @@ -51,4 +51,4 @@ Using events, it is possible to enable or disable the "Text entry" object. Event ## Reference -All actions, conditions and expressions are listed in [the shape painter reference page](/gdevelop5/all-features/text-entry-object/reference/). \ No newline at end of file +All actions, conditions and expressions are listed in [the text entry object reference page](/gdevelop5/all-features/text-entry-object/reference/). \ No newline at end of file diff --git a/docs/gdevelop5/objects/tiled_sprite/index.md b/docs/gdevelop5/objects/tiled_sprite/index.md index c96292dca01..e800a148a55 100644 --- a/docs/gdevelop5/objects/tiled_sprite/index.md +++ b/docs/gdevelop5/objects/tiled_sprite/index.md @@ -47,6 +47,15 @@ You can use events to manipulate the scale and positioning of tiled sprite objec ![](/gdevelop5/objects/ChangeOffsetActions.png) +For a continuously scrolling background, increase the *Image X Offset* (or *Image Y Offset*) a little on every frame — for example by adding a value multiplied by `TimeDelta()` so the speed stays consistent regardless of the frame rate. The offset wraps around automatically as the image repeats. + +#### Tint and change the image + +Two other actions can be useful at runtime: + +* **Tint color** multiplies the image by a color (the default white leaves the image unchanged), which is handy to flash the object or recolor a repeating texture without a separate image. +* **Image** replaces the displayed image with another one from your project's resources, letting you reuse a single object for several repeating textures. + ## Examples !!! tip