23 lines
821 B
Plaintext
23 lines
821 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cuxasb6eg47gw"]
|
|
|
|
[ext_resource type="Script" uid="uid://byjsgr18ieauy" path="res://Scripts/BerryLogic.cs" id="1_0wwwo"]
|
|
[ext_resource type="Texture2D" uid="uid://keupgfuijdl7" path="res://Textures/Berries/Berry.png" id="1_g0wxr"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_0wwwo"]
|
|
radius = 85.2115
|
|
|
|
[node name="Berry" type="Node2D"]
|
|
script = ExtResource("1_0wwwo")
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
scale = Vector2(1.3, 1.3)
|
|
texture = ExtResource("1_g0wxr")
|
|
|
|
[node name="Hitbox" type="Area2D" parent="."]
|
|
|
|
[node name="Shape" type="CollisionShape2D" parent="Hitbox"]
|
|
shape = SubResource("CircleShape2D_0wwwo")
|
|
debug_color = Color(0.713726, 0, 0.321569, 0.156863)
|
|
|
|
[connection signal="area_entered" from="Hitbox" to="." method="_on_hitbox_area_entered"]
|