The_Dark_Side_of_Earth/petal.tscn

30 lines
1.3 KiB
Text
Raw Normal View History

2025-10-05 15:01:51 +02:00
[gd_scene load_steps=7 format=3 uid="uid://bhhhvaqhm3ctc"]
[ext_resource type="Texture2D" uid="uid://d15c1exwtp7sc" path="res://vines_petals/bud_open.png" id="1_05pvv"]
[ext_resource type="Script" uid="uid://coi26l4ndnaw0" path="res://petal.gd" id="1_ybtdj"]
[ext_resource type="PackedScene" uid="uid://b7o82cdfwuqd1" path="res://vines_petals/vine.tscn" id="2_4btcp"]
[ext_resource type="PackedScene" uid="uid://ds21d77ruuk4y" path="res://utils/interactable_area.tscn" id="2_ybtdj"]
[ext_resource type="PackedScene" uid="uid://chs0u61f45nau" path="res://utils/earth_aligner.tscn" id="5_uxqeq"]
[sub_resource type="CircleShape2D" id="CircleShape2D_4btcp"]
radius = 64.381676
[node name="Petal" type="Node2D"]
script = ExtResource("1_ybtdj")
vine_resource = ExtResource("2_4btcp")
[node name="BudOpen" type="Sprite2D" parent="."]
modulate = Color(18.892157, 1.8483434, 18.892157, 1)
scale = Vector2(5, 5)
texture = ExtResource("1_05pvv")
[node name="InteractableArea" parent="." instance=ExtResource("2_ybtdj")]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractableArea"]
position = Vector2(-1, 12)
shape = SubResource("CircleShape2D_4btcp")
[node name="EarthAligner" parent="." instance=ExtResource("5_uxqeq")]
[connection signal="interaction" from="InteractableArea" to="." method="_on_interaction"]