1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-22 16:14:22 +00:00
hella-farm/entities/sheep.tscn

21 lines
739 B
Text
Raw Normal View History

2024-04-14 03:13:37 +00:00
[gd_scene load_steps=4 format=3 uid="uid://bc2bm8lbol18w"]
2024-04-13 14:38:05 +00:00
2024-04-14 03:13:37 +00:00
[ext_resource type="Script" path="res://entities/sheep.gd" id="1_4dmll"]
[ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_tfd2i"]
2024-04-13 14:38:05 +00:00
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_08frh"]
2024-04-13 14:38:05 +00:00
2024-04-14 03:13:37 +00:00
[node name="Sheep" type="CharacterBody2D"]
script = ExtResource("1_4dmll")
2024-04-13 14:38:05 +00:00
[node name="Sprite" type="Sprite2D" parent="."]
scale = Vector2(32, 32)
texture = SubResource("PlaceholderTexture2D_08frh")
2024-04-13 14:38:05 +00:00
2024-04-14 03:13:37 +00:00
[node name="MoveTowardsMouse" parent="." instance=ExtResource("2_tfd2i")]
scale = Vector2(30, 30)
speed = -20.0
can_detach = true
[connection signal="move" from="MoveTowardsMouse" to="." method="_on_move"]