feat(SS) 添加故事场景其他内容

This commit is contained in:
chicrobot committed 2026-02-10 18:31:33 +08:00
1 parent 6b07a4a096
commit 062d950583
7 files changed
+44 -6

No files matched your search

+5 -3
View File
@@ -2,15 +2,17 @@
* BreatheLife 场景类
*
* 交互场景,允许用户通过点击屏幕创建角色
* 当创建的角色超过3个时,点击已存在的角色会为其设置纹理
* 当设置纹理的角色超过3个时,自动切换到 MenuScene 场景
* 第二次点击设置纹理
* 第三次点击赋予动画
* 第四次点击移动角色
* 当移动角色超过3个后再次点击,切换到下一个场景
*/
import WorldLand from './WorldLand.js'
export default class BreatheLife extends WorldLand {
constructor(sceneKey = 'BreatheLife') {
// 场景相关
super(sceneKey)
this.nextScene = 'MenuScene'
this.nextScene = 'Control'
// 层级相关
this.SpriteDepth = 10 // 角色层级