From d7e47b4901098ac3b35c8251c81029a024e475d1 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 01:29:59 +0200 Subject: [PATCH] Update App.tsx to support sequence effects and refactor interaction links --- src/app/App.tsx | 103 ++++++++++++++---------------------------------- 1 file changed, 29 insertions(+), 74 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 734fe6ad..ff4fd08e 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -8267,11 +8267,16 @@ export function App({ store, initialStatusMessage }: AppProps) { ) => (
Links
+
+ Links now start sequences. Build teleport, dialogue, animation, audio, + visibility, and control behavior as sequence effects in the Sequencer, + then reference the sequence here. +
{links.length === 0 ? (
{sourceEntity.kind === "triggerVolume" - ? "No trigger links authored yet." - : "No click links authored yet."} + ? "No sequence links authored for this Trigger Volume yet." + : "No sequence links authored for this Interactable yet."}
) : (
@@ -8335,22 +8340,25 @@ export function App({ store, initialStatusMessage }: AppProps) { ) } > - - - - - - - - + {isLegacyInteractionActionType(link.action.type) ? ( + + ) : null}
+ {isLegacyInteractionActionType(link.action.type) ? ( +
+ This link still uses a legacy direct action. New authoring + should move this behavior into a reusable sequence effect and + switch the link to Run Sequence. +
+ ) : null} + {link.action.type === "teleportPlayer" ? (
- Run Sequence links can only reference sequences that - contain at least one impulse effect. + Run Sequence links can reference any authored sequence, + but only its impulse effects fire from interactions.
); @@ -8658,66 +8666,6 @@ export function App({ store, initialStatusMessage }: AppProps) { )}
- - - - - - - +
);