mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-13 13:32:54 +08:00
Add audio effect and implement FireScan bullet behavior
- Added Rip.wav audio effect to the project. - Created FireScan bullet script with speed and damage properties. - Implemented basic AI movement for FireScan bullets. - Introduced Wave class for managing enemy waves with dynamic counts and spawning logic.
This commit is contained in:
@@ -38,25 +38,25 @@ radius = 41.0122
|
||||
script = ExtResource("2_oqdqd")
|
||||
cooldownUnit = 200.0
|
||||
|
||||
[node name="attack" parent="sounds" index="0"]
|
||||
stream = ExtResource("3_4syso")
|
||||
|
||||
[node name="sprint" parent="sounds" index="1"]
|
||||
[node name="sprint" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_66s6c")
|
||||
|
||||
[node name="miss" parent="sounds" index="2"]
|
||||
[node name="miss" parent="sounds" index="1"]
|
||||
stream = ExtResource("5_xnbhq")
|
||||
|
||||
[node name="hurt" parent="sounds" index="3"]
|
||||
[node name="hurt" parent="sounds" index="2"]
|
||||
stream = ExtResource("6_nmmw2")
|
||||
|
||||
[node name="attack0" parent="sounds" index="3"]
|
||||
stream = ExtResource("3_4syso")
|
||||
|
||||
[node name="texture" parent="." index="1"]
|
||||
position = Vector2(0, -70)
|
||||
sprite_frames = SubResource("SpriteFrames_4v2ol")
|
||||
animation = &"walk"
|
||||
|
||||
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
||||
position = Vector2(12, 16)
|
||||
position = Vector2(0, 30)
|
||||
shape = SubResource("CircleShape2D_h1v0q")
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
@@ -65,3 +65,6 @@ position = Vector2(54, -45)
|
||||
[node name="statebar" parent="." index="2" node_paths=PackedStringArray("entity")]
|
||||
position = Vector2(0, -151)
|
||||
entity = NodePath("..")
|
||||
|
||||
[node name="movebox" parent="." index="3"]
|
||||
disabled = true
|
||||
|
||||
Reference in New Issue
Block a user