fix spider bat boss alittle
This commit is contained in:
@@ -28,11 +28,16 @@
|
||||
[ext_resource type="AudioStream" uid="uid://4ilddgc4lgyq" path="res://assets/audio/sfx/environment/crate/crash_table-04.wav" id="26_vfomk"]
|
||||
[ext_resource type="AudioStream" uid="uid://c7kc0aw0wevah" path="res://assets/audio/sfx/environment/crate/wood_impact_break.mp3" id="27_2p257"]
|
||||
[ext_resource type="Texture2D" uid="uid://bknascfv4twmi" path="res://assets/gfx/smoke_puffs.png" id="28_2p257"]
|
||||
[ext_resource type="AudioStream" uid="uid://vxjjcuiam777" path="res://assets/audio/sfx/z3/LA_Get_Item2.wav" id="29_getitem"]
|
||||
[ext_resource type="AudioStream" path="res://assets/audio/sfx/z3/LA_Enemy_Fall.wav" id="30_fall"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_nyc8x"]
|
||||
radius = 4.0
|
||||
height = 12.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_detect"]
|
||||
radius = 99.0
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_1u1k0"]
|
||||
playback_mode = 1
|
||||
streams_count = 7
|
||||
@@ -181,6 +186,13 @@ position = Vector2(0, 2)
|
||||
rotation = -1.5707964
|
||||
shape = SubResource("CapsuleShape2D_nyc8x")
|
||||
|
||||
[node name="DetectionArea" type="Area2D" parent="." unique_id=1724772540]
|
||||
collision_layer = 0
|
||||
collision_mask = 1
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea" unique_id=1724772541]
|
||||
shape = SubResource("CircleShape2D_detect")
|
||||
|
||||
[node name="SfxShatter" type="AudioStreamPlayer2D" parent="." unique_id=785438237]
|
||||
stream = SubResource("AudioStreamRandomizer_1u1k0")
|
||||
max_distance = 1187.0
|
||||
@@ -206,6 +218,18 @@ bus = &"Sfx"
|
||||
[node name="SfxOpenChest" type="AudioStreamPlayer2D" parent="." unique_id=743332693]
|
||||
stream = SubResource("AudioStreamRandomizer_vfomk")
|
||||
|
||||
[node name="SfxGetItemFromChest" type="AudioStreamPlayer2D" parent="." unique_id=1928374650]
|
||||
stream = ExtResource("29_getitem")
|
||||
attenuation = 7.0
|
||||
panning_strength = 1.1
|
||||
bus = &"Sfx"
|
||||
|
||||
[node name="SfxFall" type="AudioStreamPlayer2D" parent="." unique_id=1928374651]
|
||||
stream = ExtResource("30_fall")
|
||||
attenuation = 6.0
|
||||
panning_strength = 1.12
|
||||
bus = &"Sfx"
|
||||
|
||||
[node name="SfxDragRock" type="AudioStreamPlayer2D" parent="." unique_id=1895903195]
|
||||
stream = SubResource("AudioStreamRandomizer_2p257")
|
||||
volume_db = -2.611
|
||||
@@ -234,3 +258,4 @@ process_material = SubResource("ParticleProcessMaterial_ejwle")
|
||||
wait_time = 0.07
|
||||
|
||||
[connection signal="timeout" from="DragParticles/TimerSmokeParticles" to="." method="_on_timer_smoke_particles_timeout"]
|
||||
[connection signal="body_entered" from="DetectionArea" to="." method="_on_detection_area_body_entered"]
|
||||
|
||||
Reference in New Issue
Block a user