mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 19:05:53 +00:00
Enemy spawning
This commit is contained in:
parent
ede8f2028a
commit
29dc9bebe0
20 changed files with 564 additions and 105 deletions
|
|
@ -6,9 +6,9 @@
|
|||
[resource]
|
||||
script = ExtResource("2_5nrie")
|
||||
BulletScene = ExtResource("1_l7ter")
|
||||
BulletSpeed = 2.0
|
||||
BulletSpeed = 1.8
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 12.0
|
||||
BulletDamage = 8.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
|
|
|
|||
24
Resources/Bullets/simple_enemy_bullet_small_3D.tres
Normal file
24
Resources/Bullets/simple_enemy_bullet_small_3D.tres
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_resource type="Resource" script_class="BulletResource" load_steps=3 format=3 uid="uid://qrqsywgiij7i"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c133312rx63ps" path="res://Scenes/Weapons/base_enemy_bullet_3D_small.tscn" id="1_pm333"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_4bl80"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_4bl80")
|
||||
BulletScene = ExtResource("1_pm333")
|
||||
BulletSpeed = 2.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 12.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
Owner = 2
|
||||
DamageType = 0
|
||||
RotateSprite = false
|
||||
Controllable = false
|
||||
Freezable = true
|
||||
Grazeable = true
|
||||
GrazeValue = 1.0
|
||||
Attributes = 290
|
||||
TimeModifiers = []
|
||||
Loading…
Add table
Add a link
Reference in a new issue