26 lines
720 B
Plaintext
26 lines
720 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bqkvnody78mr"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c5dp757bqjhel" path="res://icon.svg" id="1_de7lu"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_4cg8h"]
|
|
radius = 5.0
|
|
|
|
[node name="Bullet" type="RigidBody2D"]
|
|
collision_layer = 0
|
|
collision_mask = 0
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
rotation = 1.5708
|
|
scale = Vector2(0.0295564, 0.0721942)
|
|
texture = ExtResource("1_de7lu")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
rotation = 1.5708
|
|
shape = SubResource("CircleShape2D_4cg8h")
|
|
|
|
[node name="TTL" type="Timer" parent="."]
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="TTL" to="." method="queue_free"]
|