mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
Explosions for bullets
This commit is contained in:
parent
8e784be1aa
commit
8ab4546579
9 changed files with 58 additions and 11 deletions
14
Scenes/Weapons/Bullets/Autoclearing_Explosion_Bullet.tscn
Normal file
14
Scenes/Weapons/Bullets/Autoclearing_Explosion_Bullet.tscn
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://1lowv5ce2poq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://df81kn4u8yigu" path="res://Scripts/Weapons/AutoclearingBulletEmitter.cs" id="1_5c773"]
|
||||
[ext_resource type="Resource" uid="uid://ncukdupc7hbm" path="res://Resources/Bullets/Explosion.tres" id="2_d2d24"]
|
||||
[ext_resource type="Script" uid="uid://c6467d6yx50qh" path="res://Scripts/Components/BulletSpawner.cs" id="3_d2d24"]
|
||||
|
||||
[node name="AutoclearingExplosionBullet" type="Node2D"]
|
||||
script = ExtResource("1_5c773")
|
||||
BulletResource = ExtResource("2_d2d24")
|
||||
EmitOnStart = true
|
||||
EmitCoolDown = 10.0
|
||||
|
||||
[node name="BulletSpawner" type="Node2D" parent="."]
|
||||
script = ExtResource("3_d2d24")
|
||||
Loading…
Add table
Add a link
Reference in a new issue