完善文档

This commit is contained in:
moyin
2025-12-05 19:04:50 +08:00
parent ff4fa5fffd
commit 9e0b559c05

View File

@@ -27,7 +27,21 @@
- Node.js 24.7.0+ - Node.js 24.7.0+
- Yarn 1.22.22+ - Yarn 1.22.22+
### 2. 启动服务器 ### 2. 安装 Godot 引擎
项目根目录包含 `Godot_v4.5.1-stable_win64.exe.zip` 压缩包,解压后包含两个可执行文件:
1. **Godot_v4.5.1-stable_win64.exe** - Godot 引擎主程序(图形界面版本)
2. **Godot_v4.5.1-stable_win64_console.exe** - 控制台版本(用于命令行操作和调试)
**使用步骤**
1. 解压 `Godot_v4.5.1-stable_win64.exe.zip`
2. 双击运行 `Godot_v4.5.1-stable_win64.exe`(主程序)
3. 在 Godot 项目管理器中点击"导入"
4. 选择本项目根目录(包含 `project.godot` 文件的目录)
5. 点击"导入并编辑"即可开始开发和测试
### 3. 启动服务器
```bash ```bash
cd server cd server
@@ -41,7 +55,7 @@ yarn start # 启动服务器
yarn dev yarn dev
``` ```
### 3. 运行游戏 ### 4. 运行游戏
1. 启动 Godot 引擎 1. 启动 Godot 引擎
2. 点击 "导入",选择项目根目录的 `project.godot` 文件 2. 点击 "导入",选择项目根目录的 `project.godot` 文件