added sounds to ui and game, prepared interaction with character

This commit is contained in:
Luca 2024-10-12 14:30:39 +02:00
parent b5ace17da9
commit 21d7cf417a
42 changed files with 450 additions and 155 deletions

View file

@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=25 format=3 uid="uid://xfq6d5yqsdh5"]
[gd_resource type="Theme" load_steps=29 format=3 uid="uid://xfq6d5yqsdh5"]
[ext_resource type="FontFile" uid="uid://diuo1i0qhrx72" path="res://assets/fonts/Kenney Future.ttf" id="1_7olm8"]
[ext_resource type="Texture2D" uid="uid://dqvcyivxd6quf" path="res://assets/textures/kenney_ui-pack/PNG/Grey/Double/button_rectangle_flat.png" id="1_cagdw"]
@ -6,6 +6,7 @@
[ext_resource type="Texture2D" uid="uid://0mrw1tw5533y" path="res://assets/textures/kenney_ui-pack/PNG/Blue/Double/check_square_grey.png" id="4_ejwd8"]
[ext_resource type="Texture2D" uid="uid://fuvect3s8xob" path="res://assets/textures/kenney_ui-pack/PNG/Extra/Double/input_outline_rectangle.png" id="5_0ives"]
[ext_resource type="Texture2D" uid="uid://bssj4xg6tgdon" path="res://assets/textures/kenney_ui-pack/PNG/Grey/Double/button_rectangle_depth_flat.png" id="6_afi76"]
[ext_resource type="Texture2D" uid="uid://bgc1chloftw3i" path="res://assets/textures/kenney_ui-pack/PNG/Red/Double/button_rectangle_flat.png" id="7_2hwk4"]
[ext_resource type="Texture2D" uid="uid://2aourrhwc2vr" path="res://assets/textures/kenney_ui-pack/PNG/Blue/Double/slide_hangle_rotated.png" id="7_d7yi5"]
[ext_resource type="Texture2D" uid="uid://sy5kn23lahn0" path="res://assets/textures/kenney_ui-pack/PNG/Grey/Double/slide_hangle_rotated.png" id="8_vvus7"]
[ext_resource type="Texture2D" uid="uid://yivq8q3se8t" path="res://assets/textures/kenney_ui-pack/PNG/Blue/Double/slide_vertical_grey.png" id="9_epdci"]
@ -96,6 +97,17 @@ texture_margin_bottom = 8.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cwwj3"]
texture = ExtResource("6_afi76")
texture_margin_left = 12.0
texture_margin_top = 12.0
texture_margin_right = 12.0
texture_margin_bottom = 20.0
expand_margin_left = 4.0
expand_margin_top = 4.0
expand_margin_right = 4.0
expand_margin_bottom = 4.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_nkhdn"]
texture = ExtResource("6_afi76")
texture_margin_left = 8.0
texture_margin_top = 8.0
texture_margin_right = 8.0
@ -105,6 +117,21 @@ expand_margin_top = 4.0
expand_margin_right = 4.0
expand_margin_bottom = 4.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k5ktt"]
texture = ExtResource("7_2hwk4")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
modulate_color = Color(0.8, 0.8, 0.8, 1)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_35fmy"]
texture = ExtResource("7_2hwk4")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_872kh"]
texture = ExtResource("9_epdci")
region_rect = Rect2(8, 30, 16, 16)
@ -121,6 +148,7 @@ Button/colors/font_color = Color(0.301961, 0.301961, 0.301961, 1)
Button/colors/font_disabled_color = Color(0.7, 0.7, 0.7, 0.784314)
Button/colors/font_hover_color = Color(0.2, 0.2, 0.2, 1)
Button/colors/font_pressed_color = Color(0.4, 0.4, 0.4, 1)
Button/colors/icon_normal_color = Color(0.827833, 0.105612, 0.719122, 1)
Button/font_sizes/font_size = 24
Button/fonts/font = ExtResource("1_7olm8")
Button/styles/disabled = SubResource("StyleBoxTexture_p6kuw")
@ -146,6 +174,12 @@ Label/fonts/font = ExtResource("1_7olm8")
LineEdit/colors/font_color = Color(0.301961, 0.301961, 0.301961, 1)
LineEdit/styles/normal = SubResource("StyleBoxTexture_g7r8o")
Panel/styles/panel = SubResource("StyleBoxTexture_cwwj3")
PanelContainer/styles/panel = SubResource("StyleBoxTexture_nkhdn")
RedButton/base_type = &"Button"
RedButton/colors/font_color = Color(1, 1, 1, 1)
RedButton/colors/font_hover_color = Color(0.7, 0.7, 0.7, 1)
RedButton/styles/hover = SubResource("StyleBoxTexture_k5ktt")
RedButton/styles/normal = SubResource("StyleBoxTexture_35fmy")
VSlider/icons/grabber = ExtResource("7_d7yi5")
VSlider/icons/grabber_disabled = ExtResource("8_vvus7")
VSlider/icons/grabber_highlight = ExtResource("7_d7yi5")