-
Notifications
You must be signed in to change notification settings - Fork 1
/
World.tscn
137 lines (114 loc) · 3.24 KB
/
World.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[gd_scene load_steps=2 format=2]
[ext_resource path="res://World.gd" type="Script" id=1]
[node name="SimpleWorld" type="Node2D"]
script = ExtResource( 1 )
[node name="Camera2D" type="Camera2D" parent="."]
visible = false
anchor_mode = 0
current = true
[node name="fps_container" type="ColorRect" parent="."]
editor/display_folded = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 40.0
margin_bottom = 40.0
color = Color( 0, 0, 0, 1 )
[node name="fps" type="Label" parent="fps_container"]
margin_right = 40.0
margin_bottom = 14.0
text = "FPS"
[node name="2dlines_container" type="Node2D" parent="."]
z_index = -1
[node name="gui" type="CanvasLayer" parent="."]
editor/display_folded = true
[node name="b_draw_line2d" type="Button" parent="gui"]
margin_left = 230.0
margin_top = 80.0
margin_right = 380.0
margin_bottom = 120.0
text = "draw Line2D"
[node name="clear" type="Button" parent="gui"]
margin_left = 60.0
margin_top = 80.0
margin_right = 210.0
margin_bottom = 120.0
text = "Clear all"
[node name="block" type="ColorRect" parent="gui"]
editor/display_folded = true
margin_left = 50.0
margin_top = 10.0
margin_right = 330.0
margin_bottom = 60.0
color = Color( 0, 0.639216, 0.890196, 1 )
[node name="lines_num" type="HSlider" parent="gui/block"]
anchor_right = 0.08
margin_left = 10.0
margin_right = 207.6
margin_bottom = 40.0
min_value = 1.0
max_value = 2000.0
value = 1.0
rounded = true
[node name="label" type="Label" parent="gui/block"]
margin_left = 240.0
margin_right = 280.0
margin_bottom = 40.0
text = "#"
align = 1
valign = 1
[node name="min" type="Label" parent="gui/block"]
margin_left = 10.0
margin_top = 30.0
margin_right = 30.0
margin_bottom = 44.0
text = " 1"
[node name="max" type="Label" parent="gui/block"]
margin_left = 210.0
margin_top = 30.0
margin_right = 250.0
margin_bottom = 44.0
text = "2000"
[node name="ScrollContainer" type="ScrollContainer" parent="gui"]
editor/display_folded = true
margin_left = 60.0
margin_top = 140.0
margin_right = 320.0
margin_bottom = 334.0
scroll_horizontal_enabled = false
[node name="VBoxContainer" type="VBoxContainer" parent="gui/ScrollContainer"]
margin_right = 260.0
margin_bottom = 115.0
size_flags_horizontal = 3
custom_constants/separation = 5
[node name="b_draw_line" type="Button" parent="gui/ScrollContainer/VBoxContainer"]
margin_right = 260.0
margin_bottom = 20.0
text = "draw_line()"
[node name="b_draw_polyline" type="Button" parent="gui/ScrollContainer/VBoxContainer"]
margin_top = 25.0
margin_right = 260.0
margin_bottom = 45.0
text = "draw_polyline()"
[node name="b_draw_circles" type="Button" parent="gui/ScrollContainer/VBoxContainer"]
margin_top = 50.0
margin_right = 260.0
margin_bottom = 70.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "draw_circle()"
[node name="Container" type="HBoxContainer" parent="gui/ScrollContainer/VBoxContainer"]
margin_top = 75.0
margin_right = 260.0
margin_bottom = 115.0
[node name="b_draw_rect" type="Button" parent="gui/ScrollContainer/VBoxContainer/Container"]
margin_right = 157.0
margin_bottom = 40.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "draw_rect()"
[node name="CheckButton" type="CheckButton" parent="gui/ScrollContainer/VBoxContainer/Container"]
margin_left = 161.0
margin_right = 260.0
margin_bottom = 40.0
text = "Fill"
align = 2