Comets.gd/scenes/comet.tscn

16 lines
759 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://bsonrs8vhtly8"]
[ext_resource type="Texture2D" uid="uid://54mfrkbp1kcg" path="res://assets/img/comet.png" id="1_6q67h"]
[ext_resource type="Script" path="res://scenes/comet.gd" id="1_33qxe"]
[node name="Comet" type="Area2D"]
script = ExtResource("1_33qxe")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_6q67h")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(19, -27, 22, -25, 25, -24, 27, -21, 31, -17, 32, -3, 32, 27, 27, 30, -8, 29, -17, 28, -25, 26, -32, 22, -32, 18, -23, 8, -20, 7, -21, 2, -29, -17, -29, -26, -27, -29, -25, -32, -14, -32, 0, -30)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]