mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 07:33:47 +00:00
Enemy debris
This commit is contained in:
parent
54b4d94491
commit
0293291315
19 changed files with 175 additions and 27 deletions
14
Scenes/Actors/Generic_Enemy_Debris_3D.tscn
Normal file
14
Scenes/Actors/Generic_Enemy_Debris_3D.tscn
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://l7a5p3vfsbn0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cd2j7yiat8uuh" path="res://Scripts/Actors/DeathDebris3D.cs" id="1_k3yjv"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://xiirmmgfsya6" path="res://Resources/Sprites/Fairy_Guard_Dead.tres" id="2_is4qt"]
|
||||
|
||||
[node name="GenericEnemyDebris" type="Node3D" node_paths=PackedStringArray("Sprite")]
|
||||
script = ExtResource("1_k3yjv")
|
||||
Sprite = NodePath("AnimatedSprite3D")
|
||||
|
||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
||||
transform = Transform3D(0.70710677, -0.49999997, 0.49999997, 0, 0.70710677, 0.70710677, -0.70710677, -0.49999997, 0.49999997, 0, 0, 0)
|
||||
pixel_size = 0.05
|
||||
texture_filter = 0
|
||||
sprite_frames = ExtResource("2_is4qt")
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://cmd3j4xc2f287"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cmd3j4xc2f287"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cg6y36s7buapp" path="res://Scripts/Weapons/Bullet3D.cs" id="1_l2l87"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://lh1q76788ixw" path="res://Resources/Sprites/explosion_proc_1.tres" id="3_rmbhq"]
|
||||
[ext_resource type="AudioStream" uid="uid://ds84e0m5l4i5d" path="res://SFX/404752__owlstorm__retro-video-game-sfx-explode-3.wav" id="4_32284"]
|
||||
[ext_resource type="Script" uid="uid://cvk4jbit45sfi" path="res://Scripts/Components/Actors/PooledAnimatedSpritePlayer3D.cs" id="4_ny3mn"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_pklkt"]
|
||||
|
|
@ -27,7 +28,12 @@ sprite_frames = ExtResource("3_rmbhq")
|
|||
autoplay = "default"
|
||||
script = ExtResource("4_ny3mn")
|
||||
|
||||
[node name="ExplosionSound" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = ExtResource("4_32284")
|
||||
bus = &"Effects"
|
||||
|
||||
[connection signal="Initialized" from="." to="AnimatedSprite3D" method="PlayAnimation"]
|
||||
[connection signal="Initialized" from="." to="ExplosionSound" method="play"]
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://bu464cgcdnihv"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bu464cgcdnihv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cg6y36s7buapp" path="res://Scripts/Weapons/Bullet3D.cs" id="1_uud1m"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://lh1q76788ixw" path="res://Resources/Sprites/explosion_proc_1.tres" id="3_qsphx"]
|
||||
[ext_resource type="Script" uid="uid://cvk4jbit45sfi" path="res://Scripts/Components/Actors/PooledAnimatedSpritePlayer3D.cs" id="4_5oowj"]
|
||||
[ext_resource type="AudioStream" uid="uid://ds84e0m5l4i5d" path="res://SFX/404752__owlstorm__retro-video-game-sfx-explode-3.wav" id="4_uud1m"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_pklkt"]
|
||||
radius = 2.00402
|
||||
|
|
@ -27,7 +28,13 @@ sprite_frames = ExtResource("3_qsphx")
|
|||
autoplay = "default"
|
||||
script = ExtResource("4_5oowj")
|
||||
|
||||
[node name="ExplosionSound" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = ExtResource("4_uud1m")
|
||||
volume_db = -8.23
|
||||
bus = &"Effects"
|
||||
|
||||
[connection signal="Initialized" from="." to="AnimatedSprite3D" method="PlayAnimation"]
|
||||
[connection signal="Initialized" from="." to="ExplosionSound" method="play"]
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue