Files
tianshu-engine/ROADMAP.md

39 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 交互式电影游戏引擎 — Roadmap
## 技术栈
- **框架**: Vue 3 (Composition API + `<script setup>`)
- **构建**: Vite
- **状态管理**: Pinia
- **可视化编辑器**: Vue Flow
- **存储**: IndexedDB (Dexie.js)
- **BGM**: Web Audio API
- **语言**: TypeScript
- **视频**: 原生 `<video>` + A/B 双缓冲
## 实现路线
### P18 视频加载失败恢复(待实现)
目标:视频加载失败时显示错误画面 + 重试/跳过按钮,不再静默黑屏。
- [ ] `engine/core/VideoManager.ts``play`/`switchTo` 增加错误回调 + 超时检测5 秒)+ 重试(最多 3 次,指数退避 1s/2s/4s
- [ ] `src/components/VideoErrorOverlay.vue` — 错误画面:图标 + 提示 + [重试] [跳过] 按钮
- [ ] `src/stores/gameStore.ts``videoError` 状态
- [ ] `src/App.vue` — 整合 VideoErrorOverlay
- [ ] 验证:断网播放 → 错误画面 → 重试恢复 → 跳过下一场景
## 已完成
P0~P23 全部实现(除 P18。详见 [CHANGELOG.md](CHANGELOG.md)。
## 相关文档
| 文档 | 说明 |
|------|------|
| [docs/SCENE_JSON_SPEC.md](docs/SCENE_JSON_SPEC.md) | 场景 JSON 完整字段参考手册 |
| [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) | 关键架构决策记录 |
| [PRODUCTION.md](PRODUCTION.md) | 生产级交付检查清单 |
| [FUTURE.md](FUTURE.md) | 远期功能扩展笔记 |
| [CHANGELOG.md](CHANGELOG.md) | 功能更新日志 |