en:yaml:tiles-tilemaps
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:yaml:tiles-tilemaps [2026/08/31 20:55] – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | en:yaml:tiles-tilemaps [2026/10/19 04:16] (Version actuelle) – Retrait du tutoriel 2D et de ses liens, a la demande de l'auteur cyrilfiesta | ||
|---|---|---|---|
| Ligne 22: | Ligne 22: | ||
| ===== Building A Grid ===== | ===== Building A Grid ===== | ||
| + | |||
| + | This **3x2** grid has **3 columns and 2 rows**. It mixes direct images and tiles extracted from the showcase' | ||
| <code yaml> | <code yaml> | ||
| text: | | text: | | ||
| - | [[grid:3x3]] | + | [[grid:3x2]] |
| - | /scenarios/images/test/ | + | |
| - | | + | |
| - | / | + | |
| [[/grid]] | [[/grid]] | ||
| </ | </ | ||
| + | |||
| + | The dimensions after '' | ||
| Each cell contains either an extracted tile with '' | Each cell contains either an extracted tile with '' | ||
| Ligne 56: | Ligne 59: | ||
| * The linter reports incomplete grids. | * The linter reports incomplete grids. | ||
| * On adapters that cannot display an interactive tilemap, a fallback rendering is used. | * On adapters that cannot display an interactive tilemap, a fallback rendering is used. | ||
| + | |||
| + | ===== Grid from a list (4.17) ===== | ||
| + | |||
| + | <code yaml> | ||
| + | lists: | ||
| + | images: [portrait.png, | ||
| + | rooms: | ||
| + | - id: gallery | ||
| + | text: ' | ||
| + | </ | ||
| + | |||
| + | The first number sets the columns; rows are calculated. Each value is an image or sprite reference without tags. An empty string reserves a blank cell. The last row is padded if needed; an empty list displays one blank row. The total is limited to **1,000 cells**, including blanks. | ||
| + | |||
| + | A list path also works, including inside a loop. Rendering changes no data and adds no movement or collision rules. The '' | ||
| + | |||
| + | HTML exports collect known images from declared lists and collections. Addresses calculated or received during play follow the dynamic media rules. | ||
en/yaml/tiles-tilemaps.1788202557.txt.gz · Dernière modification : de cyrilfiesta
