sunoku/scenes/bullet/bullet.tscn

20 lines
695 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://dpdt7rbma7ugn"]
[ext_resource type="Script" uid="uid://c6sk0p3b1ilbg" path="res://scenes/bullet/bullet.gd" id="1_7c8un"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_83itf"]
size = Vector2(1, 1)
[node name="bullet" type="Area2D"]
script = ExtResource("1_7c8un")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.5, 0.5)
shape = SubResource("RectangleShape2D_83itf")
[node name="Polygon2D" type="Polygon2D" parent="."]
color = Color(0.329412, 0.360784, 0.494118, 1)
polygon = PackedVector2Array(1, 0, 0, 0, 0, 1, 1, 1)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]