mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 12:53:47 +00:00
Bullet emitter
This commit is contained in:
parent
2e8bb70348
commit
e9a9653c20
6 changed files with 84 additions and 11 deletions
23
Scenes/Activable/BulletEmitter.tscn
Normal file
23
Scenes/Activable/BulletEmitter.tscn
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://cd36ch65jijg0"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Activables/BulletEmitter.cs" id="1_11khd"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/BulletSpawner.cs" id="2_cr25o"]
|
||||
[ext_resource type="PackedScene" uid="uid://bi3f14klscvlw" path="res://Scenes/Weapons/Bullets/enemyBullet_mid_red.tscn" id="2_tvufl"]
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/BulletResource.cs" id="3_njoox"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_pcsuf"]
|
||||
script = ExtResource("3_njoox")
|
||||
BulletScene = ExtResource("2_tvufl")
|
||||
BulletSpeed = 20.0
|
||||
BulletDamage = 4.0
|
||||
LifeTime = 4.0
|
||||
Owner = 0
|
||||
DamageType = 2
|
||||
TimeModifiers = Array[Object]([])
|
||||
|
||||
[node name="BulletEmitter" type="Node2D"]
|
||||
script = ExtResource("1_11khd")
|
||||
BulletResource = SubResource("Resource_pcsuf")
|
||||
|
||||
[node name="BulletSpawner" type="Node2D" parent="."]
|
||||
script = ExtResource("2_cr25o")
|
||||
|
|
@ -4,12 +4,12 @@
|
|||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_glhl1"]
|
||||
|
||||
[node name="DialogueStarter" type="Area2D" node_paths=PackedStringArray("_dialogueEndActivationTargets")]
|
||||
[node name="DialogueStarter" type="Area2D" node_paths=PackedStringArray("_targets")]
|
||||
monitoring = false
|
||||
monitorable = false
|
||||
script = ExtResource("1_nlikr")
|
||||
_trackName = ""
|
||||
_dialogueEndActivationTargets = []
|
||||
_targets = []
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_glhl1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue