70 lines
2.1 KiB
Text
70 lines
2.1 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://assets/interfaces/themes/transparent_window.tres" type="Theme" id=1]
|
|
[ext_resource path="res://scenes/interfaces/game_menu/game_ui.gd" type="Script" id=2]
|
|
[ext_resource path="res://assets/interfaces/jauges/jauge_ring_white.png" type="Texture" id=3]
|
|
[ext_resource path="res://scenes/interfaces/windows/window.gd" type="Script" id=4]
|
|
|
|
[node name="game_ui" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="stats_window" type="WindowDialog" parent="."]
|
|
visible = true
|
|
rect_min_size = Vector2( 128, 128 )
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource( 1 )
|
|
custom_constants/close_v_ofs = 0
|
|
popup_exclusive = true
|
|
script = ExtResource( 4 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="douleur" type="TextureProgress" parent="stats_window"]
|
|
margin_right = 126.0
|
|
margin_bottom = 126.0
|
|
max_value = 100.0
|
|
step = 0.1
|
|
texture_progress = ExtResource( 3 )
|
|
fill_mode = 4
|
|
tint_progress = Color( 1, 0, 0, 1 )
|
|
radial_fill_degrees = 112.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="oubli" type="TextureProgress" parent="stats_window"]
|
|
margin_right = 126.0
|
|
margin_bottom = 126.0
|
|
step = 0.1
|
|
texture_progress = ExtResource( 3 )
|
|
fill_mode = 5
|
|
tint_progress = Color( 0, 1, 0, 1 )
|
|
radial_fill_degrees = 112.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="trauma" type="TextureProgress" parent="stats_window"]
|
|
margin_right = 126.0
|
|
margin_bottom = 126.0
|
|
step = 0.1
|
|
texture_progress = ExtResource( 3 )
|
|
fill_mode = 8
|
|
tint_progress = Color( 0, 0, 1, 1 )
|
|
radial_initial_angle = 180.0
|
|
radial_fill_degrees = 135.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="gui_input" from="stats_window" to="stats_window" method="_on_stats_window_gui_input"]
|
|
[connection signal="value_changed" from="stats_window/douleur" to="stats_window" method="_on_douleur_value_changed"]
|
|
[connection signal="value_changed" from="stats_window/oubli" to="stats_window" method="_on_oubli_value_changed"]
|
|
[connection signal="value_changed" from="stats_window/trauma" to="stats_window" method="_on_trauma_value_changed"]
|