feat: P1 core - seamless video switching, conditional branches, save/load
- VideoManager: A/B dual-buffered video with crossfade transitions and candidate preloading - Engine: condition-based choice filtering, ChoiceSystem timer, resumeScene for save/load - SceneManager: getCandidateUrls for preloading next scenes - SaveSystem: Dexie.js IndexedDB multi-slot save/load - ChoiceSystem: timed choices with countdown and auto-default on timeout - GamePlayer: dual video elements with crossfade CSS - ChoicePanel: timer progress bar and countdown text - SaveLoadMenu: save/load UI component - App.vue: menu trigger, dual video refs, save/load integration - gameStore: timer state, saves list - demo.json: conditional choice example (secret ending, requires trust >= 80) - ROADMAP: mark P1 as completed
This commit is contained in:
@@ -66,6 +66,8 @@ export interface SaveData {
|
||||
export type EngineEvent =
|
||||
| 'sceneChange'
|
||||
| 'choiceRequest'
|
||||
| 'choiceTimer'
|
||||
| 'gameEnd'
|
||||
| 'qteTrigger'
|
||||
| 'videoEnd'
|
||||
| 'choiceTimeout'
|
||||
|
||||
Reference in New Issue
Block a user