Leo - GUI checkpoint

This commit is contained in:
2022-12-11 05:19:46 +01:00
parent c201a1a08a
commit b87baba2fe
10 changed files with 228 additions and 50 deletions

View File

@@ -2,81 +2,90 @@
[ext_resource type="Script" path="res://menu/stats_player_1.gd" id="1_7a1hg"]
[ext_resource type="PackedScene" uid="uid://bxlhdan6h6qwi" path="res://menu/Speedometer_player1.tscn" id="1_8v7ps"]
[ext_resource type="Texture2D" uid="uid://c62xglrjom4sn" path="res://Assets/Textures/GUI/frame_player1.png" id="2_1uihe"]
[ext_resource type="Texture2D" uid="uid://dfqal4ri4ftrf" path="res://Assets/Textures/Kohle.png" id="3_tjc2l"]
[ext_resource type="Texture2D" uid="uid://cj3ipy1gilaxu" path="res://Assets/Textures/GUI/upscaledSign.png" id="3_v32w1"]
[ext_resource type="Texture2D" uid="uid://clemmheiw1kq" path="res://Assets/Textures/Gunpowder.png" id="4_jn38u"]
[ext_resource type="Texture2D" uid="uid://bhmyyu0uhx541" path="res://Assets/Textures/Opera_senza_titolo (2).png" id="5_b5gk5"]
[node name="Stats_Player1" type="CanvasLayer"]
[node name="Stats_Player1" type="Control"]
layout_mode = 3
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 370.0
grow_vertical = 2
script = ExtResource("1_7a1hg")
[node name="Speedometer_player1" parent="." instance=ExtResource("1_8v7ps")]
scale = Vector2(0.4, 0.4)
transform = Transform2D(0.4, 0, 0, 0.4, 0, 0)
offset_right = 516.0
offset_bottom = 494.0
scale = Vector2(0.5, 0.5)
[node name="Rahmen" type="CanvasLayer" parent="."]
[node name="Rahmen" type="TextureRect" parent="Rahmen"]
[node name="Rahmen2" type="TextureRect" parent="."]
offset_right = 463.0
offset_bottom = 562.0
scale = Vector2(0.5, 0.5)
texture = ExtResource("2_1uihe")
scale = Vector2(0.7, 0.7)
texture = ExtResource("3_v32w1")
[node name="Ressourcen" type="CanvasLayer" parent="Rahmen"]
offset = Vector2(0, 220)
scale = Vector2(0.02, 0.02)
transform = Transform2D(0.02, 0, 0, 0.02, 0, 220)
[node name="RessourcenBox" type="HBoxContainer" parent="."]
visible = false
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 67.0
offset_top = -316.0
offset_right = 3562.0
offset_bottom = 661.0
grow_vertical = 0
scale = Vector2(0.05, 0.05)
theme_override_constants/separation = 330
[node name="RessourcenBox" type="HBoxContainer" parent="Rahmen/Ressourcen"]
custom_minimum_size = Vector2(100, 20)
offset_left = 40.0
offset_top = 226.0
offset_right = 123.0
offset_bottom = 256.0
[node name="Kohle" type="VBoxContainer" parent="Rahmen/Ressourcen/RessourcenBox"]
[node name="Kohle" type="VBoxContainer" parent="RessourcenBox"]
offset_right = 945.0
offset_bottom = 977.0
theme_override_constants/separation = 10
[node name="TextureRect" type="TextureRect" parent="Rahmen/Ressourcen/RessourcenBox/Kohle"]
[node name="TextureRect" type="TextureRect" parent="RessourcenBox/Kohle"]
offset_right = 945.0
offset_bottom = 931.0
texture = ExtResource("3_tjc2l")
[node name="Label" type="Label" parent="Rahmen/Ressourcen/RessourcenBox/Kohle"]
offset_top = 935.0
[node name="Label" type="Label" parent="RessourcenBox/Kohle"]
offset_top = 941.0
offset_right = 945.0
offset_bottom = 961.0
offset_bottom = 967.0
text = "5
"
[node name="GunPowder" type="VBoxContainer" parent="Rahmen/Ressourcen/RessourcenBox"]
offset_left = 949.0
offset_right = 1894.0
[node name="GunPowder" type="VBoxContainer" parent="RessourcenBox"]
offset_left = 1275.0
offset_right = 2220.0
offset_bottom = 977.0
[node name="TextureRect" type="TextureRect" parent="Rahmen/Ressourcen/RessourcenBox/GunPowder"]
[node name="TextureRect" type="TextureRect" parent="RessourcenBox/GunPowder"]
offset_right = 945.0
offset_bottom = 931.0
texture = ExtResource("4_jn38u")
[node name="Label" type="Label" parent="Rahmen/Ressourcen/RessourcenBox/GunPowder"]
[node name="Label" type="Label" parent="RessourcenBox/GunPowder"]
offset_top = 935.0
offset_right = 945.0
offset_bottom = 958.0
[node name="Munition" type="VBoxContainer" parent="Rahmen/Ressourcen/RessourcenBox"]
offset_left = 1898.0
offset_right = 2843.0
[node name="Munition" type="VBoxContainer" parent="RessourcenBox"]
offset_left = 2550.0
offset_right = 3495.0
offset_bottom = 977.0
size_flags_stretch_ratio = 0.39
[node name="MunitionSprite" type="TextureRect" parent="Rahmen/Ressourcen/RessourcenBox/Munition"]
[node name="MunitionSprite" type="TextureRect" parent="RessourcenBox/Munition"]
offset_right = 945.0
offset_bottom = 931.0
texture = ExtResource("5_b5gk5")
[node name="Label" type="Label" parent="Rahmen/Ressourcen/RessourcenBox/Munition"]
[node name="Label" type="Label" parent="RessourcenBox/Munition"]
offset_top = 935.0
offset_right = 945.0
offset_bottom = 977.0
theme_override_font_sizes/font_size = 30
[connection signal="resized" from="." to="Speedometer_player1" method="_on_stats_player_1_resized"]