first commmit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# `assets/scenes`
|
||||
|
||||
This directory hosts Cocos Creator 3.8 scene files (`.scene`). Because scene
|
||||
files embed UUIDs generated by the editor, they **must** be created from
|
||||
within Cocos Creator rather than by hand.
|
||||
|
||||
Scenes required by the MVP (task 9.2 and task 7.2):
|
||||
|
||||
| Scene file | Purpose | Created in task |
|
||||
|------------|---------|-----------------|
|
||||
| `Boot.scene` | Root scene, binds `GameBoot.ts` | 1.1 |
|
||||
| `StoryIntro.scene` | Three-page pixel-art opening cutscene | 9.1 |
|
||||
| `MainMenu.scene` | Main menu, level select, settings | 9.2 |
|
||||
| `Level_1_1.scene` … `Level_1_5.scene` | Chapter-1 stages | 7.2 |
|
||||
| `Boss_ShuangHuanFang.scene` | Double-phantom boss arena | 8.1 |
|
||||
| `Settlement.scene` | End-of-stage and chapter settlement | 9.2 |
|
||||
|
||||
### How to create the Boot scene
|
||||
|
||||
1. Open this project in Cocos Creator 3.8.3.
|
||||
2. `File ▸ New ▸ Scene`, save as `assets/scenes/Boot.scene`.
|
||||
3. Add an empty node named `Boot`, attach the `GameBoot` component
|
||||
(`assets/scripts/GameBoot.ts`).
|
||||
4. Set it as the project's default scene in `Project ▸ Project Settings ▸
|
||||
Project ▸ Start Scene`.
|
||||
|
||||
No code changes are required once the scene and start-scene reference are
|
||||
set; the whole boot pipeline is script-driven.
|
||||
Reference in New Issue
Block a user