mirror of
http://junepve.top:3000/chicrobot/CINC.git
synced 2026-10-30 00:21:29 +08:00
1 parent
149b90344e
commit
8ff2779557
2 files changed
+14
-4
No files matched your search
@@ -8,6 +8,16 @@ export default {
|
||||
height: window.innerHeight,
|
||||
// 游戏背景颜色:使用十六进制颜色值设置为天蓝色
|
||||
backgroundColor: '#87ceeb',
|
||||
// 输入系统配置
|
||||
input: {
|
||||
// 启用多点触控支持
|
||||
multiTouch: true,
|
||||
// 触摸事件捕获配置
|
||||
touch: {
|
||||
// 捕获触摸事件,防止事件冒泡
|
||||
capture: true
|
||||
}
|
||||
},
|
||||
// 物理引擎配置
|
||||
physics: {
|
||||
// 默认使用的物理引擎:'arcade'是Phaser内置的轻量级物理引擎
|
||||
|
||||
Reference in new issue
Block a user