Commit Graph

1409 Commits

Author SHA1 Message Date
Davy Hélard b8b2e7eb3f Format 2026-05-12 16:06:32 +02:00
Davy Hélard 12907f8436 Improve type for TS 6 2026-05-12 15:57:22 +02:00
D8H 1c17c895bb Allow custom objects to move layer cameras (#8572)
- Also fix a crash when there is a trigger once in an external function used from a custom object
2026-05-12 11:14:34 +02:00
D8H 1480595463 Fix objects created by custom actions not being picked (#8575) 2026-05-07 17:48:22 +02:00
D8H 18cd4f9110 Add expressions to access the components of forward/up/right vectors of 3D objects (#8558)
- These are advanced expressions mostly useful for extensions manipulating objects in 3D space.
2026-05-04 15:19:35 +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
D8H f7012ebfd6 Fix created child objects instances in custom objects being picked twice (#8559) 2026-05-04 09:37:51 +02:00
Florian Rival e8fe23d9dc Fix rendering of events true/false or yes/no as text when parameter not filled (#8561) 2026-05-03 23:35:12 +02:00
Florian Rival 1fc3e48caf Revert new basis expressions
Don't show in changelog
2026-04-30 18:20:55 +02:00
Florian Rival b697245ea6 Fix wrong usage of THREE crash
Don't show in changelog
2026-04-30 18:10:08 +02:00
Florian Rival 840f0e93df Fix hot reloading for behaviors (#8553) 2026-04-30 11:08:56 +02:00
D8H ab5866386e Add expressions to get object and camera local basis in the world basis (#8546) 2026-04-29 17:19:21 +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
Clément Pasteau e9862d5319 Fix screen orientation not working anymore when exporting to iOS (#8533) 2026-04-23 10:41:25 +02:00
D8H 1f7b999706 Fix missing globally used resources when unloading a scene that uses these resources (#8513)
- It only happens when "Unload at scene exit" is selected in project settings and a global object share some resources with a scene object.
2026-04-16 15:31:33 +02:00
D8H 5f260352ce Fix scene properties not usable via the variable action and condition (#8504) 2026-04-13 09:12:32 +02:00
Florian Rival 88d63666a5 Add save/restore support for linked object relationships (#8499)
Fix #8497
2026-04-08 18:20:16 +02:00
Florian Rival 72190e8bdf Fix hot-reloading of global object instances (#8489) 2026-04-07 12:49:50 +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 45ac7aaa3d Fix Spine objects not properly loading in the editor anymore (#8476)
- Also fix hot reloading of Spine objects in preview and the 3D editor
2026-04-02 14:45:55 +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
D8H 3165408b17 Add a callback after the in-game editor stepped (#8457)
Only show in developer changelog
2026-03-30 15:46:38 +02:00
Florian Rival 9cd06e4e71 Fix BitmapText display in a custom object after editing its atlas externally (#8449) 2026-03-28 13:04:42 +01:00
D8H 6fab4f041f Fix center point value of custom objects when a custom center is set (#8432) 2026-03-26 15:02:58 +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 63ffca8f77 Update the tree of functions in extensions editor with a new set of icons (#8424) 2026-03-23 15:24:29 +01:00
github-actions[bot] 6102d3d580 [Auto PR] Update translations (#8333) 2026-03-03 19:57:19 +01:00
Florian Rival 2cf203e4da Tweak the delay before moving an object with gizmo in the 3D editor 2026-02-27 12:33:20 +01:00
D8H 7371537737 Fix to avoid objects to move when the gizmo dragging point is clicked (#8334) 2026-02-27 10:33:11 +01:00
D8H 50353ab676 Allow to import asset pack files (GDO) (#8296) 2026-02-26 17:16:47 +01:00
Clément Pasteau de80d0b32d Update cordova config for new xcode/ios versions (#8321)
Only show in developer changelog
2026-02-25 10:50:06 +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
Florian Rival abe44723ba Fix else events not working properly when after a disabled event or comment (#8293)
- Also fix generated code for events (and Else) not working with 'use strict' (only show in developer changelog)
- Also improve the UI to not show horizontal bars for disabled events and comments
2026-02-19 17:14:24 +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
Clément Pasteau 6c7037dc24 Fix window name not set when exporting a desktop game (#8252) 2026-02-12 09:33:38 +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
Florian Rival d04ae5e509 Update Semaphore CI OS image from Ubuntu 20.04 to 24.04 (#8236) 2026-02-10 14:13:46 +01:00
D8H f76a834284 Optimize simple tile maps with huge dimensions (#8202)
- Huge tile maps are faster to create and modify at runtime
2026-02-10 11:08:02 +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
Florian Rival 68e072a014 Add 45-degree rotation with Alt key in the 3D editor 2026-02-04 00:39:52 +01:00
Florian Rival 813bf812ce Change action internal name "ChangePlan" to "SetZOrder" (#8207)
Only show in developer changelog
2026-02-03 17:08:08 +01:00
Clément Pasteau 36213ba14b Allow opening multiple GDevelop windows on Desktop (#8205)
* This was previously causing issues of GDevelop being stuck trying to log in, opening a new window should now open a completely different GDevelop that can be autonomous. (useful to open multiple projects at the same time for instance)
2026-02-03 15:54:49 +01:00
Clément Pasteau 26c7ca01e5 Upgrade internal version of Electron to 32 (#8184)
Only show in developer changes - Thanks @arthuro555 !
2026-02-02 10:58:41 +01:00
D8H ca6eb1a829 Fix a regression on the action to change sprite dimensions (#8192)
Co-authored-by: Florian Rival <Florian.rival@gmail.com>
2026-01-30 11:55:23 +01:00
D8H fb0117e160 Fix wrong evaluation of Sprite center when the frame dimension has just changed (#8179) 2026-01-28 16:30:10 +01:00
Florian Rival 48ce073773 Fix 2D objects not rendering properly in the 3D editor when a layer had no 3D objects 2026-01-24 17:36:55 +01:00
ViktorVovk 80a47cd65a Fix intermittently broken sound play (#8157) 2026-01-23 12:05:48 +01:00