mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-08 00:40:08 +01:00
- Resave all files with Godot 4.4 to make use of script/shader UIDs. - Use AgX tonemapping in all demos that used a tonemapper other than Linear.
187 lines
5.0 KiB
Plaintext
187 lines
5.0 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://6a0nxwkgf5dq"]
|
|
|
|
[ext_resource type="Script" uid="uid://db4ofia8ieq55" path="res://utils/label_fps.gd" id="1"]
|
|
[ext_resource type="Script" uid="uid://dustsplck84ac" path="res://utils/label_version.gd" id="2"]
|
|
[ext_resource type="Script" uid="uid://c87b1snynit3u" path="res://utils/label_engine.gd" id="3"]
|
|
[ext_resource type="Script" uid="uid://cw0pi4lgucxdr" path="res://tests_menu.gd" id="4"]
|
|
[ext_resource type="Script" uid="uid://bjl0grl2gv43y" path="res://utils/label_test.gd" id="5"]
|
|
[ext_resource type="Script" uid="uid://b4rnndt2dw5g1" path="res://utils/label_pause.gd" id="6"]
|
|
[ext_resource type="Script" uid="uid://k8crlob60yte" path="res://utils/container_log.gd" id="10"]
|
|
[ext_resource type="Script" uid="uid://b2t0e1okrl3j4" path="res://utils/scroll_log.gd" id="11"]
|
|
[ext_resource type="Script" uid="uid://db80201lynb6l" 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 = 646.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
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|
|
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 = -56.0
|
|
offset_right = 128.0
|
|
offset_bottom = -33.0
|
|
grow_vertical = 0
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|
|
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 = -84.0
|
|
offset_right = 125.0
|
|
offset_bottom = -61.0
|
|
grow_vertical = 0
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|
|
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 = -112.0
|
|
offset_right = 50.0
|
|
offset_bottom = -89.0
|
|
grow_vertical = 0
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|
|
text = "Test:"
|
|
script = ExtResource("5")
|
|
|
|
[node name="LabelPause" type="Label" parent="."]
|
|
modulate = Color(1, 1, 0, 1)
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -62.0
|
|
offset_top = 48.0
|
|
offset_right = 62.0
|
|
offset_bottom = 96.0
|
|
grow_horizontal = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
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 = -630.0
|
|
offset_top = -251.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 = -261.0
|
|
offset_top = -35.0
|
|
offset_right = -62.0
|
|
offset_bottom = -4.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
focus_mode = 0
|
|
text = "Automatic Scrolling"
|
|
|
|
[node name="ScrollLog" type="ScrollContainer" parent="PanelLog"]
|
|
layout_mode = 0
|
|
offset_left = 10.0
|
|
offset_top = 5.0
|
|
offset_right = 619.0
|
|
offset_bottom = 210.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"]
|