22 lines
808 B
Text
22 lines
808 B
Text
[gd_scene load_steps=4 format=3 uid="uid://cntjtrjp4uisn"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://e6ubhnakxe0i" path="res://icon.svg" id="1_lvyed"]
|
|
[ext_resource type="Script" path="res://objects/weapons/projectiles/bullet.gd" id="1_xwbst"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kf3mx"]
|
|
size = Vector2(4, 4)
|
|
|
|
[node name="Bullet" type="Node2D"]
|
|
script = ExtResource("1_xwbst")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(-2.38419e-07, 0)
|
|
scale = Vector2(0.03125, 0.03125)
|
|
texture = ExtResource("1_lvyed")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("RectangleShape2D_kf3mx")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="queue_free" unbinds=1]
|