Commit Graph

144 Commits

Author SHA1 Message Date
D8H f4a91c66fc Fix to avoid incompatible behaviors when adding objects to a group (#8846) 2026-07-15 18:27:57 +02:00
Florian Rival 2d9d8c3a41 Fix scene variables "persistentUuid" field in JSON being regenerated or deleted on save (#8837)
Only show in developer changelog
2026-07-15 14:59:16 +02:00
D8H b2222005d9 Allow to edit behavior properties of object groups in the side panel (#8758) 2026-06-25 16:34:53 +02:00
D8H 733c560ec9 Fix behavior overriding for Physics2, Physics3D, Multiplayer and SaveState (#8766)
- Don't show in changelog
2026-06-25 15:51:30 +02:00
Clément Pasteau 3358d5e2ba Fix showing default parameter values as errored in the event sheet (#8753)
Do not show in changelog
2026-06-23 12:00:34 +02:00
D8H bbb95deb44 Display and allow editing scene properties and variables in the side "properties" panel (#8387) 2026-06-08 15:01:36 +02:00
D8H c6d40449c8 Automatically add a return action in custom expressions (#8682)
* And ensure the type is right when the expression type is changed
2026-06-07 22:01:32 +02:00
D8H da2fec5085 Add missing help page links for 3D box, 3D model, text input and light obstacle (#8677) 2026-06-04 12:16:23 +02:00
D8H 46a6a66552 Hide deprecated extensions in new projects (#8634) 2026-05-28 18:07:48 +02:00
Clément Pasteau 8b00514aff Fix path breaking webapp (#8635)
Do not show in changelog
2026-05-22 11:15:39 +02:00
ViktorVovk f39d8bb080 Add experimental support for "canonical" serialization of events (#8552)
- When activated, the JSON of the project is saved with properties always in alphabetical order. Fields in events are also never omitted.
- The preference is controlled via `gdevelop-settings.yaml` (already read
by the IDE on project open):

  ```yaml
  # gdevelop-settings.yaml
  preferences:
    canonicalEventSerialization: true
  ```

Only show in developer changelog
Co-authored-by: Viktor Vovk <vvovk@playtika.com>
2026-05-20 16:10:12 +02:00
D8H cea1410fb3 Add syntax highlighting for expressions in events (#8538)
Complex expressions and formula will now be shown using multiple colors, like the rest of events. This allows to identify objects, numbers, strings in a long formula.
2026-05-18 18:10:00 +02:00
Clément Pasteau 0eb6014a93 Fix some visual glitches in the Events Sheet when opening and scrolling (#8571) 2026-05-11 10:52:30 +02:00
Clément Pasteau 3c80598d09 Revert "Fix some visual glitches in the Events Sheet (#8551)" (#8570)
This reverts commit 232443328d.
2026-05-06 16:48:11 +02:00
Clément Pasteau 232443328d Fix some visual glitches in the Events Sheet (#8551) 2026-05-05 18:29:21 +02:00
D8H 98e5184958 Fix missing error on expressions with unknown objects in the event sheet (#8566) 2026-05-05 16:06:31 +02:00
Florian Rival 5dd2b8ffd8 Add hints for some extensions, displayed in the documentation (#8564) 2026-05-04 15:11:56 +02:00
D8H 8e50ddefe4 Allow to configure object resources to be loaded independently from the scene (#8514)
- This is an advanced, experimental feature which is subject to changes. It's in most cases not useful, unless you have a large game or low end devices for which controlling memory usage is important. It's mostly useful to delay loading of large custom objects.
- Objects can be configured so that its resources are not loaded when the scene is loaded. Instead, you can use an action to manually load the resources used by it. When the loading is done (this can be checked using a condition), the object can then be created.
  Be careful: if an object assets are not loaded, it will be broken when displayed on screen.
2026-05-04 10:45:51 +02:00
Clément Pasteau 920d0b86c1 Fix default variable string value being empty instead of 0 (#8473)
* Before, this was set as 0 even though displaying as empty in the
variablesList.
* Projects created before 5.6.267 will keep the same behavior (0 as default value for string variables) with an option to move to the new behavior (empty as default value) in the project properties dialog.
* Projects created from 5.6.267 will use the new default behavior (empty as default value)



https://github.com/user-attachments/assets/0d885c70-b68a-431f-8dcb-08e4e193b8a1
2026-04-27 09:37:45 +02:00
D8H 92e449558b Allow extensions to set different icons for behaviors and objects (#8472) 2026-04-02 20:14:19 +02:00
Florian Rival a22a8f569d Fix various issues and crashes when reloading/editing resoures in or outside the editor (#8455) 2026-03-31 10:57:03 +02:00
Florian Rival 950ad0df4c Refactor extension validation scanning to use common events traversal methods (#8448)
Only show in developer changelog
2026-03-27 15:07:05 +01:00
Gleb Volkov 9f9a26017d Extend Diagnostic Report to cover extension function events (#8438)
- Diagnostic Report previously only scanned layout (scene) events and external events for validation errors. This PR extends the report to also scan events inside extension functions - including top-level ("free") functions, behavior functions, and object functions - detecting missing instructions and invalid parameters.
- Store-installed extensions are excluded from the scan
- Disabled ("commented out") events and their sub-events are skipped everywhere, not just in extensions.
2026-03-27 12:55:29 +01:00
D8H cc71af5433 Fix a crash when installing an asset with buttons if some behaviors are missing (#8439) 2026-03-26 13:54:08 +01:00
D8H 23908aad8e Save the scroll position of JS code events when closing and opening tabs (#8417) 2026-03-23 17:29:51 +01:00
D8H c5259b6962 Fix embedded resource links when importing a GDO (#8419) 2026-03-20 15:44:40 +01:00
Florian Rival 264b5c3c5b Improve dead object detection for C++ objects (#8408) 2026-03-18 15:42:36 +01:00
Florian Rival 2b0b8b9b91 Improve context of UseAfterFreeError (#8406) 2026-03-17 16:00:41 +01:00
D8H 9d0d86e6fb Fix missing extension dependencies in GDO files (#8372)
Also fix an exception when importing a GDO file with an extension without a valid version number
2026-03-11 17:27:59 +01:00
Florian Rival deba07f103 Add "MemoryTracked" classes and "UseAfterFreeError" (#8359)
- This will track alive/dead instances of some C++ classes and will throw a JS error in case of usage of a already destroyed object from JavaScript. This should avoid crashing/corrupting the wasm/C++ side by calling a method on an object already destroyed. Instead the exception stays on JS side, without reaching the C++ implementation.

Only show in developer changelog
2026-03-09 14:52:56 +01:00
D8H 0d3b3c3aca Add support for folders to organize functions in the extension editor (#8357) 2026-03-09 11:57:52 +01:00
ViktorVovk 68d87da97b Add "internal instruction name" search criterion in Events Sheet search panel (#8356)
Only show in developer changelog
2026-03-09 09:26:14 +01:00
Florian Rival 48ee325034 Persist properties panel scroll position for instances and objects (#8337) 2026-02-28 12:55:30 +01:00
D8H 50353ab676 Allow to import asset pack files (GDO) (#8296) 2026-02-26 17:16:47 +01:00
Florian Rival dc62aea8d8 Add support for ordering For Each by an expression, with optional limit (#8319)
- For advanced use cases where it's important to run events on each instance of an object with an ordering, the For Each can now have an ordering: an expression can be written and will be evaluated for each instance separately. The For Each will then execute for each instance in the order of the result of the expression.
- It's possible to change the direction (ascending or descending)
- It's also possible to give a limit (for example, 1 will allow to pick just the instance with the highest/lowest value for the expression).
- Examples are provided in the UI for common use cases (maximum value of a variable, health points, ammo, distance to another object...)
2026-02-25 10:37:59 +01:00
Florian Rival 9934457b39 Add a short description for all extensions and dimension field (2D, 3D, 2D/3D or n/a) (#8303)
Only show in developer changelog
2026-02-21 13:10:41 +01:00
Aurélien Vivet 13710a2dc9 Improve resource tab with shortcuts (#8115)
- Rename, Delete, navigate with arrows
- Also fix preview blinking with wrong dimensions for a frame
2026-02-19 17:12:41 +01:00
Gleb Volkov a0d4bfbe72 Improve the Diagnostic Report (#8090)
- Add a shortcut (**F7** by default) and command in the command palette to open diagnostic report at any time
- The report now scans project for missing actions/conditions/expressions from extensions and reports invalid parameters (shown with red underline in Events Sheet)
- Click on error location to navigate directly to the event
2026-02-16 14:33:46 +01:00
Florian Rival 6bb56c6e5b Add support for local variables for loop events (While, Repeat, For Each, For Each Child Variable) and loop counter variable (#8273)
- "For Each Child Variable" now also properly support choosing local variables for the variable to iterate on, and for the variable where to store the child and the optional variable where to store the name.
- The loop counter starts from 0 and is automatically increased by 1 each time the event is repeated.
2026-02-15 16:14:04 +01:00
danvervlad f1401b33c7 Add support for marking extension functions as deprecated, with visual warnings/explanations (#8156) 2026-02-12 19:37:55 +01:00
Gleb Volkov dd40a997d9 Add support for setting a custom help URL for extension actions/conditions/expressions (#8103)
Only show in developer changelog
2026-02-10 16:04:38 +01:00
ViktorVovk 12b7ed5c26 Add support for skin management in Spine objects (#8229) 2026-02-10 15:54:59 +01:00
D8H deb802cfec Allow to override behavior properties on object instances (#8171)
* For now, this is limited to instances inside custom objects. This will be made available in the future for all instances in scenes if this works well.
2026-02-09 16:21:24 +01:00
Florian Rival 17443587b9 Add Else event (#8216)
* This is not finished yet:
  - Documentation needs to be written.
  - Menu item (and shortcut?) to quickly toggle between a standard event and a else event must be added so it's easy to switch from one to the other.
  - Design must be adapted to make it clearer that the else event is "linked" to the previous one and is not run if the previous event is run.
2026-02-07 17:15:01 +01:00
D8H 1cbc1de05a Fix simple tilemap object being in the wrong category (#8139) 2026-01-17 19:48:03 +01:00
D8H 85c62cbac7 Improve the list of objects, in the new object dialog, with objects provided by extensions (#8126)
- Extensions, behaviors and objects lists now follow the same layout
- Assets are suggested for most custom objects provided by extensions
- Also fix private objects not appearing in the list from within the
extension
2026-01-15 14:07:20 +01:00
D8H 494e330787 Display properties of objects/behaviors in the extension editor in a tree (#8095)
- This allows to easily visualize, group and move properties around.
- Browsing properties is faster and clearer.
2026-01-09 18:35:33 +01:00
Florian Rival ca5bb93636 Speed up cloud project saves (#8083) 2025-12-23 16:47:49 +01:00
D8H b218cf8609 Allow to set effects as initially disabled (#8002) 2025-11-25 15:18:59 +01:00
D8H c424ce8e80 Show object parameters in red if any behavior parameter is wrongly filled (#7997) 2025-11-20 18:25:13 +01:00