✨ Turret shooting and damaing
This commit is contained in:
18
Scenes/Entities/Bullet.tscn
Normal file
18
Scenes/Entities/Bullet.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://erqawdsydh6a"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b5mb8tu15rc2p" path="res://Scenes/Entities/Bullet.png" id="1_fi8au"]
|
||||
[ext_resource type="Script" uid="uid://vgx2a8gm7l8b" path="res://Scripts/Entities/Bullet.cs" id="1_k5b1m"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fi8au"]
|
||||
size = Vector2(44, 12)
|
||||
|
||||
[node name="Bullet" type="Area2D"]
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_k5b1m")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.03, 0.03)
|
||||
texture = ExtResource("1_fi8au")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_fi8au")
|
Reference in New Issue
Block a user