Add inventory system
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://yhtpoum3eek7"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/RosaController.gd" id="1_3g383"]
|
||||
[ext_resource type="Script" path="res://scripts/RosaCamera.gd" id="2_tr66j"]
|
||||
[ext_resource type="Script" path="res://scripts/Entities/RosaController.gd" id="1_3g383"]
|
||||
[ext_resource type="Script" path="res://scripts/Entities/RosaCamera.gd" id="2_tr66j"]
|
||||
[ext_resource type="Shader" path="res://shaders/NPC Shader.gdshader" id="3_j5vis"]
|
||||
[ext_resource type="Texture2D" uid="uid://i34vweii6joy" path="res://textures/rosa.png" id="4_qdjyy"]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dr4b2pmsknuhc"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/TestNPCController.gd" id="1_61g2d"]
|
||||
[ext_resource type="Script" path="res://scripts/Entities/TestNPCController.gd" id="1_61g2d"]
|
||||
[ext_resource type="Shader" path="res://shaders/NPC Shader.gdshader" id="1_xgcv1"]
|
||||
[ext_resource type="Texture2D" uid="uid://i34vweii6joy" path="res://textures/rosa.png" id="2_shls4"]
|
||||
|
14
scenes/MapBounds.tscn
Normal file
14
scenes/MapBounds.tscn
Normal file
@@ -0,0 +1,14 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cy4r0tp2htivb"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/MapBounds.gd" id="1_43dqt"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ep4u2"]
|
||||
|
||||
[node name="MapBounds" type="Area3D"]
|
||||
script = ExtResource("1_43dqt")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_ep4u2")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
6
scenes/Systems.tscn
Normal file
6
scenes/Systems.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://iibqlagufwhm"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Systems/Systems.gd" id="1_uen2c"]
|
||||
|
||||
[node name="Systems" type="Node3D"]
|
||||
script = ExtResource("1_uen2c")
|
@@ -1,8 +1,10 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://bdrpqtbwvtivd"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bdrpqtbwvtivd"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://yhtpoum3eek7" path="res://scenes/NPC/Rosa.tscn" id="1_3u2u0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dr4b2pmsknuhc" path="res://scenes/NPC/TestNPC.tscn" id="2_6f3lj"]
|
||||
[ext_resource type="PackedScene" uid="uid://yhtpoum3eek7" path="res://scenes/Entities/Rosa.tscn" id="1_3u2u0"]
|
||||
[ext_resource type="PackedScene" uid="uid://iibqlagufwhm" path="res://scenes/Systems.tscn" id="1_3x3uf"]
|
||||
[ext_resource type="PackedScene" uid="uid://dr4b2pmsknuhc" path="res://scenes/Entities/TestNPC.tscn" id="2_6f3lj"]
|
||||
[ext_resource type="PackedScene" uid="uid://7wjfo6u4dp3h" path="res://scenes/Maps/test.tscn" id="4_18e1y"]
|
||||
[ext_resource type="PackedScene" uid="uid://cy4r0tp2htivb" path="res://scenes/MapBounds.tscn" id="4_gv7tl"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_1b6it"]
|
||||
sky_horizon_color = Color(0.59625, 0.6135, 0.6375, 1)
|
||||
@@ -19,6 +21,8 @@ sky = SubResource("Sky_weucl")
|
||||
|
||||
[node name="TestSceneRoot" type="Node3D"]
|
||||
|
||||
[node name="Systems" parent="." instance=ExtResource("1_3x3uf")]
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_18twt")
|
||||
|
||||
@@ -34,3 +38,6 @@ light_energy = 15.315
|
||||
omni_range = 281.646
|
||||
|
||||
[node name="test" parent="." instance=ExtResource("4_18e1y")]
|
||||
|
||||
[node name="MapBounds" parent="." instance=ExtResource("4_gv7tl")]
|
||||
transform = Transform3D(22.0363, 0, 0, 0, 7.5201, 0, 0, 0, 19.278, 1.48402, 2.89779, 1.65935)
|
||||
|
13
scenes/Testing/TestCube.tscn
Normal file
13
scenes/Testing/TestCube.tscn
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dlwauw7qvyxnn"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qpmw6"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_lddii"]
|
||||
|
||||
[node name="TestCube" type="StaticBody3D"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_qpmw6")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_lddii")
|
Reference in New Issue
Block a user