Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Git LFS file not shown
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[remap]

importer="wav"
type="AudioStreamWAV"
uid="uid://cbu4f3uo1kob5"
path="res://.godot/imported/AttackSound.wav-eab0a2971fa5a9d86abe29d77726626f.sample"

[deps]

source_file="res://assets/third_party/sounds/characters/enemies/guard/AttackSound.wav"
dest_files=["res://.godot/imported/AttackSound.wav-eab0a2971fa5a9d86abe29d77726626f.sample"]

[params]

force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=2
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2
2 changes: 1 addition & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ config/name="Threadbare"
config/tags=PackedStringArray("2d", "endless", "game", "tilemap", "top_down")
run/main_scene="uid://huuo8mnwsphv"
config/project_settings_override="user://custom_overrides.cfg"
config/features=PackedStringArray("4.7", "GL Compatibility")
config/features=PackedStringArray("4.6", "GL Compatibility")
boot_splash/stretch_mode=0
boot_splash/use_filter=false
boot_splash/image="uid://dvfpk2yguwjfv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_p0583")
}],
"loop": 1,
"loop": true,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This accidental change done by the editor suggests that you are using an older version of Godot. Threadbare requires latest stable, so please use Godot 4.7.2.

"name": &"attack_01",
"speed": 10.0
}, {
Expand All @@ -178,7 +178,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_44ago")
}],
"loop": 1,
"loop": true,
"name": &"attack_02",
"speed": 10.0
}, {
Expand Down Expand Up @@ -216,7 +216,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6qa6s")
}],
"loop": 0,
"loop": false,
"name": &"defeated",
"speed": 10.0
}, {
Expand Down Expand Up @@ -251,7 +251,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8mrbx")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
Expand All @@ -274,7 +274,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vxdpx")
}],
"loop": 1,
"loop": true,
"name": &"walk",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_1in01")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_w7k6m")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_x6g6d")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mqc7r")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_klm8j")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_hbppq")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_cl2ru")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_3x38k")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_qc4c2")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_r4mdc")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ig0ma")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_wvpu8")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_sh2mb")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_xcd2m")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
Expand All @@ -81,7 +81,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_tpolt")
}],
"loop": 1,
"loop": true,
"name": &"walk",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_eloka")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
Expand All @@ -65,7 +65,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2la7u")
}],
"loop": 1,
"loop": true,
"name": &"walk",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mt4vo")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
Expand All @@ -65,7 +65,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_d3tqp")
}],
"loop": 1,
"loop": true,
"name": &"walk",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jk4ky")
}],
"loop": 1,
"loop": true,
"name": &"alerted",
"speed": 10.0
}, {
Expand Down Expand Up @@ -155,7 +155,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8f32r")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
Expand All @@ -178,7 +178,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_g3q3p")
}],
"loop": 1,
"loop": true,
"name": &"walk",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_g3p1j")
}],
"loop": 1,
"loop": true,
"name": &"alerted",
"speed": 10.0
}, {
Expand Down Expand Up @@ -155,7 +155,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_670j8")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
Expand All @@ -178,7 +178,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_c6rcf")
}],
"loop": 1,
"loop": true,
"name": &"walk",
"speed": 10.0
}]
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[ext_resource type="Script" uid="uid://dg7jodlol6iao" path="res://scenes/game_elements/characters/enemies/mothsache/mothsache.gd" id="1_f7683"]
[ext_resource type="SpriteFrames" uid="uid://b0nyiuolbvnl0" path="res://scenes/game_elements/characters/enemies/mothsache/components/mothsache_frames.tres" id="1_tm0nn"]
[ext_resource type="AudioStream" uid="uid://dgpeb1dtmfqud" path="res://assets/third_party/sounds/characters/enemies/guard/AlertSound.ogg" id="2_8q7cb"]
[ext_resource type="AudioStream" uid="uid://cbu4f3uo1kob5" path="res://assets/third_party/sounds/characters/enemies/guard/AttackSound.wav" id="3_e2qj4"]
[ext_resource type="Script" uid="uid://dy68p7gf07pi3" path="res://scenes/game_logic/sprite_behaviors/character_sprite_behavior.gd" id="3_fmv22"]
[ext_resource type="Script" uid="uid://cx0sk4uhvnii0" path="res://scenes/game_logic/walk_behaviors/erratic_walk_behavior.gd" id="3_xxd2s"]
[ext_resource type="Script" uid="uid://csev4hv57utxv" path="res://scenes/game_logic/walk_behaviors/character_speeds.gd" id="4_xxd2s"]
Expand Down Expand Up @@ -37,6 +38,7 @@ motion_mode = 1
script = ExtResource("1_f7683")
chase_speed = 200.0
alert_sound_stream = ExtResource("2_8q7cb")
attack_sound_stream = ExtResource("3_e2qj4")

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2128243933]
rotation = 1.5707964
Expand Down Expand Up @@ -150,6 +152,12 @@ visible = false
volume_db = -2.0
max_distance = 500.0
bus = &"SFX"
metadata/_edit_group_ = true

[node name="AttackSound" type="AudioStreamPlayer" parent="Sounds" unique_id=1193288492]
unique_name_in_owner = true
volume_db = 1.0
bus = &"SFX"

[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_sprite_animation_finished"]
[connection signal="timeout" from="BehaviorTimer" to="." method="_on_BehaviorTimer_timeout"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_f1vcp")
}],
"loop": 1,
"loop": true,
"name": &"attack",
"speed": 10.0
}, {
Expand All @@ -161,7 +161,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ajqb8")
}],
"loop": 1,
"loop": true,
"name": &"attack_anticipation",
"speed": 10.0
}, {
Expand Down Expand Up @@ -196,7 +196,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_hndav")
}],
"loop": 1,
"loop": true,
"name": &"defeat",
"speed": 10.0
}, {
Expand All @@ -222,7 +222,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_u7a2k")
}],
"loop": 1,
"loop": true,
"name": &"idle",
"speed": 10.0
}, {
Expand All @@ -245,7 +245,7 @@ animations = [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_yfq3p")
}],
"loop": 1,
"loop": true,
"name": &"walk",
"speed": 10.0
}]
Loading