1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 20:57:13 +08:00

Add laser sound effect and implement BigLaser bullet behavior

- Added laserbig.ogg sound effect import configuration.
- Created BigLaser script extending BulletBase with AI targeting and dot application functionality.
This commit is contained in:
2025-08-27 19:59:05 +08:00
parent 561e12398a
commit a688fe3b44
12 changed files with 102 additions and 13 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ script = ExtResource("2_r6bub")
cooldownUnit = 3000.0
displayName = "小鸡"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(10, 20), Vector2(7, 14)])
dropCounts = Array[Vector2]([Vector2(10, 30), Vector2(15, 50)])
appleCount = Vector2i(2, 6)
energy = 1000.0
+5 -1
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://bm7ymrri6pykb"]
[gd_scene load_steps=13 format=3 uid="uid://bm7ymrri6pykb"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
[ext_resource type="Script" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
@@ -9,6 +9,7 @@
[ext_resource type="AudioStream" uid="uid://benyec5bqni0b" path="res://resources/sounds/effect/Chomp.wav" id="4_k0yme"]
[ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
[ext_resource type="AudioStream" uid="uid://4wuuf1osk0yv" path="res://resources/sounds/effect/Low Boing.wav" id="6_m5px1"]
[ext_resource type="AudioStream" uid="uid://q65xjxxq1m4j" path="res://resources/sounds/effect/laserbig.ogg" id="8_pssdt"]
[sub_resource type="SpriteFrames" id="SpriteFrames_4v2ol"]
animations = [{
@@ -55,6 +56,9 @@ stream = ExtResource("6_m5px1")
[node name="attack0" parent="sounds" index="4"]
stream = ExtResource("3_4syso")
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="5"]
stream = ExtResource("8_pssdt")
[node name="texture" parent="." index="1"]
position = Vector2(0, -70)
sprite_frames = SubResource("SpriteFrames_4v2ol")