From 15d291a9eb0975cdfd4d0e77515eb512f33050fe Mon Sep 17 00:00:00 2001 From: Brandon Corfman Date: Tue, 23 Jun 2026 23:24:17 -0400 Subject: [PATCH] Fixed docs and orbit pattern default --- .../pattern-demo-toolbar-controls.png | Bin 0 -> 8986 bytes docs/getting-started/pattern-demo.md | 49 ++++++++++++++---- src/editor/Inspector.tsx | 4 +- src/editor/attachmentCommands.ts | 2 +- ...ment-inspector-action-type-labels.test.tsx | 33 ++++++++++++ tests/editor/behavior-commands.test.ts | 16 ++++++ 6 files changed, 91 insertions(+), 13 deletions(-) create mode 100644 docs/assets/screenshots/playwright/pattern-demo-toolbar-controls.png diff --git a/docs/assets/screenshots/playwright/pattern-demo-toolbar-controls.png b/docs/assets/screenshots/playwright/pattern-demo-toolbar-controls.png new file mode 100644 index 0000000000000000000000000000000000000000..faa3b6c8995cd1f6702053ba5011a09da6f0d1cd GIT binary patch literal 8986 zcmdsdWmFx_+T}q41Si2ESa5d_1n1yx!8N#hI3&0P2=4B|U4kFr1PBhn-GjTs*Lm-q znf2Y7U-N6$^s4Tz?yjzSN_s!CJ6uIc1_PBC6$AodfMq4sKp;3MkXJ*22ad(1^b5cV z&Q(oD98@_%x(8e!T8Sx&fj~7eXb&bYfa{k|vbwGy5N6Nc9S)CP?lW+c$W2PeP2JJb z&C|ri0;FPM?cm0$B&9*Y!^*+R!TB0a#tkUcY@q|T1cMntD8R)F5HZ{f5FC(`19p;s z=K*m*^l%9O-2W>O2OK;I2RQ2iyLBkyKlkl`{NL@&0}ix{@W0Og*(wMGJp6_XLIldP zb8@l6<@~GOziqzA`Bz;@K>qIr57Z3*Pf0ZaejxYnw>a3@|2_@$XCrkPn_K~bDEq;Z zVj5nChne19ucwz`qs#;5)^W6otxax@FLIfaEAncS&>t7^s|Cp3ui}^ zVW7{ZC?Upb46N}(8pI6>(%d|}+*1aQ)(-F>3bC}G>1!QC~^RNm6FVT@L73(^P)N|;N)M) z%~MQ0vZcIPfr4&}7B@&7H%R86M8}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b664..fa1de1a 100644 --- a/docs/getting-started/pattern-demo.md +++ b/docs/getting-started/pattern-demo.md @@ -160,6 +160,7 @@ Success check: ## Attach the Movement Patterns **NOTE:** The goal is to build the patterns one ship at a time in the same scene-start event flow. Take your time, and work ship-by-ship. Your progress is saved automatically, so you can return to the process later. + **NOTE:** Hit `Play Mode` in the upper-right of the canvas to check each ship's actions as you build them. After you've viewed the action steps, click the same button again to return to `Edit Mode`. Actions and events panel @@ -170,13 +171,17 @@ Success check: 1. Select the ship titled `Wave` on the canvas or in the scene graph. 2. On the Inspector tab in the right sidebar, open the `Actions/Events` panel. + **NOTE:** If other open panels are cluttering the Inspector, you can close them with the chevron next to each panel name. 3. Click `+ Add Action` in the panel's `OnSceneStart` handler. + **NOTE:** The Action Library popup will appear. 4. In the Action Library categories, click the `Loops` tab. 5. Under Actions, choose `Intro then Repeat…` + **NOTE:** The Action Library popup will close, and OnSceneStart will contain three actions: Intro, Repeat, and a nested Loop body. 6. Click on the Intro action name in the Steps list. + **NOTE:** The Inspector will switch to show `Intro` step properties. 7. Set the Intro step properties to the following: - `Type = Wave` @@ -184,6 +189,7 @@ Success check: - The other defaults are fine. 8. Click the Back arrow in the properties panel to return to the Actions list. 9. Click on the `Loop Body` name in the Steps list. + **NOTE:** The Inspector will switch to show `Loop Body` step properties. 10. Set the `Loop Body` step properties to the following: - `Type = Wave` @@ -197,12 +203,15 @@ Success check: ### Zigzag action 1. Select the ship titled `Zigzag` on the canvas or in the scene graph. + **NOTE:** Remember to collapse other panels besides `Actions/Events` in the Inspector if it is too cluttered. 2. Click `+ Add Action` in the panel's `OnSceneStart` handler under the `Actions/Events` panel. + **NOTE:** The Action Library popup will appear. 3. In the Action Library categories, click the `Loops` tab. 4. Under Actions, choose `Repeat With Children…` 5. Leave `Children = 2`, set `Child Type = Zigzag Pattern` and click the `Create` button. + **NOTE:** The Inspector will switch to show the `Repeat` action properties. 6. Set the Loop properties to the following: - `Name = Loop` @@ -210,6 +219,7 @@ Success check: - The other defaults are fine. - Click the Back arrow in the properties panel to return to the Actions list. 7. Click on the second `Zigzag Pattern` in the Steps list. + **NOTE:** The Inspector will switch to show `Zigzag` step properties. 8. Set the second `Zigzag` step properties to the following: - `Width = -30` @@ -217,8 +227,10 @@ Success check: - The other defaults are fine. - Click the Back arrow in the properties panel to return to the Actions list. 9. Click the `...` next to the Loop in the Actions list. + **NOTE:** A popup menu will appear below. 10. Click `+ Add Action Above` in the popup menu. + **NOTE:** The Action Library will popup above the Loop action. 11. Click `Move By` in the Action library to add it to the Actions list. 12. Click the `Move By` action in the Actions list to set its properties: @@ -231,9 +243,11 @@ Success check: 1. Select the ship titled `Figure-8` on the canvas. 2. Click `+ Add Action` in the panel's `OnSceneStart` handler under the `Actions/Events` panel. + **NOTE:** The Action Library popup will appear. 3. In the Action Library categories, click the `Loops` tab. 4. In the Actions list, click `Repeat with Children…` + **NOTE:** The Actions Library will close, and a popup menu in the `OnSceneStart` menu will appear. 5. Set `Children = 1` and `Child Type = Figure-8 Pattern` in the popup menu, then click the `Create` button. 6. Set the `Repeat` step properties in the Inspector to the following: @@ -248,31 +262,31 @@ Success check: 3. Check the box labeled `Flip Y`. 4. Click the Transform panel chevron again to close it. 5. Click `+ Add Action` in the panel's `OnSceneStart` handler under the `Actions/Events` panel. + **NOTE:** The Action Library popup will appear. 6. In the Action Library categories, click the `Loops` tab. 7. In the Actions list, click `Repeat with Children…` + **NOTE:** The Actions Library will close, and a popup menu in the `OnSceneStart` menu will appear. 8. Set `Children = 1` and `Child Type = Orbit Pattern` in the popup menu, then click the `Create` button. 9. Click the Back arrow in the properties panel to return to the Actions list. -10. Click on the `Child` (Orbit Pattern) in the Actions list. -11. Set the `Child` properties in the Inspector to: - - `Center = Home` - - The other defaults are fine. - - Click the Back arrow in the properties panel to return to the Actions list. ### Spiral action 1. Select the ship titled `Spiral` on the canvas. 2. Click `+ Add Action` in the panel's `OnSceneStart` handler under the `Actions/Events` panel. + **NOTE:** The Action Library popup will appear. 3. In the Action Library categories, click the `Loops` tab. 4. In the Actions list, click `Repeat with Children…` + **NOTE:** The Actions Library will close, and a popup menu in the `OnSceneStart` menu will appear. 5. Set `Child Type = Spiral Pattern` in the popup menu, then click the `Create` button. 6. Click the Back arrow in the properties panel to return to the Actions list. 7. Click on `Child 2` in the Actions list. 8. Set the `Child 2` properties to: - - `direction = inward` + - `Direction = Inward` + - `Flip Y = Checked` - The other defaults are fine. - Click the Back arrow in the properties panel to return to the Actions list. @@ -280,9 +294,12 @@ Success check: 1. Select the ship titled `Bounce` on the canvas. 2. Click `+ Add Action` in the panel's `OnSceneStart` handler under the `Actions/Events` panel. + **NOTE:** The Action Library popup will appear. -3. Add a `Bounce Pattern` step and set: - - `velocityX = 100` +3. In the Action Library categories, click the `Movement` tab. +4. Add a `Bounce` step and set: + - `Name = BounceBox` + - `Velocity X = 100` - In the `Bounds` panel for the same ship: - Switch `Bounds` edit mode to `Center/Span` - Set `± X Span = 50` @@ -297,8 +314,10 @@ Success check: 1. Select the ship titled `Patrol` on the canvas. 2. Click `+ Add Action` in the panel's `OnSceneStart` handler under the `Actions/Events` panel. + **NOTE:** The Action Library popup will appear. -3. Add a `Patrol Pattern` step and set: +3. In the Action Library categories, click the `Movement` tab. +4. Add a `Patrol` step and set: - `Velocity X = 80` - In the `Bounds` panel for the same ship: - Switch `Bounds` edit mode to `Center/Span` @@ -315,11 +334,21 @@ Success check: - Every ship shows a handler/action flow in the editor. - `Bounce` and `Patrol` have their bounds configured, not just the pattern action itself. +## Add Music to the Demo + +1. Click on a blank part of the Canvas. + + **NOTE:** The Inspector for the canvas itself will appear in the right sidebar. + +2. In the Inspector, expand the Audio panel (if it's not already visible) by clicking the chevron next to its name. +3. Click on the Music dropdown box and select a song from the Demo Pack, like "sb-indreams-chosic-com" or whichever one you like. +4. Adjust the Volume setting if you like. + ## Run the Demo in Play Mode Toggle into Play mode with `Tab` or the toolbar button, and let the scene run long enough to verify all seven motions. -Toolbar close-up +Toolbar buttons for Undo, Redo, Snap Off, and Play Mode

Figure 13. Toolbar region with Play/Edit toggle and status controls.

diff --git a/src/editor/Inspector.tsx b/src/editor/Inspector.tsx index 33119f1..67a158d 100644 --- a/src/editor/Inspector.tsx +++ b/src/editor/Inspector.tsx @@ -2223,7 +2223,7 @@ function AttachmentInspector({ return; } if (nextType === 'OrbitPattern') { - onUpdate({ ...base, params: { radius: 50, velocity: 100, clockwise: true, centerMode: 'current' } }); + onUpdate({ ...base, params: { radius: 50, velocity: 100, clockwise: true, centerMode: 'home' } }); return; } if (nextType === 'BouncePattern') { @@ -3286,7 +3286,7 @@ function AttachmentInspector({ Center