Moves stuff around, made a main menu and scene mgr

This commit is contained in:
Dan Baker 2025-07-03 14:08:39 +01:00
parent b2e3a3957b
commit 6c023a60a6
37 changed files with 888 additions and 214 deletions

View file

@ -1,6 +1,6 @@
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://b1miqvl8lus75"]
[ext_resource type="Shader" uid="uid://dbduq0qcaxmyi" path="res://grass.gdshader" id="1_vnnwo"]
[ext_resource type="Shader" uid="uid://dbduq0qcaxmyi" path="res://Common/shaders/grass.gdshader" id="1_vnnwo"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_vnnwo"]

View file

@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://c6mugqvfn8ihk" path="res://addons/AllSkyFree/Skyboxes/AllSkyFree_Sky_ClearBlueSky_Equirect.png" id="1_fm6lr"]
[ext_resource type="AnimationLibrary" uid="uid://bwnn7vpd0dqds" path="res://Common/animations/basic-movement.res" id="1_tfa5t"]
[ext_resource type="Script" uid="uid://bbjv6a7yg7m02" path="res://Stages/Test3D/camera_pivot.gd" id="2_sdmks"]
[ext_resource type="Shader" uid="uid://bsemnmdracd4m" path="res://Common/shaders/outline.gdshader" id="4_feu7y"]
[ext_resource type="Shader" uid="uid://bsemnmdracd4m" path="res://Common/shaders/pixel_outline.gdshader" id="4_feu7y"]
[ext_resource type="Script" uid="uid://cjbk6jnxla4mn" path="res://Stages/Test3D/camera_3d.gd" id="5_fm6lr"]
[ext_resource type="PackedScene" uid="uid://isogcpkb8su4" path="res://Entities/Tree/assets/temp/tent_detailedOpen.glb" id="9_4jb6r"]
[ext_resource type="Script" uid="uid://bjco8musjqog4" path="res://Stages/Test3D/particles.gd" id="9_oiyue"]
@ -149,6 +149,13 @@ func _process(_delta):
radius = 0.2
height = 0.5
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_fm6lr"]
dof_blur_far_enabled = true
dof_blur_far_distance = 5.0
dof_blur_far_transition = 10.0
dof_blur_near_distance = 0.87
dof_blur_amount = 0.08
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hbd03"]
resource_name = "shoes(Clone)mat"
cull_mode = 2
@ -475,13 +482,6 @@ material = SubResource("ShaderMaterial_tfa5t")
flip_faces = true
size = Vector2(2, 2)
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_fm6lr"]
dof_blur_far_enabled = true
dof_blur_far_distance = 5.0
dof_blur_far_transition = 10.0
dof_blur_near_distance = 0.87
dof_blur_amount = 0.08
[sub_resource type="BoxShape3D" id="BoxShape3D_tfa5t"]
size = Vector3(60, 0, 20)
@ -603,6 +603,14 @@ script = SubResource("GDScript_fm6lr")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.257867, 0)
shape = SubResource("CapsuleShape3D_tfa5t")
[node name="FirstPersonCamera" type="Camera3D" parent="SubViewportContainer/SubViewport/Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.359, -0.2)
attributes = SubResource("CameraAttributesPractical_fm6lr")
current = true
fov = 35.0
near = 0.103
far = 125.41
[node name="Pivot" type="Node3D" parent="SubViewportContainer/SubViewport/Player"]
[node name="Character" type="Node3D" parent="SubViewportContainer/SubViewport/Player/Pivot"]
@ -879,14 +887,6 @@ mesh = SubResource("QuadMesh_tfa5t")
[node name="RayCast3D" type="RayCast3D" parent="SubViewportContainer/SubViewport/Player/CameraPivot/Camera3D"]
collision_mask = 3
[node name="FirstPersonCamera" type="Camera3D" parent="SubViewportContainer/SubViewport/Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.359, -0.2)
attributes = SubResource("CameraAttributesPractical_fm6lr")
current = true
fov = 35.0
near = 0.103
far = 125.41
[node name="Environment" type="Node3D" parent="SubViewportContainer/SubViewport"]
[node name="Ground" type="StaticBody3D" parent="SubViewportContainer/SubViewport/Environment"]
@ -937,7 +937,7 @@ draw_pass_1 = SubResource("QuadMesh_hvb1l")
[node name="OmniLight3D" type="OmniLight3D" parent="SubViewportContainer/SubViewport/Camp/Objects/Camp/Campfire/Fire"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000509977, 0.121094, -0.00151992)
light_color = Color(0.89, 0.461613, 0.2136, 1)
light_energy = 0.816855
light_energy = 0.921402
light_indirect_energy = 1.084
light_volumetric_fog_energy = 3.764
light_size = 0.105
@ -967,6 +967,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.727, -0.05, 0.611)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.609, -0.05, 0.72)
[node name="VFX" type="Node3D" parent="SubViewportContainer/SubViewport/Camp"]
visible = false
[node name="Rain" type="GPUParticles3D" parent="SubViewportContainer/SubViewport/Camp/VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.545105, 10.1451, 0.937134)