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

23 lines
1 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://uoxwjpmgg27a"]
[ext_resource type="Script" path="res://entities/gold.gd" id="1_lbls1"]
[ext_resource type="Texture2D" uid="uid://bfl0tkg85cvb8" path="res://entities/gold.png" id="2_tt3v6"]
[ext_resource type="PackedScene" uid="uid://dj72yshd25ucx" path="res://behaviours/collectable.tscn" id="3_q0bno"]
[ext_resource type="PackedScene" uid="uid://tx1qi6ahlxjp" path="res://behaviours/spawner.tscn" id="5_t7ey8"]
[ext_resource type="PackedScene" uid="uid://eqg6snsgn1kh" path="res://players/gold_pickup_player.tscn" id="6_eoeje"]
[node name="Gold" type="Node2D"]
script = ExtResource("1_lbls1")
[node name="Sprite" type="Sprite2D" parent="."]
scale = Vector2(2, 2)
texture = ExtResource("2_tt3v6")
[node name="Collectable" parent="." instance=ExtResource("3_q0bno")]
scale = Vector2(0.6, 0.6)
tag = &"Gold"
[node name="Spawner" parent="." instance=ExtResource("5_t7ey8")]
scene = ExtResource("6_eoeje")
[connection signal="collected" from="Collectable" to="." method="_on_collected"]