182 lines
4.4 KiB
Plaintext
182 lines
4.4 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://pfb5u7r1hl8t"]
|
|
|
|
[ext_resource type="Script" path="res://utils/label_fps.gd" id="1"]
|
|
[ext_resource type="Script" path="res://utils/label_version.gd" id="2"]
|
|
[ext_resource type="Script" path="res://utils/label_engine.gd" id="3"]
|
|
[ext_resource type="Script" path="res://tests_menu.gd" id="4"]
|
|
[ext_resource type="Script" path="res://utils/label_test.gd" id="5"]
|
|
[ext_resource type="Script" path="res://utils/label_pause.gd" id="6"]
|
|
[ext_resource type="Script" path="res://utils/container_log.gd" id="10"]
|
|
[ext_resource type="Script" path="res://utils/scroll_log.gd" id="11"]
|
|
[ext_resource type="Script" path="res://tests.gd" id="12"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="1"]
|
|
bg_color = Color(0, 0, 0, 0.176471)
|
|
|
|
[node name="Main" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("12")
|
|
|
|
[node name="TestsMenu" type="MenuButton" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 10.0
|
|
offset_top = 10.0
|
|
offset_right = 125.0
|
|
offset_bottom = 30.0
|
|
text = "TESTS"
|
|
flat = false
|
|
script = ExtResource("4")
|
|
|
|
[node name="LabelControls" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 157.0
|
|
offset_top = 13.0
|
|
offset_right = 375.0
|
|
offset_bottom = 27.0
|
|
text = "P - TOGGLE PAUSE / R - RESTART / C - TOGGLE COLLISION / F - TOGGLE FULL SCREEN / ESC - QUIT"
|
|
|
|
[node name="LabelFPS" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 10.0
|
|
offset_top = -19.0
|
|
offset_right = 50.0
|
|
offset_bottom = -5.0
|
|
grow_vertical = 0
|
|
text = "FPS: 0"
|
|
script = ExtResource("1")
|
|
|
|
[node name="LabelEngine" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 10.0
|
|
offset_top = -39.0
|
|
offset_right = 50.0
|
|
offset_bottom = -25.0
|
|
grow_vertical = 0
|
|
text = "Physics engine:"
|
|
script = ExtResource("3")
|
|
|
|
[node name="LabelVersion" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 10.0
|
|
offset_top = -59.0
|
|
offset_right = 50.0
|
|
offset_bottom = -45.0
|
|
grow_vertical = 0
|
|
text = "Godot Version:"
|
|
script = ExtResource("2")
|
|
|
|
[node name="LabelTest" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 10.0
|
|
offset_top = -79.0
|
|
offset_right = 50.0
|
|
offset_bottom = -65.0
|
|
grow_vertical = 0
|
|
text = "Test:"
|
|
script = ExtResource("5")
|
|
|
|
[node name="LabelPause" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -46.5
|
|
offset_top = -584.0
|
|
offset_right = 46.5
|
|
offset_bottom = -547.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_colors/font_color = Color(1, 1, 0, 1)
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "PAUSED"
|
|
script = ExtResource("6")
|
|
|
|
[node name="PanelLog" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -482.0
|
|
offset_top = -237.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
theme_override_styles/panel = SubResource("1")
|
|
|
|
[node name="ButtonClear" type="Button" parent="PanelLog"]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -48.0
|
|
offset_top = -25.0
|
|
offset_right = -5.0
|
|
offset_bottom = -5.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
focus_mode = 0
|
|
text = "Clear"
|
|
|
|
[node name="CheckBoxScroll" type="CheckButton" parent="PanelLog"]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -189.0
|
|
offset_top = -35.0
|
|
offset_right = -57.0
|
|
offset_bottom = -4.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
focus_mode = 0
|
|
text = "Auto Scroll"
|
|
|
|
[node name="ScrollLog" type="ScrollContainer" parent="PanelLog"]
|
|
layout_mode = 0
|
|
offset_left = 10.0
|
|
offset_top = 5.0
|
|
offset_right = 472.0
|
|
offset_bottom = 194.0
|
|
script = ExtResource("11")
|
|
auto_scroll = true
|
|
|
|
[node name="VBoxLog" type="VBoxContainer" parent="PanelLog/ScrollLog"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
alignment = 2
|
|
script = ExtResource("10")
|
|
|
|
[node name="LabelLog" type="Label" parent="PanelLog/ScrollLog/VBoxLog"]
|
|
layout_mode = 2
|
|
text = "Log start"
|
|
max_lines_visible = 5
|
|
|
|
[connection signal="pressed" from="PanelLog/ButtonClear" to="PanelLog/ScrollLog/VBoxLog" method="clear"]
|
|
[connection signal="toggled" from="PanelLog/CheckBoxScroll" to="PanelLog/ScrollLog" method="_on_check_box_scroll_toggled"]
|