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:
@@ -1,9 +1,10 @@
|
||||
[gd_resource type="DayConfig" load_steps=3 format=3 uid="uid://d30pwvrr7m72j"]
|
||||
[gd_resource type="DayConfig" load_steps=4 format=3 uid="uid://d30pwvrr7m72j"]
|
||||
|
||||
[ext_resource type="HazardDef" uid="uid://xsxsa2m5ryjr" path="res://Resources/Hazard_Phone.tres" id="1_ilyy2"]
|
||||
[ext_resource type="HazardDef" uid="uid://pgmnp6ev1ark" path="res://Resources/Hazard_GymBro.tres" id="1_qov1i"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxq2510ywj1hy" path="res://Objects/bench_press.tscn" id="2_ilyy2"]
|
||||
|
||||
[resource]
|
||||
target_weight = 25.0
|
||||
mini_game_scene = ExtResource("2_ilyy2")
|
||||
available_hazards = Array[HazardDef]([ExtResource("1_qov1i")])
|
||||
available_hazards = Array[HazardDef]([ExtResource("1_ilyy2"), ExtResource("1_qov1i")])
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[gd_resource type="DayConfig" load_steps=3 format=3 uid="uid://b0j1f8h6tioaf"]
|
||||
[gd_resource type="DayConfig" load_steps=4 format=3 uid="uid://b0j1f8h6tioaf"]
|
||||
|
||||
[ext_resource type="HazardDef" uid="uid://pgmnp6ev1ark" path="res://Resources/Hazard_GymBro.tres" id="1_x1txs"]
|
||||
[ext_resource type="HazardDef" uid="uid://xsxsa2m5ryjr" path="res://Resources/Hazard_Phone.tres" id="2_18026"]
|
||||
[ext_resource type="PackedScene" uid="uid://dx1k40qfioaas" path="res://Objects/deadlift.tscn" id="2_x1txs"]
|
||||
|
||||
[resource]
|
||||
@@ -8,4 +9,4 @@ day_number = 1
|
||||
day_title = "Day 2"
|
||||
target_weight = 7.0
|
||||
mini_game_scene = ExtResource("2_x1txs")
|
||||
available_hazards = Array[HazardDef]([ExtResource("1_x1txs")])
|
||||
available_hazards = Array[HazardDef]([ExtResource("1_x1txs"), ExtResource("2_18026")])
|
||||
|
||||
@@ -1,35 +1,73 @@
|
||||
[gd_resource type="HazardDef" load_steps=14 format=3 uid="uid://pgmnp6ev1ark"]
|
||||
[gd_resource type="HazardDef" load_steps=16 format=3 uid="uid://pgmnp6ev1ark"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c43wo6u2c0d43" path="res://Sprites/chad_walk0.png" id="1_v1id6"]
|
||||
[ext_resource type="Texture2D" uid="uid://dt5i4j2gvqso" path="res://Sprites/chad_walk1.png" id="2_xcd3t"]
|
||||
[ext_resource type="Texture2D" uid="uid://by265t6kx8us4" path="res://Sprites/chad_walk2.png" id="3_57x2g"]
|
||||
[ext_resource type="Texture2D" uid="uid://dway2w8pbk5lp" path="res://Sprites/chad_walk3.png" id="4_s8hf6"]
|
||||
[ext_resource type="Texture2D" uid="uid://bunfddn1pa8pj" path="res://Sprites/chad_walk4.png" id="5_tdncn"]
|
||||
[ext_resource type="Texture2D" uid="uid://664m2cxtmmur" path="res://Sprites/chad_wave0.png" id="6_twq7w"]
|
||||
[ext_resource type="Texture2D" uid="uid://tu8ph6cjdwhv" path="res://Sprites/chad_wave1.png" id="7_jshom"]
|
||||
[ext_resource type="Texture2D" uid="uid://b28aaketyf0t1" path="res://Sprites/chad_wave2.png" id="8_hejui"]
|
||||
[ext_resource type="Texture2D" uid="uid://jyr4f2p7jbk8" path="res://Sprites/chad_wave3.png" id="9_envil"]
|
||||
[ext_resource type="Texture2D" uid="uid://f013utfdsqqe" path="res://Sprites/chad_wave4.png" id="10_tcjtc"]
|
||||
[ext_resource type="Texture2D" uid="uid://duryxgc54alp5" path="res://Sprites/chad_wave5.png" id="11_i0i8i"]
|
||||
[ext_resource type="Texture2D" uid="uid://yy2yrm4gq6w4" path="res://Sprites/chad_wave6.png" id="12_seh7d"]
|
||||
[ext_resource type="Texture2D" uid="uid://hbin8d5ctth0" path="res://Sprites/chad_walk.png" id="1_5k0w7"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdtf3ll2r3jqx" path="res://Sprites/chad_wave.png" id="2_jih8f"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5k0w7"]
|
||||
atlas = ExtResource("1_5k0w7")
|
||||
region = Rect2(0, 0, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jih8f"]
|
||||
atlas = ExtResource("1_5k0w7")
|
||||
region = Rect2(506, 0, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gtt4v"]
|
||||
atlas = ExtResource("1_5k0w7")
|
||||
region = Rect2(1012, 0, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_r1ltb"]
|
||||
atlas = ExtResource("1_5k0w7")
|
||||
region = Rect2(0, 415, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t6o42"]
|
||||
atlas = ExtResource("1_5k0w7")
|
||||
region = Rect2(506, 415, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_blvmx"]
|
||||
atlas = ExtResource("2_jih8f")
|
||||
region = Rect2(0, 0, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_aaypy"]
|
||||
atlas = ExtResource("2_jih8f")
|
||||
region = Rect2(506, 0, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_svufv"]
|
||||
atlas = ExtResource("2_jih8f")
|
||||
region = Rect2(1012, 0, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cbnsu"]
|
||||
atlas = ExtResource("2_jih8f")
|
||||
region = Rect2(0, 415, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8xkbk"]
|
||||
atlas = ExtResource("2_jih8f")
|
||||
region = Rect2(506, 415, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v1id6"]
|
||||
atlas = ExtResource("2_jih8f")
|
||||
region = Rect2(1012, 415, 506, 415)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xcd3t"]
|
||||
atlas = ExtResource("2_jih8f")
|
||||
region = Rect2(0, 830, 506, 415)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_44y3n"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1_v1id6")
|
||||
"texture": SubResource("AtlasTexture_5k0w7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_xcd3t")
|
||||
"texture": SubResource("AtlasTexture_jih8f")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_57x2g")
|
||||
"texture": SubResource("AtlasTexture_gtt4v")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_s8hf6")
|
||||
"texture": SubResource("AtlasTexture_r1ltb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_tdncn")
|
||||
"texture": SubResource("AtlasTexture_t6o42")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"walking",
|
||||
@@ -37,25 +75,25 @@ animations = [{
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6_twq7w")
|
||||
"texture": SubResource("AtlasTexture_blvmx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("7_jshom")
|
||||
"texture": SubResource("AtlasTexture_aaypy")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("8_hejui")
|
||||
"texture": SubResource("AtlasTexture_svufv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("9_envil")
|
||||
"texture": SubResource("AtlasTexture_cbnsu")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("10_tcjtc")
|
||||
"texture": SubResource("AtlasTexture_8xkbk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("11_i0i8i")
|
||||
"texture": SubResource("AtlasTexture_v1id6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("12_seh7d")
|
||||
"texture": SubResource("AtlasTexture_xcd3t")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"waving",
|
||||
|
||||
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
|
||||
@@ -1,3 +1,26 @@
|
||||
[gd_resource type="SoundBank" format=3 uid="uid://b8ouri8tqw8vp"]
|
||||
[gd_resource type="SoundBank" load_steps=12 format=3 uid="uid://b8ouri8tqw8vp"]
|
||||
|
||||
[ext_resource type="AudioStream" uid="uid://b2msvw1h4ampg" path="res://Sfxs/Ygh.ogg" id="1_1l0qw"]
|
||||
[ext_resource type="AudioStream" uid="uid://bbchwsohdu0pk" path="res://Sfxs/CameraTrauma.ogg" id="1_lms4n"]
|
||||
[ext_resource type="AudioStream" uid="uid://rmyrftgx0wi3" path="res://Sfxs/dzwoni_debil.ogg" id="1_t7wpv"]
|
||||
[ext_resource type="AudioStream" uid="uid://di6ngr3imfdo8" path="res://Sfxs/Failure.ogg" id="2_fccuv"]
|
||||
[ext_resource type="AudioStream" uid="uid://c2k77xvake638" path="res://Sfxs/Bro.ogg" id="3_iiodx"]
|
||||
[ext_resource type="AudioStream" uid="uid://drihn3fye1ar2" path="res://Sfxs/heartbeat.ogg" id="4_lms4n"]
|
||||
[ext_resource type="AudioStream" uid="uid://bekeytl7id80p" path="res://Sfxs/pop.ogg" id="5_3acj8"]
|
||||
[ext_resource type="AudioStream" uid="uid://e1eyqry63db6" path="res://Sfxs/Get out.ogg" id="5_a5p2r"]
|
||||
[ext_resource type="AudioStream" uid="uid://ddyk3s84t56qc" path="res://Sfxs/HazardSpawn.ogg" id="6_dcb8s"]
|
||||
[ext_resource type="AudioStream" uid="uid://bv37o4wgirvt0" path="res://Sfxs/Hnngh.ogg" id="7_3acj8"]
|
||||
[ext_resource type="AudioStream" uid="uid://bpvek3n7gni07" path="res://Sfxs/Light weight.ogg" id="8_dcb8s"]
|
||||
|
||||
[resource]
|
||||
strain_loop = ExtResource("7_3acj8")
|
||||
effort_exhale = ExtResource("1_1l0qw")
|
||||
win_stinger = ExtResource("8_dcb8s")
|
||||
fail_stinger = ExtResource("2_fccuv")
|
||||
heartbeat_loop = ExtResource("4_lms4n")
|
||||
hazard_spawn = ExtResource("6_dcb8s")
|
||||
hazard_resolve = ExtResource("5_3acj8")
|
||||
camera_trauma = ExtResource("1_lms4n")
|
||||
phone_ring = ExtResource("1_t7wpv")
|
||||
gym_bro = ExtResource("3_iiodx")
|
||||
manager_get_out = ExtResource("5_a5p2r")
|
||||
|
||||
Reference in New Issue
Block a user