testytest/scenes/bullet.tscn
2024-07-29 21:05:41 -04:00

21 lines
747 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://c5bftwgkssaf2"]
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_t2eet"]
[ext_resource type="Texture2D" uid="uid://ca5b88ipe5ks2" path="res://graphics/bullet.png" id="2_7rmg4"]
[sub_resource type="CircleShape2D" id="CircleShape2D_1gtqp"]
radius = 6.0
[node name="Area2D" type="Area2D"]
script = ExtResource("1_t2eet")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_1gtqp")
debug_color = Color(0.721569, 0.337255, 0.854902, 0.419608)
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.27027, 0.324324)
texture = ExtResource("2_7rmg4")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]