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

81 lines
2.4 KiB
Text
Raw Normal View History

2020-04-01 19:02:49 +00:00
[gd_scene load_steps=7 format=2]
2020-04-01 19:02:49 +00:00
[ext_resource path="res://addons/kh_window/kh_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]
2020-04-01 19:02:49 +00:00
[ext_resource path="res://scenes/interfaces/inventory_window/inventory_box.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/interfaces/inventory_window/inventory_window.tscn" type="PackedScene" id=6]
[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
texture_progress = ExtResource( 4 )
fill_mode = 8
__meta__ = {
"_edit_use_anchors_": false
}
2020-04-01 19:02:49 +00:00
[node name="inventory_window" parent="." instance=ExtResource( 6 )]
[node name="inventory_box" parent="inventory_window" instance=ExtResource( 5 )]
margin_left = 0.0
margin_right = 128.0
margin_bottom = 128.0
[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"]