Commit Graph

10371 Commits

Author SHA1 Message Date
Davy Hélard aecb6c48d2 Fix stories 2026-05-14 18:27:29 +02:00
Davy Hélard 8fd6370f9b Add a button in the extension editor to select behaviors with the dialog 2026-05-14 18:14:51 +02:00
D8H d81a6899dd Allow to create variables from autocompletion in more cases (#8583)
Also, in the extension editor: 
- Focus and select new parameter names
- Allow to add a new parameter from the variable autocompletion
- Allow to add behaviors from the bottom of the instruction list
2026-05-14 16:24:24 +02:00
D8H cacd28eed7 Add a "layer" property type for custom behaviors (#8596) 2026-05-14 12:50:25 +02:00
D8H e2de846279 Allow to load and unload objects from other scenes (#8592)
- Also fix manually loaded objects not being unload with their scene
2026-05-14 10:56:19 +02:00
ViktorVovk 584cca2d43 Export classes in ResourceLoader for better TypeScript compatibility (#8594)
Only show in developer changelog
2026-05-14 10:21:47 +02:00
D8H 0b3f8e7205 Improve types for TypeScript 6 (#8591)
Only show in developer changelog
2026-05-13 12:07:46 +02:00
Clément Pasteau 4bb652f5e1 Fix Ai Panel not aligned to the top properly on mobile + improve games search to be more relevant (#8590) 2026-05-13 10:27:58 +02:00
github-actions[bot] f60562eae3 [Auto PR] Update translations (#8585) 2026-05-13 10:27:13 +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