153 lines
4.3 KiB
Text
153 lines
4.3 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
|
|
mouse_filter = 2
|
|
__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
|
|
|
|
[node name="fears_label" type="Label" parent="v_box_container"]
|
|
margin_top = 76.0
|
|
margin_right = 256.0
|
|
margin_bottom = 90.0
|
|
text = "Fears:"
|
|
|
|
[node name="fears_box" type="VBoxContainer" parent="v_box_container"]
|
|
margin_top = 94.0
|
|
margin_right = 256.0
|
|
margin_bottom = 138.0
|
|
|
|
[node name="oubli" type="HBoxContainer" parent="v_box_container/fears_box"]
|
|
margin_right = 256.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="label" type="Label" parent="v_box_container/fears_box/oubli"]
|
|
margin_left = 160.0
|
|
margin_top = 3.0
|
|
margin_right = 195.0
|
|
margin_bottom = 17.0
|
|
size_flags_horizontal = 10
|
|
text = "Oubli"
|
|
|
|
[node name="minus" type="Button" parent="v_box_container/fears_box/oubli"]
|
|
margin_left = 199.0
|
|
margin_right = 224.0
|
|
margin_bottom = 20.0
|
|
text = "-1"
|
|
|
|
[node name="plus" type="Button" parent="v_box_container/fears_box/oubli"]
|
|
margin_left = 228.0
|
|
margin_right = 256.0
|
|
margin_bottom = 20.0
|
|
text = "+1"
|
|
|
|
[node name="douleur" type="HBoxContainer" parent="v_box_container/fears_box"]
|
|
margin_top = 24.0
|
|
margin_right = 256.0
|
|
margin_bottom = 44.0
|
|
|
|
[node name="label" type="Label" parent="v_box_container/fears_box/douleur"]
|
|
margin_left = 144.0
|
|
margin_top = 3.0
|
|
margin_right = 195.0
|
|
margin_bottom = 17.0
|
|
size_flags_horizontal = 10
|
|
text = "Douleur"
|
|
|
|
[node name="minus" type="Button" parent="v_box_container/fears_box/douleur"]
|
|
margin_left = 199.0
|
|
margin_right = 224.0
|
|
margin_bottom = 20.0
|
|
text = "-1"
|
|
|
|
[node name="plus" type="Button" parent="v_box_container/fears_box/douleur"]
|
|
margin_left = 228.0
|
|
margin_right = 256.0
|
|
margin_bottom = 20.0
|
|
text = "+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"]
|
|
[connection signal="pressed" from="v_box_container/fears_box/oubli/minus" to="." method="_on_oubli_minus_pressed"]
|
|
[connection signal="pressed" from="v_box_container/fears_box/oubli/plus" to="." method="_on_oubli_plus_pressed"]
|
|
[connection signal="pressed" from="v_box_container/fears_box/douleur/minus" to="." method="_on_douleur_minus_pressed"]
|
|
[connection signal="pressed" from="v_box_container/fears_box/douleur/plus" to="." method="_on_douleur_plus_pressed"]
|