This commit is contained in:
makeyangcom
2024-03-06 17:30:13 +08:00
parent 2501637568
commit 897cfa7b90
6 changed files with 12 additions and 4 deletions

View File

@@ -19,10 +19,10 @@ config/icon="res://assets/icon.svg"
[autoload] [autoload]
Global="*res://scripts/framework/global.gd" Global="*res://scripts/base/global.gd"
Server="*res://scripts/framework/server/server.gd" Server="*res://scripts/base/server/server.gd"
Client="*res://scripts/framework/client/client.gd" Client="*res://scripts/base/client/client.gd"
Request="*res://scripts/framework/utils/request.gd" Request="*res://scripts/base/utils/request.gd"
[display] [display]

View File

@@ -19,6 +19,8 @@ var data = {
} }
func _ready() -> void: func _ready() -> void:
# 限制窗口最小尺寸
DisplayServer.window_set_min_size(Vector2(1280, 720))
# 服务器模式检测 # 服务器模式检测
if OS.has_feature("dedicated_server"): if OS.has_feature("dedicated_server"):
print("[服务器模式]") print("[服务器模式]")

View File

@@ -2,6 +2,12 @@
> 第二课时操作引导文档。 > 第二课时操作引导文档。
### 更新课程源码
```shell
git pull origin main
```
### GoLand编辑器配置 ### GoLand编辑器配置
```shell ```shell