khanat-client/assets/interfaces/debug_window/debug_window.tscn

88 lines
2.4 KiB
Text

[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/interfaces/debug_window/debug_window.gd" type="Script" id=1]
[node name="debug_window" type="WindowDialog"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1232.0
margin_bottom = -719.0
rect_min_size = Vector2( 256, 256 )
popup_exclusive = true
window_title = "Debug/Tests"
resizable = true
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="v_box_container" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="sky_label" type="Label" parent="v_box_container"]
margin_right = 256.0
margin_bottom = 14.0
text = "Sky:"
[node name="sky_box" type="VBoxContainer" parent="v_box_container"]
margin_top = 18.0
margin_right = 256.0
margin_bottom = 34.0
[node name="time_of_day" type="HBoxContainer" parent="v_box_container/sky_box"]
margin_right = 256.0
margin_bottom = 16.0
[node name="label" type="Label" parent="v_box_container/sky_box/time_of_day"]
margin_left = 52.0
margin_top = 1.0
margin_right = 126.0
margin_bottom = 15.0
size_flags_horizontal = 10
text = "Time of day"
[node name="value" type="HSlider" parent="v_box_container/sky_box/time_of_day"]
margin_left = 130.0
margin_right = 256.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 24.0
step = 0.1
value = 12.0
[node name="mist_label" type="Label" parent="v_box_container"]
margin_top = 38.0
margin_right = 256.0
margin_bottom = 52.0
text = "Mist:"
[node name="mist_box" type="VBoxContainer" parent="v_box_container"]
margin_top = 56.0
margin_right = 256.0
margin_bottom = 72.0
[node name="mist_level" type="HBoxContainer" parent="v_box_container/mist_box"]
margin_right = 256.0
margin_bottom = 16.0
[node name="label" type="Label" parent="v_box_container/mist_box/mist_level"]
margin_left = 63.0
margin_top = 1.0
margin_right = 126.0
margin_bottom = 15.0
size_flags_horizontal = 10
text = "Mist level"
[node name="value" type="HSlider" parent="v_box_container/mist_box/mist_level"]
margin_left = 130.0
margin_right = 256.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.1
[connection signal="value_changed" from="v_box_container/sky_box/time_of_day/value" to="." method="_on_time_of_day_value_changed"]
[connection signal="value_changed" from="v_box_container/mist_box/mist_level/value" to="." method="_on_mist_level_value_changed"]