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

164 lines
5 KiB
Text
Raw Normal View History

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/interfaces/debug_window/debug_window.gd" type="Script" id=1]
2020-04-01 19:02:49 +00:00
[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
}
2020-04-01 19:02:49 +00:00
[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 )
2020-04-01 19:02:49 +00:00
[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
}
2020-04-01 19:02:49 +00:00
[node name="sky_label" type="Label" parent="kh_window/v_box_container"]
margin_right = 128.0
margin_bottom = 14.0
text = "Sky:"
2020-04-01 19:02:49 +00:00
[node name="sky_box" type="VBoxContainer" parent="kh_window/v_box_container"]
margin_top = 18.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 34.0
2020-04-01 19:02:49 +00:00
[node name="time_of_day" type="HBoxContainer" parent="kh_window/v_box_container/sky_box"]
margin_right = 128.0
margin_bottom = 16.0
2020-04-01 19:02:49 +00:00
[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"
2020-04-01 19:02:49 +00:00
[node name="value" type="HSlider" parent="kh_window/v_box_container/sky_box/time_of_day"]
margin_left = 78.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 24.0
step = 0.1
value = 12.0
2020-04-01 19:02:49 +00:00
[node name="mist_label" type="Label" parent="kh_window/v_box_container"]
margin_top = 38.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 52.0
text = "Mist:"
2020-04-01 19:02:49 +00:00
[node name="mist_box" type="VBoxContainer" parent="kh_window/v_box_container"]
margin_top = 56.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 72.0
2020-04-01 19:02:49 +00:00
[node name="mist_level" type="HBoxContainer" parent="kh_window/v_box_container/mist_box"]
margin_right = 128.0
margin_bottom = 16.0
2020-04-01 19:02:49 +00:00
[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"
2020-04-01 19:02:49 +00:00
[node name="value" type="HSlider" parent="kh_window/v_box_container/mist_box/mist_level"]
margin_left = 67.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.1
2020-04-01 19:02:49 +00:00
[node name="fears_label" type="Label" parent="kh_window/v_box_container"]
margin_top = 76.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 90.0
text = "Fears:"
2020-04-01 19:02:49 +00:00
[node name="fears_box" type="VBoxContainer" parent="kh_window/v_box_container"]
margin_top = 94.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 138.0
2020-04-01 19:02:49 +00:00
[node name="oubli" type="HBoxContainer" parent="kh_window/v_box_container/fears_box"]
margin_right = 128.0
margin_bottom = 20.0
2020-04-01 19:02:49 +00:00
[node name="label" type="Label" parent="kh_window/v_box_container/fears_box/oubli"]
margin_left = 32.0
margin_top = 3.0
2020-04-01 19:02:49 +00:00
margin_right = 67.0
margin_bottom = 17.0
size_flags_horizontal = 10
text = "Oubli"
2020-04-01 19:02:49 +00:00
[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"
2020-04-01 19:02:49 +00:00
[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"
2020-04-01 19:02:49 +00:00
[node name="douleur" type="HBoxContainer" parent="kh_window/v_box_container/fears_box"]
margin_top = 24.0
2020-04-01 19:02:49 +00:00
margin_right = 128.0
margin_bottom = 44.0
2020-04-01 19:02:49 +00:00
[node name="label" type="Label" parent="kh_window/v_box_container/fears_box/douleur"]
margin_left = 16.0
margin_top = 3.0
2020-04-01 19:02:49 +00:00
margin_right = 67.0
margin_bottom = 17.0
size_flags_horizontal = 10
text = "Douleur"
2020-04-01 19:02:49 +00:00
[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"
2020-04-01 19:02:49 +00:00
[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"]
2020-04-01 19:02:49 +00:00
[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"]