Add new sound effects and sprites; refactor sound management
- Added new audio files for sound effects including pop sounds, phone ring, gym bro, and manager get out. - Introduced new sprites for character animations and icons. - Removed outdated sprite files to clean up the project. - Updated project configuration to reflect new icon and name changes. - Enhanced the sound manager to handle new sound effects and manage active hazard sounds more effectively. - Refactored hazard spawning and resolution logic to utilize new sound effects based on hazard types.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://bg4uaukekjbx" path="res://Scenes/main_menu.tscn" id="4_6bp64"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqxc62tofqger" path="res://Objects/hazard_animated.tscn" id="4_21xkr"]
|
||||
[ext_resource type="DayConfig" uid="uid://b0j1f8h6tioaf" path="res://Resources/Day_Day2.tres" id="4_344ge"]
|
||||
[ext_resource type="HazardDef" uid="uid://xsxsa2m5ryjr" path="res://Resources/Hazard_Phone.tres" id="6_344ge"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_bo1nx"]
|
||||
_data = [Vector2(0, 0), 0.0, 1.4, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
@@ -47,8 +48,8 @@ camera = NodePath("../../Camera2D")
|
||||
min_focus_for_shake = 0.7
|
||||
|
||||
[node name="HazardSystem" type="HazardSystem" parent="Systems" node_paths=PackedStringArray("spawn_locations")]
|
||||
possible_hazards = Array[HazardDef]([ExtResource("3_kry3j")])
|
||||
spawn_locations = [NodePath("../../HazardSpots/Right"), NodePath("../../HazardSpots/Left")]
|
||||
possible_hazards = Array[HazardDef]([ExtResource("3_kry3j"), ExtResource("6_344ge")])
|
||||
spawn_locations = [NodePath("../../HazardSpots/Right"), NodePath("../../HazardSpots/Left"), NodePath("../../HazardSpots/Top"), NodePath("../../HazardSpots/Down")]
|
||||
hazard_prefab = ExtResource("4_21xkr")
|
||||
|
||||
[node name="GameContainer" type="Node" parent="."]
|
||||
@@ -58,6 +59,12 @@ hazard_prefab = ExtResource("4_21xkr")
|
||||
[node name="Right" type="Marker2D" parent="HazardSpots"]
|
||||
position = Vector2(502, 0)
|
||||
|
||||
[node name="Top" type="Marker2D" parent="HazardSpots"]
|
||||
position = Vector2(0, -228)
|
||||
|
||||
[node name="Down" type="Marker2D" parent="HazardSpots"]
|
||||
position = Vector2(0, 212)
|
||||
|
||||
[node name="Left" type="Marker2D" parent="HazardSpots"]
|
||||
position = Vector2(-500, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user