Inventory implemented

This commit is contained in:
2025-05-20 18:27:50 +02:00
parent f3ed5e0ad0
commit 60928c520c
5 changed files with 86 additions and 32 deletions
+78 -10
View File
@@ -1,27 +1,95 @@
[gd_scene load_steps=4 format=3 uid="uid://bm21nqepnwaik"]
[gd_scene load_steps=13 format=3 uid="uid://bm21nqepnwaik"]
[ext_resource type="Texture2D" uid="uid://c02unlmw2y6vv" path="res://art/indoor/misfortune_perspective_test.png" id="1_wvosl"]
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/Player2D.tscn" id="2_a2ood"]
[ext_resource type="Texture2D" uid="uid://waqmjrxduxfq" path="res://art/indoor/room export/Room_01_walls.png" id="3_a2ood"]
[ext_resource type="Texture2D" uid="uid://cnhsxxps2cw5" path="res://art/indoor/room export/Room_01_table.png" id="3_je1cl"]
[ext_resource type="Texture2D" uid="uid://blg50is4kuh2f" path="res://art/indoor/room export/Room_01_chair.png" id="4_hjjhl"]
[ext_resource type="Texture2D" uid="uid://bqwhptcgg5ons" path="res://art/indoor/room export/Room_01_dorr_R.png" id="5_8o6or"]
[ext_resource type="Texture2D" uid="uid://dhvi5404cqioa" path="res://art/indoor/room export/Room_01_window.png" id="6_j5d18"]
[ext_resource type="Texture2D" uid="uid://404glx32r1w8" path="res://art/indoor/room export/Room_01_bench.png" id="7_ciwvv"]
[ext_resource type="Texture2D" uid="uid://vyk63d0pgqm5" path="res://art/indoor/room export/Room_01_dioor L.png" id="8_wuntg"]
[ext_resource type="Texture2D" uid="uid://b2rj7wkyu6ehy" path="res://art/indoor/room export/Room_01_pechka.png" id="9_aivb2"]
[ext_resource type="Texture2D" uid="uid://bpi35nxbhput8" path="res://art/indoor/room export/Room_01_pechkaDoor.png" id="10_835kg"]
[ext_resource type="Texture2D" uid="uid://tyypifpte0pb" path="res://art/indoor/room export/Room_01_chugun.png" id="11_atjbs"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_a2ood"]
size = Vector2(1241.67, 409.333)
resource_local_to_scene = true
size = Vector2(7680, 1336)
[node name="IndoorTest" type="Node2D"]
y_sort_enabled = true
[node name="background" type="Sprite2D" parent="."]
scale = Vector2(3, 3)
texture = ExtResource("1_wvosl")
texture = ExtResource("3_a2ood")
flip_h = true
region_rect = Rect2(111, 292, 3323, 2160)
[node name="StaticBody2D" type="StaticBody2D" parent="background"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="background/StaticBody2D"]
position = Vector2(2.5, -129.667)
position = Vector2(-1912, -396)
shape = SubResource("RectangleShape2D_a2ood")
[node name="Player2d" parent="." instance=ExtResource("2_a2ood")]
position = Vector2(-3, 509)
position = Vector2(-3312, 112)
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2(100, 0)
zoom = Vector2(0.325, 0.325)
[node name="Room01Walls2" type="Sprite2D" parent="."]
position = Vector2(-3840, 0)
texture = ExtResource("3_a2ood")
[node name="Room01Table" type="Sprite2D" parent="."]
y_sort_enabled = true
position = Vector2(-2056, 888)
texture = ExtResource("3_je1cl")
offset = Vector2(192, -848)
[node name="Room01Chair" type="Sprite2D" parent="."]
position = Vector2(-2792, 1096)
texture = ExtResource("4_hjjhl")
offset = Vector2(216, -1064)
[node name="Room01Chair2" type="Sprite2D" parent="."]
position = Vector2(-1304, 1080)
texture = ExtResource("4_hjjhl")
offset = Vector2(184, -1056)
[node name="Room01DorrR" type="Sprite2D" parent="."]
position = Vector2(-216, 8)
texture = ExtResource("5_8o6or")
[node name="Room01Window4" type="Sprite2D" parent="."]
position = Vector2(-352, 8)
texture = ExtResource("6_j5d18")
[node name="Room01Bench" type="Sprite2D" parent="."]
position = Vector2(-3280, 24)
texture = ExtResource("7_ciwvv")
[node name="Room01DioorL" type="Sprite2D" parent="."]
position = Vector2(-3400, 8)
texture = ExtResource("8_wuntg")
[node name="Room01Pechka" type="Sprite2D" parent="."]
position = Vector2(-752, 0)
texture = ExtResource("9_aivb2")
[node name="Room01PechkaDoor" type="Sprite2D" parent="."]
position = Vector2(-704, 0)
texture = ExtResource("10_835kg")
[node name="Room01Chugun" type="Sprite2D" parent="."]
position = Vector2(-736, 8)
texture = ExtResource("11_atjbs")
[node name="Room01Window2" type="Sprite2D" parent="."]
position = Vector2(-2952, 16)
texture = ExtResource("6_j5d18")
[node name="Room01Window3" type="Sprite2D" parent="."]
position = Vector2(-1720, 16)
texture = ExtResource("6_j5d18")
[node name="Room01Bench2" type="Sprite2D" parent="."]
position = Vector2(-1160, 40)
texture = ExtResource("7_ciwvv")
flip_h = true