makeyangcom 8 месяцев назад
Родитель
Сommit
897cfa7b90

+ 4 - 4
engine/project.godot

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

+ 0 - 0
engine/scripts/framework/client/client.gd → engine/scripts/base/client/client.gd


+ 2 - 0
engine/scripts/framework/global.gd → engine/scripts/base/global.gd

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

+ 0 - 0
engine/scripts/framework/server/server.gd → engine/scripts/base/server/server.gd


+ 0 - 0
engine/scripts/framework/utils/request.gd → engine/scripts/base/utils/request.gd


+ 6 - 0
wiki/course/0002.md

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