Commit Graph
10870 Commits
Author SHA1 Message Date
Florian Rival efc2aa09d0 Update 3D lights shadows and fogs when the world scale changes (#9169) 2026-09-30 20:41:37 +02:00
Florian Rival cadfd2dfda Merge master into upgrade-three 2026-09-30 18:38:02 +02:00
Claude 619b13c37f Use PCFShadowMap for 3D shadows
PCFSoftShadowMap is deprecated since Three.js r180: it was already
replaced by PCFShadowMap when rendering, with a warning logged by every
game using shadows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HdyuCYDD8w7U2Q3p1aHY5M
2026-09-29 18:05:32 +00:00
Claude d3854d8a09 Fix grid-snapped 3D resizing with the world scale
The pointer positions given by TransformControls are in the Three.js
world, which is now scaled down by the renderer 3D world scale, while the
sizes they are compared to are in scene units. Without converting them,
dragging a scale handle barely resized the objects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HdyuCYDD8w7U2Q3p1aHY5M
2026-09-29 17:10:31 +00:00
Claude 91043c09d9 Merge branch 'master' into upgrade-three
Resolve the conflict in the in-game editor: keep the TransformControls
helper (Three.js r169+ API) and the world scale on it, and apply the new
patch removing the axis guide lines.

Also adapt code added on master to the upgrade:
- Add the renderer3DWorldScale to the scene data of the new
  PhysicsCharacter3D test.
- Give Source its type argument, now required by @types/three.
- Rename the @types/three patch to the installed version (0.185.1), so
  patch-package stops warning about it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HdyuCYDD8w7U2Q3p1aHY5M
2026-09-29 17:09:18 +00:00
Aurélien Vivet 75ce1cbc93 Frame the selection in the visible area between panels when focusing on it in the 3D editor (#9157) 2026-09-29 16:48:03 +02:00
Clément Pasteau 71b9261f59 Fix various 3D editor issues (layers and rescaling) (#9158) 2026-09-29 16:43:14 +02:00
Florian Rival 2e8c22b10c Fix GDJS tests relying on exact floating point results (#9156)
Newer Chrome versions compute Math functions with a different last
digit, so compare these values with a tolerance.

Don't show in changelog
2026-09-29 15:34:12 +02:00
github-actions[bot] 00b0041478 [Auto PR] Update extension translations (#9151) v5.6.283 2026-09-29 13:57:18 +02:00
Florian Rival dbbe1e74ce Bump newIDE version 2026-09-29 12:06:28 +02:00
Florian Rival 205cfe5e80 Allow extension provided InGameEditor toolbars (#9153) 2026-09-29 12:05:50 +02:00
Florian Rival 06470c5872 Fix tooltips rendered in popped out editor windows (#9150) 2026-09-28 18:31:05 +02:00
github-actions[bot] ec1f2e3f4f [Auto PR] Update translations (#9138) 2026-09-28 17:23:59 +02:00
Clément Pasteau 27613015c0 Share textures embedded in 3D models during runtime (#9145)
* Also ensure geometry, material and textures are correctly disposed when object is not used anymore, avoiding memory leaks
2026-09-28 17:23:23 +02:00
Florian Rival 98c1b39f5d Improve raw JSON edition of simple tilemaps (#9147)
Don't show in changelog
2026-09-28 15:44:19 +02:00
Florian Rival deed83995c Improve handling of raw JSON for objects (#9146)
Notably animations.

Don't show in changelog
2026-09-28 14:26:42 +02:00
Florian Rival d7c58bc35f Only list the first changes and warnings of add_or_edit_variable (#9144)
Don't show in changelog
2026-09-28 13:39:54 +02:00
Aurélien Vivet b606835c2c Allow using the scene editor shortcuts without clicking on the canvas first (#8938) 2026-09-28 11:16:21 +02:00
Florian Rival 2f00592c57 Fix gameplay tests output not being bounded (#9143) 2026-09-28 00:12:53 +02:00
Florian Rival 64a832e930 Use the object name in the default agent asset search (#9141)
Don't show in changelog
2026-09-27 11:26:04 +02:00
Florian Rival 9cd59b3181 Handle competing effects when installing effect assets (#9140)
Don't show in changelog
2026-09-26 13:23:31 +02:00
Aurélien Vivet c8fdf564e3 Fix .gdo import missing objects and failing on some resources (#9134) 2026-09-26 12:32:48 +02:00
Florian Rival 5b52d82c99 Add support for raw object/instance changes in the agent (#9139)
Don't show in changelog
2026-09-25 17:36:40 +02:00
D8H 83da4cc2bf Improve autocompletion and errors according to variable types (#9105)
- Add autocompletion with brackets access for structures and arrays.
- Improve error messages when brackets are empty.
- Fix autocompletion of variable parameters in function calls wrongly
suggesting objects and functions.
- Only display relevant variables in autocompletion according to their
type.
- Display an error when string, number or boolean variable is used and a
structure or an array is expected and the other way around.
2026-09-25 15:40:00 +02:00
github-actions[bot] d5c6ee3b32 [Auto PR] Update translations (#9137) 2026-09-25 11:57:12 +02:00
Clément Pasteau 77aaf80ca2 Effects can now be added from the store, starting with skyboxes (#9136) 2026-09-25 11:41:56 +02:00
Florian Rival 45d3ca2c7b Add support for attaching files to chat messages and converting them to resources (#9135)
- Also let the agent see screenshots taken by gameplay test (at least an automated one, and up to 4)
2026-09-25 00:18:33 +02:00
Clément Pasteau 15dd4dafbb Prevent jumping again after falling a platform in 3D platformer (#9132) 2026-09-23 16:10:17 +02:00
github-actions[bot] 8f6228e1a7 [Auto PR] Update translations (#9123) 2026-09-23 14:49:19 +02:00
Clément Pasteau 0cd7d68ee9 Improve starters used by the AI to have themed assets (#9126) 2026-09-23 14:31:06 +02:00
Clément Pasteau df9de041f3 Allow selecting multiple resources for common actions (#9129) 2026-09-22 16:56:03 +02:00
Florian Rival b9109cfbaa Fix gameplay test being mistakenly erased and improve layer error messages (#9124) 2026-09-20 16:13:18 +02:00
github-actions[bot] c6d0921103 [Auto PR] Update translations (#9122) 2026-09-19 16:52:16 +02:00
Florian Rival 09685bfa88 Add support for external layouts for agents (#9121) 2026-09-19 15:53:59 +02:00
github-actions[bot] ecf0f72430 [Auto PR] Update translations (#9118) 2026-09-18 18:23:35 +02:00
Aurélien Vivet e18076ea5b Redesign the preferences dialog and keyboard shortcuts (#9066) 2026-09-18 17:57:08 +02:00
Florian Rival 4577bfba5a Improve gameplay tests (#9120)
- The warning about a custom object with no child in it ("it renders
nothing") fired on ParticleEmitter3D, Light3D or Text3D objects, which
are drawn by the JavaScript code of their extension (with Three.js) and
legitimately have no child. Skip it when the code replaced the renderer
of the object, or added something to draw (a mesh, a sprite, a
graphics...) in the stock renderer's container.
- The game-side wall-clock watchdog did not exclude the time the page
spent hidden (frozen by the browser), unlike the guards of the stepping
loop: a test run in a background tab or a covered window was reported as
a plain "timeout" instead of being given up on as paused by the editor.
Exclude it, and tell about that time in the timeout message.
- Reject a non-string object name with a clear error instead of asking
the scene for "[object Object]" (which registered a phantom object list
and silently found nothing), the mistake `lookTowardWithMouseDelta`
invites when the target is passed first.
2026-09-18 15:30:47 +02:00
Clément Pasteau 79527b2df5 Automatically opt out of ipad multitasking to allow publishing to App Store (#9119) 2026-09-18 13:32:54 +02:00
Florian Rival be887e51c3 Allow the agents to read/create/modify extensions (custom functions/objects/behaviors) (#9094) 2026-09-18 11:44:08 +02:00
github-actions[bot] cf6ef6438c [Auto PR] Update translations (#9114) 2026-09-17 17:30:08 +02:00
Clément Pasteau 231dd160ef Fix object dialog overflowing on mobile (#9117) 2026-09-17 17:19:37 +02:00
Clément Pasteau 876821ff1e FIx nested variables being displayed as null in debugger (#9116) 2026-09-17 16:43:33 +02:00
github-actions[bot] 2961e9d310 [Auto PR] Update translations (#9096) 2026-09-16 17:22:57 +02:00
Clément Pasteau c5bf5a88b7 Warn and block redeeming a code when subscription is from mobile (#9112) 2026-09-16 15:58:33 +02:00
Clément Pasteau 49704cc7dd Move the enable AI for students button in Education dashboard (#9111) 2026-09-16 11:07:01 +02:00
Clément Pasteau 27ef7dddb1 Fix sprite points being misaligned in preview when using increased text size (#9108) 2026-09-16 10:21:50 +02:00
Clément Pasteau cc498656b3 Prevent locked instances from being deleted in 3D editor (#9109) 2026-09-16 10:21:31 +02:00
Clément Pasteau 43b3e42236 Fix condition hasJustBeenDragged staying true when deactivated (#9107) 2026-09-16 09:36:22 +02:00
Clément Pasteau 3ccda1e6e6 Tween opacity action is now only visible to compatible objects (#9106) 2026-09-15 17:18:29 +02:00
Clément Pasteau 89c44ffe7d Improve scene properties panel on first opening (#9104)
Do not show in changelog
2026-09-15 14:39:06 +02:00