Pickups + Save-diff

This commit is contained in:
anonoe 2026-02-10 15:18:49 +01:00
parent b49c0ee55f
commit bf874ba633
Signed by: anonoe
SSH key fingerprint: SHA256:OnAs6gNQelOnDiY5tBpDYKQiuTgBvnmIdMo5P09cdqg
11 changed files with 133 additions and 16 deletions

View file

@ -3,6 +3,8 @@
[ext_resource type="PackedScene" uid="uid://bjt15rm720w5g" path="res://scenes/Player.tscn" id="1_elqb8"]
[ext_resource type="Script" uid="uid://cqdq8fslu7cyp" path="res://scripts/world/ChunkManager.cs" id="2_0bbpv"]
[ext_resource type="Script" uid="uid://db2vbbh5737ke" path="res://scripts/core/PackManager.cs" id="3_rarhs"]
[ext_resource type="PackedScene" uid="uid://bs7qu34sfgvjx" path="res://scenes/world/PickupMarker.tscn" id="3_vcsgt"]
[ext_resource type="Script" uid="uid://osk74jjhtcjy" path="res://scripts/core/SaveManager.cs" id="4_rarhs"]
[node name="Main" type="Node2D" unique_id=1194367579]
@ -14,10 +16,11 @@
script = ExtResource("2_0bbpv")
PlayerPath = NodePath("../Player")
PackManagerPath = NodePath("../../PackManager")
[node name="ColorRect" type="ColorRect" parent="." unique_id=34197065]
offset_right = 40.0
offset_bottom = 40.0
PickupMarkerScene = ExtResource("3_vcsgt")
SaveManagerPath = NodePath("../../SaveManager")
[node name="PackManager" type="Node" parent="." unique_id=1706387276]
script = ExtResource("3_rarhs")
[node name="SaveManager" type="Node" parent="." unique_id=1115563669]
script = ExtResource("4_rarhs")

View file

@ -0,0 +1,15 @@
[gd_scene format=3 uid="uid://bs7qu34sfgvjx"]
[ext_resource type="Script" uid="uid://u5olxge8tsb4" path="res://scripts/world/PickupVisual.cs" id="1_a75xq"]
[ext_resource type="Script" uid="uid://di8apqyxtfmfp" path="res://scripts/world/PickupMarker.cs" id="1_b3nhw"]
[sub_resource type="CircleShape2D" id="CircleShape2D_b3nhw"]
[node name="PickupMarker" type="Area2D" unique_id=1599778276]
script = ExtResource("1_b3nhw")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1670396427]
shape = SubResource("CircleShape2D_b3nhw")
[node name="Visual" type="Node2D" parent="." unique_id=886979632]
script = ExtResource("1_a75xq")