mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 16:52:20 +00:00
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:
1 parent
f4b535d89e
commit
7a0b649bf5
22 files changed
+26
-232
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user