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

163 lines
5 KiB
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/interfaces/debug_window/debug_window.gd" type="Script" id=1]
[ext_resource path="res://addons/kh_window/kh_window.gd" type="Script" id=2]
[ext_resource path="res://addons/kh_window/background_default.jpg" type="Texture" id=3]
[node name="debug_window" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1232.0
margin_bottom = -719.0
rect_min_size = Vector2( 256, 256 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="kh_window" type="MarginContainer" parent="."]
margin_right = 128.0
margin_bottom = 128.0
mouse_filter = 1
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
title = "Debug/Tests"
background_texture = ExtResource( 3 )
min_size = Vector2( 256, 256 )
[node name="v_box_container" type="VBoxContainer" parent="kh_window"]
margin_right = 128.0
margin_bottom = 138.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="sky_label" type="Label" parent="kh_window/v_box_container"]
margin_right = 128.0
margin_bottom = 14.0
text = "Sky:"
[node name="sky_box" type="VBoxContainer" parent="kh_window/v_box_container"]
margin_top = 18.0
margin_right = 128.0
margin_bottom = 34.0
[node name="time_of_day" type="HBoxContainer" parent="kh_window/v_box_container/sky_box"]
margin_right = 128.0
margin_bottom = 16.0
[node name="label" type="Label" parent="kh_window/v_box_container/sky_box/time_of_day"]
margin_top = 1.0
margin_right = 74.0
margin_bottom = 15.0
size_flags_horizontal = 10
text = "Time of day"
[node name="value" type="HSlider" parent="kh_window/v_box_container/sky_box/time_of_day"]
margin_left = 78.0
margin_right = 128.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="kh_window/v_box_container"]
margin_top = 38.0
margin_right = 128.0
margin_bottom = 52.0
text = "Mist:"
[node name="mist_box" type="VBoxContainer" parent="kh_window/v_box_container"]
margin_top = 56.0
margin_right = 128.0
margin_bottom = 72.0
[node name="mist_level" type="HBoxContainer" parent="kh_window/v_box_container/mist_box"]
margin_right = 128.0
margin_bottom = 16.0
[node name="label" type="Label" parent="kh_window/v_box_container/mist_box/mist_level"]
margin_top = 1.0
margin_right = 63.0
margin_bottom = 15.0
size_flags_horizontal = 10
text = "Mist level"
[node name="value" type="HSlider" parent="kh_window/v_box_container/mist_box/mist_level"]
margin_left = 67.0
margin_right = 128.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.1
[node name="fears_label" type="Label" parent="kh_window/v_box_container"]
margin_top = 76.0
margin_right = 128.0
margin_bottom = 90.0
text = "Fears:"
[node name="fears_box" type="VBoxContainer" parent="kh_window/v_box_container"]
margin_top = 94.0
margin_right = 128.0
margin_bottom = 138.0
[node name="oubli" type="HBoxContainer" parent="kh_window/v_box_container/fears_box"]
margin_right = 128.0
margin_bottom = 20.0
[node name="label" type="Label" parent="kh_window/v_box_container/fears_box/oubli"]
margin_left = 32.0
margin_top = 3.0
margin_right = 67.0
margin_bottom = 17.0
size_flags_horizontal = 10
text = "Oubli"
[node name="minus" type="Button" parent="kh_window/v_box_container/fears_box/oubli"]
margin_left = 71.0
margin_right = 96.0
margin_bottom = 20.0
text = "-1"
[node name="plus" type="Button" parent="kh_window/v_box_container/fears_box/oubli"]
margin_left = 100.0
margin_right = 128.0
margin_bottom = 20.0
text = "+1"
[node name="douleur" type="HBoxContainer" parent="kh_window/v_box_container/fears_box"]
margin_top = 24.0
margin_right = 128.0
margin_bottom = 44.0
[node name="label" type="Label" parent="kh_window/v_box_container/fears_box/douleur"]
margin_left = 16.0
margin_top = 3.0
margin_right = 67.0
margin_bottom = 17.0
size_flags_horizontal = 10
text = "Douleur"
[node name="minus" type="Button" parent="kh_window/v_box_container/fears_box/douleur"]
margin_left = 71.0
margin_right = 96.0
margin_bottom = 20.0
text = "-1"
[node name="plus" type="Button" parent="kh_window/v_box_container/fears_box/douleur"]
margin_left = 100.0
margin_right = 128.0
margin_bottom = 20.0
text = "+1"
[connection signal="mouse_exited" from="." to="." method="_on_debug_window_mouse_exited"]
[connection signal="value_changed" from="kh_window/v_box_container/sky_box/time_of_day/value" to="." method="_on_time_of_day_value_changed"]
[connection signal="value_changed" from="kh_window/v_box_container/mist_box/mist_level/value" to="." method="_on_mist_level_value_changed"]
[connection signal="pressed" from="kh_window/v_box_container/fears_box/oubli/minus" to="." method="_on_oubli_minus_pressed"]
[connection signal="pressed" from="kh_window/v_box_container/fears_box/oubli/plus" to="." method="_on_oubli_plus_pressed"]
[connection signal="pressed" from="kh_window/v_box_container/fears_box/douleur/minus" to="." method="_on_douleur_minus_pressed"]
[connection signal="pressed" from="kh_window/v_box_container/fears_box/douleur/plus" to="." method="_on_douleur_plus_pressed"]