diff --git a/automated_updates_data.json b/automated_updates_data.json index 2fa8e494dbb..e707d6126ac 100644 --- a/automated_updates_data.json +++ b/automated_updates_data.json @@ -1,5 +1,5 @@ { - "last_automated_updates_commit": "6a91e8b6fa95cbd044cbd768ef8cf34c0f952015", + "last_automated_updates_commit": "8dd5da42d82497acd3eed5d749951bf8ffa1698d", "last_improved_things": [ { "date": "2026-02-16", diff --git a/docs/gdevelop5/objects/tilemap/index.md b/docs/gdevelop5/objects/tilemap/index.md index 07ad41e657a..1836b4788a8 100644 --- a/docs/gdevelop5/objects/tilemap/index.md +++ b/docs/gdevelop5/objects/tilemap/index.md @@ -128,6 +128,12 @@ You can then click **Apply** and drag'n'drop the object on the scene if it's not A platformer game often needs different kind of objects like platforms, jumpthru or ladders. One collision mask should be created for each kind. The example in the following screenshots can be opened in the online editor ([open the project](https://editor.gdevelop.io/?project=example://platformer-with-tilemap)). +### Enable collisions on the object + +Collisions can be generated directly by the External Tilemap object. Enable the **Enable collision** property in the object settings to create hitboxes from the tiles. Use the **Class filter** property to only keep the tiles that have the matching class (set in Tiled 1.9+): this is useful to build a collision mask for a single kind of object, like platforms. + +When several kinds of collisions are needed at once (platforms, ladders, jumpthru...), use separate **Tilemap collision mask** objects instead, as described below. + ### Generating tilemap collision masks automatically !!! warning @@ -213,6 +219,10 @@ In GDevelop, you can choose the speed of the animation(s) of the Tilemap, which ![](pasted/20210104-112229.png) +## Tile manipulation + +Tiles of an External Tilemap can be read and modified in-game through actions and conditions: you can get or replace the tile at given scene or grid coordinates, flip tiles, remove tiles, and change the number of rows and columns of the map. This makes it possible to update the map dynamically while the game is running. + ## Reference All actions, conditions and expressions are listed in [the tilemap reference page](/gdevelop5/all-features/tilemap/reference/).