mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat(多人游戏): 添加多人游戏生成器功能
- 在World场景中添加MultiplayerSpawner节点 - 在WorldManager中实现spawn方法处理本地和多人游戏生成逻辑 - 移除EntityBase中不再需要的多人游戏同步代码
This commit is contained in:
@@ -72,6 +72,10 @@ texture_filter = 1
|
||||
script = ExtResource("1_lxsxj")
|
||||
metadata/_edit_vertical_guides_ = [-1.0, 57.0]
|
||||
|
||||
[node name="spawner" type="MultiplayerSpawner" parent="."]
|
||||
unique_name_in_owner = true
|
||||
spawn_path = NodePath("..")
|
||||
|
||||
[node name="UI" parent="." instance=ExtResource("2_04cdd")]
|
||||
|
||||
[node name="camera" type="Camera2D" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user