Stories: remove unreachable prototype paths

GEV stories never explore, carry no world time and are never live:
drop the resume play state, Jump to live, the exploring branches and
world-time arguments, the overridden play button rules, and the hidden
rail and fill. The legend reads a plain field instead of a mock one.
This commit is contained in:
Sameh Khamis committed 2026-11-16 13:35:05 -08:00
1 parent f4b535d89e
commit 7a0b649bf5
22 files changed
+26 -232

No files matched your search

-5
View File
@@ -57,10 +57,8 @@ export function createGevPlayer(director, story, hooks = {}) {
const state = () => ({
wallMs,
worldMs: null,
durationMs,
playing,
exploring: false,
chapterIndex: Math.min(shotIndex, story.chapters.length - 1),
});
const tick = () => {
@@ -158,9 +156,6 @@ export function createGevPlayer(director, story, hooks = {}) {
shotIndex = chapterAt(story, wallMs);
seekToCurrentTime(options);
},
resume() {
return this.play();
},
/** A key moment: go to that point of the scene. */
focus(event) {
if (event?.wallMs != null) this.seek(event.wallMs);