Commit Graph

1394 Commits

Author SHA1 Message Date
Claude 1a1d05bd50 Revert package files to master versions
Restore GDJS/package-lock.json and newIDE/app/package-lock.json to their
state on the master branch.

https://claude.ai/code/session_011eubyS2AnYMFoLzkNp1Hww
2026-04-03 16:52:05 +00:00
LuniMoon bf3a3cbe62 Preview fixes
Fixing issues that preventing from rendering online.
2026-04-03 18:37:57 +02:00
LuniMoon 8a986f3486 Browser preview launcher
- Added getExistingPreviewWindowForDebuggerId to the import.
- Added a focus loop after the reload messages are sent (after line 342) — after the hotReload or hardReload signal is dispatched to each preview window, the code now iterates through all preview windows and calls .focus() on each one, bringing them to the front. The try/catch handles the rare cases where the browser blocks the focus (consistent with the existing pattern used when windows are first opened).
2026-04-03 16:03:18 +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
D8H 26cbf36263 Allow extensions to give choices between a set of numbers (#8159) 2026-01-22 11:33:53 +01:00
D8H 1cbc1de05a Fix simple tilemap object being in the wrong category (#8139) 2026-01-17 19:48:03 +01:00
D8H 7f0d2a206a Fix time scale not properly applied to custom objects (#8134) 2026-01-15 17:51:41 +01:00
Florian Rival e68be2ee54 Allow to change the camera elevation more on touchscreens in the 3D editor (#8045) [ci skip]
Don't show in changelog
2026-01-15 14:54:14 +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
Florian Rival ad31f31606 Rename French action and condition internal names to English (#8124)
Only show in developer changelog
2026-01-13 15:39:38 +01:00
Florian Rival 533422588a Fix rotated 2D+3D layers with no 3D objects not rendered properly
- Fix #8109
2026-01-08 17:55:17 +01:00
D8H a093ed697d Fix a crash when reloading the game page after an hot-reload (#8114)
- Fix #8087
2026-01-08 17:53:20 +01:00
ViktorVovk 1d5e06ca35 Fix loading of resources not properly retried when a resource can't be loaded (for example: network error) (#8060)
* Typically, when resources are downloaded from a CDN, then sometimes, for
various reasons, a request for a resource may fail. In such cases, it’s
very useful to have retry for avoiding intermittent issues.
2026-01-06 12:37:04 +01:00
D8H 72696225be Fix object effect toggles not being applied at preview (#8107) 2026-01-05 11:02:50 +01:00
Florian Rival f7a821f980 Add categories to classes for game engine documentation (#8076) 2025-12-18 17:12:07 +01:00
Florian Rival 5c0cb423d6 Enhance documentation for registerRuntimeScenePostEventsCallback
Only show in developer changelog
2025-12-16 15:25:34 +01:00
Florian Rival a89eb4d50d Fix 3D editor crashes/flashes when adding a new object or extension (#8052)
* When adding a new object type, the hot reload could break if a
previous hot reload was done without the script files (typically, when
adding an object from an already used type)
* When adding a new object or anything needing a loading screen, the
loading screen and the in-game editor were fighting for the rendering.
* Also fix issues when adding multiple objects from a pack
2025-12-10 17:15:48 +01:00
Florian Rival 25376ff6e8 Fix 'Made with GDevelop' sometimes shown when reloading the 3D editor 2025-12-08 18:05:13 +01:00
Florian Rival 5e971709be Automatically restart the 3D editor if the WebGL context is lost (#8049)
* This can happen after the device/computer is coming back from sleep, or if there was a lot of switching with the 2D editor.
2025-12-05 15:52:44 +01:00