2024-04-15 04:21:36 +00:00
|
|
|
[gd_scene load_steps=7 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"]
|
2024-04-14 02:07:35 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_lso1v"]
|
2024-04-15 04:21:36 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bfl0tkg85cvb8" path="res://entities/gold.png" id="2_tt3v6"]
|
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-16 01:20:02 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://tx1qi6ahlxjp" path="res://behaviours/spawner.tscn" id="5_t7ey8"]
|
2024-04-15 04:21:36 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://eqg6snsgn1kh" path="res://players/gold_pickup_player.tscn" id="6_eoeje"]
|
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="."]
|
2024-04-15 04:21:36 +00:00
|
|
|
scale = Vector2(2, 2)
|
|
|
|
texture = ExtResource("2_tt3v6")
|
2024-04-13 17:07:26 +00:00
|
|
|
|
2024-04-14 02:07:35 +00:00
|
|
|
[node name="MoveTowardsMouse" parent="." instance=ExtResource("2_lso1v")]
|
2024-04-15 04:21:36 +00:00
|
|
|
scale = Vector2(8, 8)
|
|
|
|
speed = 555.0
|
2024-04-14 02:39:45 +00:00
|
|
|
|
|
|
|
[node name="Collectable" parent="." instance=ExtResource("3_q0bno")]
|
2024-04-15 04:21:36 +00:00
|
|
|
scale = Vector2(0.6, 0.6)
|
2024-04-14 02:39:45 +00:00
|
|
|
tag = &"Gold"
|
2024-04-13 17:07:26 +00:00
|
|
|
|
2024-04-16 01:20:02 +00:00
|
|
|
[node name="Spawner" parent="." instance=ExtResource("5_t7ey8")]
|
2024-04-15 04:21:36 +00:00
|
|
|
scene = ExtResource("6_eoeje")
|
|
|
|
|
2024-04-14 02:07:35 +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"]
|