-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathServer.tscn
90 lines (68 loc) · 3.15 KB
/
Server.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[gd_scene load_steps=5 format=3 uid="uid://dsk0pg2y4ebn2"]
[ext_resource type="Script" path="res://Server.cs" id="1"]
[ext_resource type="Script" path="res://StarFieldRadius.cs" id="2"]
[ext_resource type="Script" path="res://addons/carmel4a97.RTS_Camera2D/RTS-Camera2D.gd" id="3"]
[ext_resource type="Theme" uid="uid://6sdo4bnlj0ik" path="res://debug_stack.tres" id="4"]
[node name="Server" type="Node"]
script = ExtResource("1")
[node name="RTS-Camera2D" type="Camera2D" parent="."]
offset = Vector2(960, 540)
script = ExtResource("3")
camera_zoom_speed = Vector2(0.2, 0.2)
[node name="DebugUI" type="CanvasLayer" parent="."]
[node name="DebugStack" type="VBoxContainer" parent="DebugUI"]
offset_left = 13.0
offset_top = 9.0
offset_right = 111.0
offset_bottom = 345.0
theme = ExtResource("4")
theme_override_constants/separation = 12
[node name="PlayerID" type="LineEdit" parent="DebugUI/DebugStack"]
layout_mode = 2
[node name="JoinAPlayer" type="Button" parent="DebugUI/DebugStack"]
layout_mode = 2
text = "Player Join"
[node name="DeleteAPlayer" type="Button" parent="DebugUI/DebugStack"]
layout_mode = 2
text = "Player Delete"
[node name="FocusAPlayer" type="Button" parent="DebugUI/DebugStack"]
layout_mode = 2
text = "Focus Player"
[node name="UnFocusAPlayer" type="Button" parent="DebugUI/DebugStack"]
layout_mode = 2
text = "UnFocus"
[node name="AddRandomPlayer" type="Button" parent="DebugUI/DebugStack"]
layout_mode = 2
text = "Add Random"
[node name="RingSizeContainer" type="HBoxContainer" parent="DebugUI/DebugStack"]
layout_mode = 2
[node name="RingSizePrompt" type="Label" parent="DebugUI/DebugStack/RingSizeContainer"]
layout_mode = 2
text = "Ring Size: "
[node name="RingSize" type="Label" parent="DebugUI/DebugStack/RingSizeContainer"]
layout_mode = 2
text = "XXX"
[node name="StarfieldSizeContainer" type="HBoxContainer" parent="DebugUI/DebugStack"]
layout_mode = 2
[node name="StarfieldRadiusPrompt" type="Label" parent="DebugUI/DebugStack/StarfieldSizeContainer"]
layout_mode = 2
text = "Field Size: "
[node name="StarfieldRadiusSize" type="Label" parent="DebugUI/DebugStack/StarfieldSizeContainer"]
layout_mode = 2
text = "XXX"
[node name="CurrentPlayerTree" type="Tree" parent="DebugUI/DebugStack"]
custom_minimum_size = Vector2(0, 200)
layout_mode = 2
focus_mode = 0
hide_folding = true
[node name="SectorMap" type="Node" parent="."]
[node name="StarFieldRadius" type="Node2D" parent="."]
position = Vector2(0, -1)
script = ExtResource("2")
[node name="Players" type="Node" parent="."]
[connection signal="pressed" from="DebugUI/DebugStack/JoinAPlayer" to="." method="_on_JoinAPlayer_pressed"]
[connection signal="pressed" from="DebugUI/DebugStack/DeleteAPlayer" to="." method="_on_DeleteAPlayer_pressed"]
[connection signal="pressed" from="DebugUI/DebugStack/FocusAPlayer" to="." method="_on_FocusAPlayer_pressed"]
[connection signal="pressed" from="DebugUI/DebugStack/UnFocusAPlayer" to="." method="_on_UnFocusAPlayer_pressed"]
[connection signal="pressed" from="DebugUI/DebugStack/AddRandomPlayer" to="." method="_on_AddRandomPlayer_pressed"]
[connection signal="item_selected" from="DebugUI/DebugStack/CurrentPlayerTree" to="." method="_on_CurrentPlayerTree_item_selected"]