1.2 KiB
1.2 KiB
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
- Open this project in Cocos Creator 3.8.3.
File ▸ New ▸ Scene, save asassets/scenes/Boot.scene.- Add an empty node named
Boot, attach theGameBootcomponent (assets/scripts/GameBoot.ts). - 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.