feat: full-screen StoryGallery with flow layout, startAtScene engine method, clickable flow nodes
This commit is contained in:
@@ -43,7 +43,7 @@ const showTopBar = ref(true)
|
||||
let hideTopBarTimer: ReturnType<typeof setTimeout> | null = null
|
||||
|
||||
const { loadGame, start, resumeAutoSave, makeChoice, clickHotspot, startChapter,
|
||||
skipScene, setSpeed, getSpeed, isSceneWatched,
|
||||
skipScene, setSpeed, getSpeed, isSceneWatched, startAtScene,
|
||||
saveGame, loadGameFromSlot, refreshSaves, saveSystem, engine } =
|
||||
useGameEngine(() => [videoElA.value, videoElB.value])
|
||||
|
||||
@@ -363,6 +363,7 @@ init()
|
||||
:visited-ids="store.visitedSceneIds"
|
||||
:unlocked-chapter-ids="store.unlockedChapterIds"
|
||||
@start-chapter="(chId: string) => { showStoryGallery = false; onStartChapter(chId) }"
|
||||
@start-at-scene="(chId: string, sceneId: string) => { showStoryGallery = false; started = true; startAtScene(chId, sceneId) }"
|
||||
@close="showStoryGallery = false"
|
||||
/>
|
||||
<AchievementPanel
|
||||
|
||||
Reference in New Issue
Block a user