GodotGame/scenes/bullet.tscn

21 lines
748 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://b43xjkoc8qrmv" path="res://graphics/bullet.png" id="2_gi2r6"]
[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.102564, 0.102564)
texture = ExtResource("2_gi2r6")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]