完善 README 项目说明
这个提交包含在:
@@ -0,0 +1,22 @@
|
|||||||
|
# Marry 乒乓球游戏
|
||||||
|
|
||||||
|
基于 Godot 4.6 + C++ GDExtension 的双人乒乓球游戏。
|
||||||
|
|
||||||
|
## 项目结构
|
||||||
|
- `main/` — Godot 项目(场景、GDScript)
|
||||||
|
- `src/` — C++ 源码(GDExtension)
|
||||||
|
- `godot-cpp/` — Godot C++ 绑定库(git 子模块,4.5 分支)
|
||||||
|
|
||||||
|
## 构建 C++ 扩展
|
||||||
|
Windows 下运行 `build-marry.bat`,或使用 Visual Studio 打开 `CMakeLists.txt` 编译。
|
||||||
|
编译产物输出到 `bin/marry.dll`。
|
||||||
|
|
||||||
|
## 克隆与初始化
|
||||||
|
```bash
|
||||||
|
git clone https://git.onxiou.cn/ProMax-Marry/Marry.git
|
||||||
|
cd Marry
|
||||||
|
git submodule update --init
|
||||||
|
```
|
||||||
|
|
||||||
|
## 运行
|
||||||
|
用 Godot 4.6 打开 `main/project.godot` 即可。
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://b6i8s2sq8m8lc
|
||||||
+1
-6
@@ -11,15 +11,10 @@ config_version=5
|
|||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Pingpang"
|
config/name="Pingpang"
|
||||||
|
run/main_scene="res://scenes/main.tscn"
|
||||||
config/features=PackedStringArray("4.6", "Forward Plus")
|
config/features=PackedStringArray("4.6", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
run/main_scene="res://scenes/main.tscn"
|
|
||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
|
|
||||||
common/enable_2d_physics=true
|
common/enable_2d_physics=true
|
||||||
|
|
||||||
[rendering]
|
|
||||||
|
|
||||||
renderer/rendering_method="forward_plus"
|
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户