JeremyGodot/scenes/bullet.tscn

22 lines
781 B
Plaintext
Raw Normal View History

2024-07-30 00:08:15 +00:00
[gd_scene load_steps=4 format=3 uid="uid://c5bftwgkssaf2"]
2024-07-29 22:14:14 +00:00
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_t2eet"]
2024-07-30 00:08:15 +00:00
[ext_resource type="Texture2D" uid="uid://b0c0hdt3afypx" path="res://graphics/items/bullet.png" id="2_p6y37"]
2024-07-29 22:14:14 +00:00
[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)
2024-07-30 00:08:15 +00:00
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1, 5)
scale = Vector2(0.0803688, 0.0803688)
texture = ExtResource("2_p6y37")
2024-07-29 22:14:14 +00:00
[connection signal="body_entered" from="." to="." method="_on_body_entered"]