diff --git a/README-CN.md b/README-CN.md index c5a065e..7557e90 100644 --- a/README-CN.md +++ b/README-CN.md @@ -121,7 +121,7 @@ 程序运行后会输出如下提示 ``` - ThreeCraft v1.0.0 game server running at: + ThreeCraft v1.0.2 game server running at: > Local: http://localhost:9000 > Network: http://xxx.xxx.xxx.xxx:9000 diff --git a/README.md b/README.md index 246a380..946b302 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ After the program runs, the following prompt will be output ``` - ThreeCraft v1.0.0 game server running at: + ThreeCraft v1.0.2 game server running at: > Local: http://localhost:9000 > Network: http://xxx.xxx.xxx.xxx:9000 diff --git a/server/src/index.ts b/server/src/index.ts index c3a8676..e740a4c 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -35,7 +35,7 @@ io.on('connection', socket => { for (let i = 0; i < iface!.length; i++) { const alias = iface![i]; if (alias.address !== '127.0.0.1' && !alias.internal) { - console.log(`ThreeCraft v1.0.0 game server running at:\n> Local:\thttp://localhost:9000\n> Network:\thttp://${alias.address}:9000\n`); + console.log(`ThreeCraft v1.0.2 game server running at:\n> Local:\thttp://localhost:9000\n> Network:\thttp://${alias.address}:9000\n`); console.log(`\x1b[40m\x1b[31mYOU MUST ENTER THE ADDRESS LIKE http://${alias.address}:9000 IN GAME, NO PART CAN BE OMITTED!\x1b[0m`); return; } diff --git a/src/controller/config/index.ts b/src/controller/config/index.ts index e68001f..a4c97b2 100644 --- a/src/controller/config/index.ts +++ b/src/controller/config/index.ts @@ -26,7 +26,7 @@ const config = { }, renderer: { fog: 0.02, - stageSize: 64, // stage的边长 196 + stageSize: deviceTest() === 'pc' ? 144 : 64, // stage的边长 196 // renderDistance: 500, }, controller: { @@ -125,7 +125,7 @@ const defaultConfig = { }, renderer: { fog: 0.02, - stageSize: 64, // stage的边长 196 + stageSize: deviceTest() === 'pc' ? 144 : 64, // stage的边长 196 // renderDistance: 500, }, controller: { diff --git a/src/controller/config/lang/en_us.ts b/src/controller/config/lang/en_us.ts index 6da1cbd..c594a12 100644 --- a/src/controller/config/lang/en_us.ts +++ b/src/controller/config/lang/en_us.ts @@ -60,7 +60,7 @@ export default { { k: 'Turn Headset', v: 'Change Orientation' }, { k: 'Using Remote', v: 'Destroy Blocks' }, ], - aboutItems: ['Minecraft release based on Three.js', 'Version: 1.0.1', 'More information, see', ':)'], + aboutItems: ['Minecraft release based on Three.js', 'Version: 1.0.2', 'More information, see', ':)'], tryRotate: 'Please rotate the screen before start', tryLock: 'Mouse lock failed, please try clicking again', allBlock: 'All blocks', diff --git a/src/controller/config/lang/zh_cn.ts b/src/controller/config/lang/zh_cn.ts index 9d59f88..0f62705 100644 --- a/src/controller/config/lang/zh_cn.ts +++ b/src/controller/config/lang/zh_cn.ts @@ -60,7 +60,7 @@ const language = { { k: '转动头显', v: '变换朝向' }, { k: '使用遥控器', v: '摧毁方块' }, ], - aboutItems: ['基于Three.js的Minecraft实现.', '版本: 1.0.1', '去', '了解更多:)'], + aboutItems: ['基于Three.js的Minecraft实现.', '版本: 1.0.2', '去', '了解更多:)'], tryRotate: '请先将您的设备设为横屏再开始游戏', tryLock: '鼠标锁定失败, 请尝试再次点击', allBlock: '全部方块',