khanat-client/scenes/interfaces/game_menu/game_ui.tscn

71 lines
1.9 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://addons/ui_window/ui_window.gd" type="Script" id=1]
[ext_resource path="res://scenes/interfaces/game_menu/game_ui.gd" type="Script" id=2]
[ext_resource path="res://assets/interfaces/jauges/peurs_oubli_douleur.png" type="Texture" id=3]
[ext_resource path="res://assets/interfaces/jauges/peurs_trauma.png" type="Texture" id=4]
[node name="game_ui" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -1.0
margin_right = -1.0
mouse_filter = 2
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="stats_window" type="MarginContainer" parent="."]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
is_resizable = false
is_borderless = true
has_footer = false
has_scrollbar = false
is_dragged_by_header_only = false
title = ""
[node name="douleur" type="TextureProgress" parent="stats_window"]
margin_right = 128.0
margin_bottom = 128.0
max_value = 18.0
step = 0.5
texture_progress = ExtResource( 3 )
fill_mode = 4
radial_fill_degrees = 180.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="oubli" type="TextureProgress" parent="stats_window"]
margin_right = 128.0
margin_bottom = 128.0
max_value = 18.0
step = 0.5
texture_progress = ExtResource( 3 )
fill_mode = 5
radial_fill_degrees = 180.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="trauma" type="TextureProgress" parent="stats_window"]
self_modulate = Color( 1, 1, 1, 0 )
margin_right = 128.0
margin_bottom = 128.0
max_value = 6.0
step = 0.5
value = 6.0
texture_progress = ExtResource( 4 )
fill_mode = 8
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="value_changed" from="stats_window/douleur" to="." method="_on_douleur_value_changed"]
[connection signal="value_changed" from="stats_window/oubli" to="." method="_on_oubli_value_changed"]
[connection signal="value_changed" from="stats_window/trauma" to="." method="_on_trauma_value_changed"]