24 lines
799 B
Plaintext
24 lines
799 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cj457q2fx5mim"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/animal.gd" id="1_bjim0"]
|
|
[ext_resource type="Texture2D" uid="uid://cxbv1inffa2bq" path="res://assets/plants/abre1.png" id="2_n8edq"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5dvar"]
|
|
radius = 599.083
|
|
|
|
[node name="Animal" type="Node2D"]
|
|
script = ExtResource("1_bjim0")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.7, 0.7)
|
|
texture = ExtResource("2_n8edq")
|
|
offset = Vector2(170, -550)
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
collision_layer = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("CircleShape2D_5dvar")
|
|
|
|
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
|