GodotCourse/scenes/bullet.tscn

22 lines
793 B
Plaintext
Raw Permalink Normal View History

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