1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-22 08:04:23 +00:00
hella-farm/entities/gold.tscn

26 lines
1,014 B
Text
Raw Normal View History

2024-04-14 02:39:45 +00:00
[gd_scene load_steps=5 format=3 uid="uid://uoxwjpmgg27a"]
2024-04-13 17:07:26 +00:00
[ext_resource type="Script" path="res://entities/gold.gd" id="1_lbls1"]
[ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_lso1v"]
2024-04-14 02:39:45 +00:00
[ext_resource type="PackedScene" uid="uid://dj72yshd25ucx" path="res://behaviours/collectable.tscn" id="3_q0bno"]
2024-04-13 17:07:26 +00:00
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_1f58t"]
2024-04-13 17:07:26 +00:00
[node name="Gold" type="Node2D"]
script = ExtResource("1_lbls1")
2024-04-14 02:42:20 +00:00
[node name="Sprite" type="Sprite2D" parent="."]
scale = Vector2(12, 12)
texture = SubResource("PlaceholderTexture2D_1f58t")
2024-04-13 17:07:26 +00:00
[node name="MoveTowardsMouse" parent="." instance=ExtResource("2_lso1v")]
2024-04-14 02:39:45 +00:00
scale = Vector2(5, 5)
speed = 333.0
[node name="Collectable" parent="." instance=ExtResource("3_q0bno")]
scale = Vector2(0.87, 0.87)
tag = &"Gold"
2024-04-13 17:07:26 +00:00
[connection signal="move" from="MoveTowardsMouse" to="." method="_on_move"]
2024-04-14 02:39:45 +00:00
[connection signal="collected" from="Collectable" to="." method="_on_collected"]