Added projectile deletion
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cnoiv8hdgossf"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cnoiv8hdgossf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://rtsf1n0djorp" path="res://game/entities/weapons/projectiles/gatling_projectile.gd" id="1_xq7oi"]
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_xq7oi"]
|
||||
size = Vector2(4, 4)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_xq7oi"]
|
||||
radius = 1.0
|
||||
|
||||
[node name="GatlingProjectile" type="CharacterBody2D"]
|
||||
collision_layer = 0
|
||||
collision_mask = 0
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_xq7oi")
|
||||
damage = 6
|
||||
@@ -16,3 +21,4 @@ metadata/_custom_type_script = "uid://ctmjb3nkxrepu"
|
||||
texture = SubResource("PlaceholderTexture2D_xq7oi")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_xq7oi")
|
||||
|
||||
Reference in New Issue
Block a user