mirror of
http://junepve.top:3000/chicrobot/CINC.git
synced 2026-10-30 07:41:29 +08:00
feat(SS) 故事场景控制场景备份
This commit is contained in:
1 parent
062d950583
commit
5644f9c1eb
13 files changed
+108
-1072
No files matched your search
@@ -98,6 +98,13 @@ export default class WorldTime extends Phaser.Scene {
|
||||
fontFamily: 'Arial'
|
||||
}
|
||||
).setScrollFactor(0).setDepth(this.UIDepth) // 固定文本,不随相机移动,UI层级
|
||||
// 当场景是WorldTime时,突出,显示在中心
|
||||
if (this.scene.key === 'WorldTime') {
|
||||
this.timeText.setPosition(
|
||||
this.cameras.main.width/2,
|
||||
this.cameras.main.height/2
|
||||
).setOrigin(0.5, 0.5)
|
||||
}
|
||||
// 添加黑夜遮罩
|
||||
this.nightMask = this.add.rectangle(
|
||||
0, 0,
|
||||
|
||||
Reference in new issue
Block a user