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:
39
max-effort/Resources/Hazard_Phone.tres
Normal file
39
max-effort/Resources/Hazard_Phone.tres
Normal file
@@ -0,0 +1,39 @@
|
||||
[gd_resource type="HazardDef" load_steps=7 format=3 uid="uid://xsxsa2m5ryjr"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://qxwqstvnefxh" path="res://Sprites/phone0000.png" id="1_3ftmh"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgrnf6c1m06yj" path="res://Sprites/phone0001.png" id="2_c0vd0"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7d4dcdpdd0jg" path="res://Sprites/phone0002.png" id="3_1545i"]
|
||||
[ext_resource type="Texture2D" uid="uid://crhfygv6chc4v" path="res://Sprites/phone0003.png" id="4_lwhbi"]
|
||||
[ext_resource type="Texture2D" uid="uid://b8looen5t2i3f" path="res://Sprites/phone0004.png" id="5_7usw4"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_jf2a0"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1_3ftmh")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_c0vd0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_1545i")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_lwhbi")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_7usw4")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 12.0
|
||||
}]
|
||||
|
||||
[resource]
|
||||
hazard_type = "PhoneDistraction"
|
||||
display_name = "Phone"
|
||||
animations = SubResource("SpriteFrames_jf2a0")
|
||||
idle_anim_name = "default"
|
||||
walk_anim_name = ""
|
||||
time_to_fail = 6.0
|
||||
spawn_weight = 0.4
|
||||
Reference in New Issue
Block a user