diff --git a/automated_updates_data.json b/automated_updates_data.json index f4814526d15..04485df38e8 100644 --- a/automated_updates_data.json +++ b/automated_updates_data.json @@ -1,5 +1,5 @@ { - "last_automated_updates_commit": "2aa0fdea7bb1367dae9b31588ad3702f8f1b5be5", + "last_automated_updates_commit": "3e59726a89258471323568d0a1f1cb592d843463", "last_improved_things": [ { "date": "2026-02-16", diff --git a/docs/gdevelop5/tutorials/how-to-use-gdevelop-as-a-team/index.md b/docs/gdevelop5/tutorials/how-to-use-gdevelop-as-a-team/index.md index 46340268ddb..f479f76cc2b 100644 --- a/docs/gdevelop5/tutorials/how-to-use-gdevelop-as-a-team/index.md +++ b/docs/gdevelop5/tutorials/how-to-use-gdevelop-as-a-team/index.md @@ -97,6 +97,25 @@ toolbarButtons: A button with a `hook` still appears in the toolbar and can be clicked manually as well. GDevelop will show a one-time security confirmation before running any npm script, since scripts execute on your computer. +### Custom resource properties + +You can declare extra, editable metadata fields for your project's resources (images, audio, fonts...) by adding a `resourceCustomProperties` section to `gdevelop-settings.yaml`. These fields appear in the Resource Properties editor and are saved alongside the resource. This is useful for teams who need to attach their own information to assets, for example to drive a custom asset pipeline. + +```yaml +resourceCustomProperties: + - name: needsCompression + label: Needs compression + type: boolean + description: Whether this image should be compressed when exporting + resourceKinds: ["image"] + - name: textureBudget + label: Texture budget + type: number + resourceKinds: ["image"] +``` + +Each field requires a `name` (the key it is stored under, using only letters, digits, `_` or `-`), a `label` (shown in the editor) and a `type` (`string`, `boolean` or `number`). You can also add an optional `description`, a `default` value, and a `resourceKinds` list to restrict the field to certain resource types. + !!! note - Project-specific settings and custom toolbar buttons are only supported in the desktop version of GDevelop. + Project-specific settings, custom toolbar buttons and custom resource properties are only supported in the desktop version of GDevelop.