提交 5257ff11 编写于 作者: M makalake

Thu Apr 25 18:26:00 CST 2024 inscode

上级 acf6f985
run = "dist/index.html"
entrypoint = "index.ts"
language = "node"
[nix]
channel = "stable-22_11"
[debugger]
program = "main.js"
......@@ -38,31 +38,31 @@
</svg>
</a>
<div class="menu start">
<button id="play" class="button">Play</button>
<button id="save" class="button">Load Game</button>
<button id="setting" class="button">Setting</button>
<button id="feature" class="button">Guide</button>
<button id="exit" class="button">Exit</button>
<footer class="footer">© 2022 Yulei Zhu</footer>
<button id="play" class="button">开始游戏</button>
<button id="save" class="button">加载游戏</button>
<button id="setting" class="button">背景</button>
<button id="feature" class="button">游玩教学</button>
<button id="exit" class="button">退出</button>
<footer class="footer">自制·远古版我的世界</footer>
</div>
<div class="features hidden">
<p>
<b> Left-Click: </b> destroy block <br />
<b> Right-Click:</b> place block <br />
<b> Wheel / Number Key: </b>change block <br />
<b> WASD: </b>move <br />
<b> Space: </b>jump <br />
<b> Q:</b> normal / dev mode <br />
<b> Shift:</b> fly up (in dev mode) <br />
<b> F: </b>full screen <br />
<b> E: </b>menu <br />
<b> 左键单击: </b> 销毁方块 <br />
<b> 右键单击:</b> 放置方块 <br />
<b> 滚轮/数字键: </b>切换方块 <br />
<b> WASD: </b>移动 <br />
<b> 空格: </b>跳跃 <br />
<b> Q:</b> 正常/创造模式 <br />
<b> Shift:</b> 飞起(在创造模式下) <br />
<b> F: </b>全屏模式 <br />
<b> E: </b>菜单 <br />
</p>
<button id="back" class="button">Back</button>
<button id="back" class="button">返回</button>
</div>
<div class="settings hidden">
<p id="distance">Render Distance: 3</p>
<p id="distance">渲染距离:3</p>
<input
type="range"
id="distance-input"
......@@ -72,7 +72,7 @@
step="1"
/>
<p id="fov">Field of View: 70</p>
<p id="fov">视野:70</p>
<input
type="range"
id="fov-input"
......@@ -82,15 +82,15 @@
step="1"
/>
<p id="music">Music: On</p>
<p id="music">音乐:开启</p>
<input type="range" id="music-input" min="0" max="1" value="1" step="1" />
<br />
<br />
<button id="setting-back" class="button">Apply</button>
<button id="setting-back" class="button">OK!</button>
</div>
<div class="save-modal hidden">Game Saved!</div>
<div class="load-modal hidden">Game Loaded!</div>
<div class="save-modal hidden">游戏已保存!</div>
<div class="load-modal hidden">游戏已加载!</div>
</body>
</html>
......@@ -35,31 +35,31 @@
</svg>
</a>
<div class="menu start">
<button id="play" class="button">Play</button>
<button id="save" class="button">Load Game</button>
<button id="setting" class="button">Setting</button>
<button id="feature" class="button">Guide</button>
<button id="exit" class="button">Exit</button>
<footer class="footer">© 2022 Yulei Zhu</footer>
<button id="play" class="button">开始游戏</button>
<button id="save" class="button">加载游戏</button>
<button id="setting" class="button">背景</button>
<button id="feature" class="button">游玩教学</button>
<button id="exit" class="button">退出</button>
<footer class="footer">自制·远古版我的世界</footer>
</div>
<div class="features hidden">
<p>
<b> Left-Click: </b> destroy block <br />
<b> Right-Click:</b> place block <br />
<b> Wheel / Number Key: </b>change block <br />
<b> WASD: </b>move <br />
<b> Space: </b>jump <br />
<b> Q:</b> normal / dev mode <br />
<b> Shift:</b> fly up (in dev mode) <br />
<b> F: </b>full screen <br />
<b> E: </b>menu <br />
<b> 左键单击: </b> 销毁方块 <br />
<b> 右键单击:</b> 放置方块 <br />
<b> 滚轮/数字键: </b> 切换方块 <br />
<b> WASD: </b> 移动 <br />
<b> 空格: </b>跳跃 <br />
<b> Q:</b> 正常/创造模式 <br />
<b> Shift:</b> 飞起(在创造模式下) <br />
<b> F: </b>全屏模式 <br />
<b> E: </b>菜单 <br />
</p>
<button id="back" class="button">Back</button>
<button id="back" class="button">返回</button>
</div>
<div class="settings hidden">
<p id="distance">Render Distance: 3</p>
<p id="distance">渲染距离:3</p>
<input
type="range"
id="distance-input"
......@@ -69,7 +69,7 @@
step="1"
/>
<p id="fov">Field of View: 70</p>
<p id="fov">视野:70</p>
<input
type="range"
id="fov-input"
......@@ -79,7 +79,7 @@
step="1"
/>
<p id="music">Music: On</p>
<p id="music">音乐:开启</p>
<input type="range" id="music-input" min="0" max="1" value="1" step="1" />
<br />
......@@ -87,7 +87,7 @@
<button id="setting-back" class="button">Apply</button>
</div>
<div class="save-modal hidden">Game Saved!</div>
<div class="load-modal hidden">Game Loaded!</div>
<div class="save-modal hidden">游戏已保存!</div>
<div class="load-modal hidden">游戏已加载!</div>
</body>
</html>
......@@ -3,7 +3,7 @@
"version": "0.0.0",
"license": "MIT",
"author": "Yulei Zhu",
"description": "Minecraft clone made with Three.js and TypeScript",
"description": "用Three.js和TypeScript制作的Minecraft克隆",
"scripts": {
"dev": "vite",
"build": "vite build --base=/dist/",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册