Commit Graph

5347 Commits

Author SHA1 Message Date
LuniMoon bbffc9500c Tweak interaction
Reset button an system visibility.
2026-03-03 10:13:49 +01:00
LuniMoon 9f3a3e353d Fixing spacing issues in ToggleButtons
Fixing spacing issues in the component to match the original design.
2026-03-02 12:47:50 +01:00
LuniMoon c079463fe3 Switching UI approach from grid
Changing the component from grid based to input/line based.
2026-03-02 12:11:49 +01:00
LuniMoon a2e64e44ae Fix Flow missing-local-annot errors in AnchorGrid.js
Add type annotations to the rect and proportional parameters in the
applyGridRect useCallback, which Flow cannot infer from local context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 13:01:18 +01:00
LuniMoon de28ebe79f Fix Flow type error in getHighlightedCells loop variables
Explicitly type loop variables as number to avoid incompatible-type
error when Flow infers the union type 0 | 1 | 2 from GridRect fields.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 12:40:05 +01:00
LuniMoon e1abe4e8f7 Grid-based selection component 2026-02-27 11:59:35 +01:00
LuniMoon 056faeddef Update SimplifiedProject snapshot after adding AnchorBehavior to test fixtures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 14:25:46 +01:00
LuniMoon c54a07a2ef Add storybook stories for Anchor behavior editors
Add stories for both the compact and full versions of the Anchor
behavior editor, along with Anchor behavior test data in TestProject.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 12:23:57 +01:00
D8H cf3545cfcb Add a simplified version of the Anchor behavior editor (#8325) 2026-02-25 17:47:28 +01:00
Clément Pasteau ff4256a0f0 Improve details of center/origin when an object is created by the AI (#8322) 2026-02-25 13:58:11 +01:00
Florian Rival 73be609b95 Fix tileset scrollbar area changing selection (#8324)
Fix #8316
2026-02-25 12:25:28 +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
github-actions[bot] ec5dc89372 [Auto PR] Update translations (#8304)
This updates the translations by downloading them from Crowdin and
compiling them for usage by the app.

Please double check the values in
`newIDE/app/src/locales/LocalesMetadata.js` to ensure the changes are
sensible.

Co-authored-by: 4ian <1280130+4ian@users.noreply.github.com>
2026-02-24 09:03:32 +01:00
Florian Rival 831b4b7e45 Improve robustness of AI events generation and asset swapping 2026-02-23 17:37:03 +01:00
Florian Rival b43539249d Replace old search bar by compact search bar in scene editor panels (#8317) 2026-02-23 16:17:48 +01:00
Florian Rival a28acb12d3 Fix keyboard shortcuts (copy/cut/paste/delete/undo/redo) not working when editing variables 2026-02-23 16:05:35 +01:00
D8H c573016bbf Fix properties sometimes missing or duplicated when grouped in columns (#8313) 2026-02-23 14:58:57 +01:00
Florian Rival 50559535e4 Fix handling of instance/locked variables (#8311)
- Removed the + button that was wrongly shown to add an instance variable (instance variables can only "override" the values of the variables defined in the object)
- Fix paste/delete a child of structure/array of a variable that is re-defined in instances variables. Previously it was not possible to paste a variable as a child of a instance variable that was a structure/array. This is now possible (and fully supported - you can't add new variables at the root, but items inside structures/arrays can be changed).
2026-02-23 12:52:45 +01:00
Clément Pasteau ce9f44542d Fix opening the 3D editor not working after launching a preview first on the web (#8310) 2026-02-23 12:50:45 +01:00
Clément Pasteau a184253877 Fix being able to rename a layer with shortcut (#8309) 2026-02-23 10:53:15 +01:00
Florian Rival 707f05553b Add missing support for short description/dimension
Don't show in changelog
2026-02-22 16:45:12 +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 d9279e94fb Send context of the conversation to improve AI asset search 2026-02-21 11:42:23 +01:00
Clément Pasteau 7f44bba6a0 Fix linting of IDE (#8301) 2026-02-20 10:48:17 +01:00
Clément Pasteau bd94335fe8 Bump to 5.6.258 (#8298) 2026-02-20 09:54:20 +01:00
github-actions[bot] c2f82dde84 [Auto PR] Update extension translations (#8300) 2026-02-20 09:36:37 +01:00
github-actions[bot] 71f864ca3f [Auto PR] Update translations (#8299) 2026-02-20 09:35:50 +01:00
github-actions[bot] 6053939358 [Auto PR] Update translations (#8295) 2026-02-20 08:55:24 +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
Aurélien Vivet 13710a2dc9 Improve resource tab with shortcuts (#8115)
- Rename, Delete, navigate with arrows
- Also fix preview blinking with wrong dimensions for a frame
2026-02-19 17:12:41 +01:00
github-actions[bot] 26861f1f51 [Auto PR] Update translations (#8271) 2026-02-17 09:54:53 +01:00
Clément Pasteau 1aff4900e8 Improve tooltip background color for all themes (#8288) 2026-02-17 09:54:36 +01:00
Florian Rival 34fd833121 Upgrade to Flow 0.299.0 (#8287)
- please run npm install in newIDE/app. Relaunch VSCode/Cursor/your IDE and make sure the latest Flow version (0.299.0) is used.
- While the new FlowFixMe can be annoying, in general it should be way more robust, way faster (2x faster on the CI for example compared to the old version) and crash way less.

Only show in developer changelog
2026-02-16 16:06:21 +01:00
Gleb Volkov a0d4bfbe72 Improve the Diagnostic Report (#8090)
- Add a shortcut (**F7** by default) and command in the command palette to open diagnostic report at any time
- The report now scans project for missing actions/conditions/expressions from extensions and reports invalid parameters (shown with red underline in Events Sheet)
- Click on error location to navigate directly to the event
2026-02-16 14:33:46 +01:00
Clément Pasteau d56ce32ce8 Fix url params not handled when doing a preview over network (#8285)
Fix #8283
2026-02-16 10:51:18 +01:00
Aurélien Vivet dbb586ab66 Improve tilemap edition with new tools (#8264)
- Replace the existing Paint Brush with the Rectangle tool.
- Implement a proper Freehand Brush tool. It works with multiple tiles and single tile.
- Add a Picker tool (and it remember your previous tool before picking, and restore it once picking is done)
- Add a Bucket Fill tool: it can replace existing tiles or empty spaces. Filling is limited to the tilemap bounds within the canvas.
- Optimize drawing performance: reduce and limit the number of points stored while the cursor moves.
- Visually separate the tools and the (flips) modes.
2026-02-15 17:43:12 +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
Clément Pasteau 9f9e5a9b99 Fix paste in JS events (#8274)
https://github.com/user-attachments/assets/2b8ec827-b64c-4c96-9319-126d846e825f
2026-02-14 16:45:54 +01:00
Florian Rival d1f823a8fa Fix multiselection of actions/conditions not working anymore (#8270) 2026-02-13 15:35:45 +01:00
Florian Rival 675a58ed1f Bump newIDE version 2026-02-13 12:42:17 +01:00
Florian Rival 481bd737bd Improve AI events handling
Don't show in changelog
2026-02-13 11:55:46 +01:00
github-actions[bot] 71c0f66528 [Auto PR] Update translations (#8265) [ci skip] 2026-02-13 11:29:00 +01:00
Florian Rival 8f996fc9cc Improve support of Else for AI
Don't show in changelog
2026-02-13 11:16:16 +01:00
Clément Pasteau 63dede5f61 Prevent wrong toolbar actions being shown when navigating tabs (#8268) 2026-02-13 10:48:57 +01:00
Florian Rival 70ac0d0d29 Add Else support for AI 2026-02-13 10:46:26 +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
Florian Rival e1ab2dad94 Prepare the files for the codemod to upgrade to Flow 0.299.0 (#8262) 2026-02-12 17:25:57 +01:00
Clément Pasteau 2ca874f54d Fix possible crash when deleting an object whose instance was highlighted in canvas (#8260)
Fix #6476
Fix #6067
2026-02-12 16:01:49 +01:00
Florian Rival 3b8d42c9db Bump newIDE version 2026-02-12 14:36:14 +01:00
Gleb Volkov 3092e8a62a Add pre-commit hook to format staged files in newIDE/app (#8235) [ci skip] 2026-02-12 14:34:42 +01:00