Files
max-effort-rs/max-effort/Resources/Hazard_GymBro.tres
Gabriel Kaszewski cdfd4cbbd2 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.
2026-01-24 20:56:50 +01:00

111 lines
2.9 KiB
Plaintext

[gd_resource type="HazardDef" load_steps=16 format=3 uid="uid://pgmnp6ev1ark"]
[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": SubResource("AtlasTexture_5k0w7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jih8f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gtt4v")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r1ltb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t6o42")
}],
"loop": true,
"name": &"walking",
"speed": 12.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_blvmx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aaypy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_svufv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cbnsu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8xkbk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v1id6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xcd3t")
}],
"loop": true,
"name": &"waving",
"speed": 12.0
}]
[resource]
hazard_type = "GymBro"
display_name = "Chad"
animations = SubResource("SpriteFrames_44y3n")
idle_anim_name = "waving"
walk_anim_name = "walking"
time_to_fail = 3.0
min_focus_to_spawn = 0.3