Commit Graph

267 Commits

Author SHA1 Message Date
Davy Hélard dae265281c Fix flow 2026-07-21 16:28:14 +02:00
Davy Hélard 52fb0ece21 Add tests on leaf structure variable 2026-07-21 16:28:14 +02:00
Davy Hélard da21301f91 Add tests on variable declaration 2026-07-21 16:28:14 +02:00
Davy Hélard a19facba4f Add a parameter for the object name 2026-07-21 16:28:13 +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
Clément Pasteau 97eccf98c3 Reduce possible crashes in the event sheet when undoing/redoing (#8820) 2026-07-09 08:53:29 +02:00
Florian Rival e91e071805 Fix "mixed values" wrongly shown for some objects when added to an object group (#8807)
Fix #8805
2026-07-06 15:12:36 +02:00
D8H 04119d25a0 Add tests on undeclared object variables (#8800) 2026-07-03 16:49:35 +02:00
D8H f9af900c24 Add tests on parser about variables declaration (#8783)
Cover combinations of
- expression, variable parameter, legacy variable parameter
- variables from a depth of 1 to 3
- declared or undeclared variable at each level

Some cases were already covered and don't appear in the diff.

Don't show in changelog
2026-06-29 17:58:20 +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 429099981d Fix project loading when 2 extensions uses each other custom objects (#8711) 2026-06-15 19:38:44 +02:00
D8H 33dd671c61 Fix an error when building a project that uses object variables (#8697) 2026-06-11 09:32:11 +02:00
D8H 258a541b48 Fix build of games with parameter or property resources in custom extensions (#8695) 2026-06-11 08:54:46 +02:00
Clément Pasteau 663edf81ec Improve a lot the time to launch previews (and other operations like modifying groups/renaming objects) when using very long expressions (#8662) 2026-06-01 14:40:33 +02:00
D8H 6dc9ed5d2c Fix minus sign color for negative numbers (#8621)
Don't show in changelog
2026-05-20 16:35:51 +02:00
D8H 830587f25b Fix object parameter color in expression (#8611)
Don't show in changelog
2026-05-18 19:42:10 +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
Florian Rival 7211232586 Fix crashes when using invalid object names in object folders 2026-04-14 12:09:20 +02:00
Florian Rival efa780179e Add memory tracking to additional container classes (#8392)
Only show in developer changelog
2026-03-16 11:44:23 +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
D8H 0d3b3c3aca Add support for folders to organize functions in the extension editor (#8357) 2026-03-09 11:57:52 +01:00
Florian Rival 468ce851da Fix variable of objects used in events broken after opening the object editor 2026-03-05 12:01:57 +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
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 080fc35c14 Fix property value loss when renaming a property in the extension editor (#8211) 2026-02-05 19:30:53 +01:00
D8H 74a60f6a12 Remove a failing test on float printing since we only use double (#8181) 2026-01-28 10:40:16 +01:00
D8H 28cea4d94c Allow events to use resources parameters and properties (#7942) 2025-11-13 14:08:01 +01:00
D8H 13581264ef Fix resources used in behavior configurations were not exported (#7941) 2025-11-13 14:04:59 +01:00
D8H 58e35cfaf5 Allow extensions to define labels for properties with string selectors (#7825) 2025-09-12 18:30:10 +02:00
D8H c21dfbcc1f Optimize used resources search during export (#7790) 2025-08-25 20:12:17 +02:00
D8H f3dcb8eec8 Fix asset export for objects with unused children overriding (#7590) 2025-05-05 09:53:11 +02:00
D8H 896f56e850 Allow to switch between variants of custom objects (#7403)
- Variants allows to restyle custom objects
- They can be customized with the graphical editor
- The asset store will progressively use them notably for UI elements (buttons, sliders)
2025-04-24 11:05:00 +02:00
D8H e9c625abc6 Automatically rename and delete object instance variables (#7454) 2025-03-10 16:05:39 +01:00
D8H c1dfa34f0d Deprecate internal actions and conditions to set and compare property values in extension events (#7405)
- The unified variable action and condition must be used instead.
2025-03-03 10:31:05 +01:00
D8H d08bf97471 Fix conflict between variable or property and parameter in variable setters (#7329)
- Don't show in changelog
2025-01-21 19:16:43 +01:00
D8H 093e15e105 Fix EventsFunctionsContainer copy constructor now copy the owner (#7327)
- Don't show in changelog
2025-01-20 14:35:37 +01:00
D8H 60e36f37b1 Remove EventsFunctionsExtension inheritance to EventsFunctionsContainer (#7326)
- developer changelog only
2025-01-20 11:29:55 +01:00
D8H d6c99b27af Allow to use parameters and properties in the variable action and condition (#7124) 2025-01-15 23:28:18 +01:00
Florian Rival e237fc4b21 Add experimental support for importing JS source files in extensions (#7278)
* See more about using [JavaScript on this page](https://wiki.gdevelop.io/gdevelop5/events/js-code/javascript-in-extensions/#experimental-new-option-javascript-files-in-your-project).

Only show in developer changelog
2025-01-06 11:02:28 +01:00
Florian Rival deab962081 Fix regression in extensions loading (#7242) 2024-12-18 12:26:56 +01:00
D8H 8a0045b3b0 Rename events-function parameters in events (#7215) 2024-12-13 19:57:14 +01:00
Florian Rival 13bdfa4379 Add a test for ensuring default behaviors on objects (#7211) 2024-11-29 15:38:47 +01:00
D8H 8743f70aaf Disable the variable editor button for object parameters (#7202) 2024-11-28 16:05:49 +01:00
D8H e111706a27 Fix variables from being renamed with a property (#7186) 2024-11-26 17:58:59 +01:00
D8H de73d617b0 Fix missing error in expressions for missing object variables with children (#7159) 2024-11-13 16:16:46 +01:00
D8H 2e941c5afc Add tests on property renaming in expressions (#7146)
- Don't show in changelog
2024-11-11 17:23:18 +01:00
Florian Rival 5bc80537b7 Fix leaderboards not properly replaced in projects using them in custom objects (#7131) 2024-11-06 12:46:34 +01:00
D8H 00f67ca7c7 Allow custom objects to use leaderboard properties (#7081) 2024-10-22 14:43:47 +02:00
D8H a2ea751007 Fix to forbid behavior properties from being used as values in expressions (#7095) 2024-10-21 19:58:32 +02:00