Commit Graph

10364 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
ViktorVovk 651c93ae1f Add "Select All" in Events Sheet and ability to deselect an event when doing a multi-selection (#8578) 2026-05-11 14:29:29 +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
Florian Rival d52d42d3b4 Add integration test for objects created via a behavior action parameter (#8576)
Verify that a behavior's custom action whose events Create the object
passed as parameter (FireBullet-style) leads to the newly created
instances being picked in the calling scope, while a previously created
instance of the same object remains untouched.

Don't show in changelog
v5.6.269
2026-05-07 19:00:52 +02:00
Florian Rival 230657d076 Bump 2026-05-07 17:48:54 +02:00
D8H 1480595463 Fix objects created by custom actions not being picked (#8575) 2026-05-07 17:48:22 +02:00
Florian Rival edc26bdcbf Return non-zero objectSizeInfo for TextInput, Lighting and 3D objects and null when unknown 2026-05-07 16:14:18 +02:00
Florian Rival 1e8f76d3ba Bump newIDE version v5.6.268 2026-05-06 16:49:23 +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
Florian Rival b3f7bc5ebf Bump newIDE version v5.6.267 2026-05-06 09:52:50 +02:00
github-actions[bot] 286f8594c4 [Auto PR] Update translations [ci skip] (#8565) 2026-05-06 09:51:44 +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 a28716d696 Add more hints on some actions
Don't show in changelog
2026-05-04 17:40:26 +02:00
Florian Rival dd2ee4baa7 Add a hint that the Tween opacity action only works on 2D objects 2026-05-04 17:10:11 +02:00
github-actions[bot] 100787f9e9 [Auto PR] Update translations (#8555) 2026-05-04 16:23:16 +02:00
Florian Rival c293911c84 Fix missing space in documentation generation and update types 2026-05-04 15:52:51 +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
Florian Rival 5dd2b8ffd8 Add hints for some extensions, displayed in the documentation (#8564) 2026-05-04 15:11:56 +02:00
Clément Pasteau e6a5b70a24 Fix events locking up when dragging on mobile (#8563) 2026-05-04 14:26:09 +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 c5c718354a Fix object dragging on mobile having a small delay (#8562)
Do not show in changelog
2026-05-04 10:39:26 +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 182fb12dff Fix variable edition by AI wrongly erasing content of existing structure variables 2026-05-03 16:23:38 +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
github-actions[bot] e25265dc19 [Auto PR] Update translations (#8550) 2026-04-30 14:24:31 +02:00
Clément Pasteau cd9d5f3b0a Fix course video visibility (#8554) 2026-04-30 14:24:14 +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
github-actions[bot] e9b9596d6d [Auto PR] Update translations (#8540) 2026-04-28 17:50:45 +02:00
Clément Pasteau 09ab670e7f Improve make a game courses structure (#8549) 2026-04-28 17:42:37 +02:00
Clément Pasteau 0f9127f506 Fix renaming objects on mobile weird behaviors (#8548)
- starting a rename was showing the image of the element dragged
- could not press on the input to select it
2026-04-28 14:30:28 +02:00
LuniMoon 0519896984 More Events Sheet design adjustments (#8545)
- Tweaking spacing (handles, event content spacing)
- Color: vertical lines for children, selection
- System Feedback: Warning & Errors
2026-04-28 14:27:25 +02:00
ViktorVovk e62e15c74b Add editor lifecycle hooks for auto running npm scripts (#8515)
- Three hooks are implemented:
  - * **onEditorReady** — after the project is loaded and settings are
applied
  - * **onPreviewStart** — before preview export/launch begins
  - * **onPreviewEnd** — when the preview window is closed
- Auto-execution of hooked scripts requires user consent.
  * Show a one-time dialog on the first hooked script trigger, asking the user to allow automatic script execution. The decision is then stored.
  * Then, hooked scripts run silently without any prompts.
2026-04-28 10:48:06 +02:00
Florian Rival 31282a90df Fix potential crash in scene editor when reloading resources with custom objects (#8544) 2026-04-27 16:41:55 +02:00
D8H cda13117a5 Fix object import and export never finishing loading (#8543)
- It also avoids to create the same "Blob" several times when resources
are used more than once
2026-04-27 15:03:08 +02:00
Clément Pasteau 2546cd0e96 Fix fields in Events sheet prefilling to "=" after opening a relational operator (#8541) 2026-04-27 14:23:02 +02:00
github-actions[bot] 3d852a5dfc [Auto PR] Update translations (#8539) 2026-04-27 10:42:58 +02:00
Clément Pasteau ca0c2ccb3d Improve 2D lights collision calculation for better performance (#8535) 2026-04-27 09:38:08 +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
LuniMoon e6b8b2f86f Slightly rework events sheet design (#8537)
- Add borders around conditions/actions container
- Make handles of comments/groups colored as the group itself.
2026-04-25 15:48:59 +02:00
Clément Pasteau 0fa6ac7423 Fix playerping never updating on non-host clients. (#8536)
The cloneObjectWithoutOverwriting was not necessary, and was not
updating the existing entries
2026-04-24 15:48:49 +02:00
Clément Pasteau a10129d7ef Rework AI pane to transition smoothly and indicate button's position. (#8529)
Also fix mobile AI panel to correctly suspend request on close
2026-04-24 15:13:09 +02:00
github-actions[bot] 19efe53ec8 [Auto PR] Update translations (#8527) 2026-04-23 17:58:33 +02:00
LuniMoon e0a65f09e6 Updating Instruction tokens (#8534)
Changing colors for base-color, number-color (greens) var-color (blue)
to replace the yellow swatch.
2026-04-23 17:53:00 +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