toddler-play/pickups/star.tscn

21 lines
754 B
Plaintext
Raw Normal View History

2024-05-17 04:48:20 +00:00
[gd_scene load_steps=4 format=3 uid="uid://553vh86y3h8t"]
[ext_resource type="Script" path="res://pickups/star.gd" id="1_4sy1d"]
[ext_resource type="Texture2D" uid="uid://cuayrx0tr2r75" path="res://assets/platformer-art-deluxe/Base pack/Items/star.png" id="2_t8wcv"]
[sub_resource type="CircleShape2D" id="CircleShape2D_wifu3"]
radius = 15.0
[node name="Star" type="Area2D"]
script = ExtResource("1_4sy1d")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_wifu3")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1.90735e-06, -1.90735e-06)
scale = Vector2(0.6, 0.6)
texture = ExtResource("2_t8wcv")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]