This commit is contained in:
Joakim Hellsén 2026-05-06 04:24:34 +02:00
commit 693d9d12ae
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
8 changed files with 324 additions and 0 deletions

0
scenes/Player.gd Normal file
View file

1
scenes/Player.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://h607n3vn78wt

View file

@ -1,3 +1,56 @@
[gd_scene format=3 uid="uid://c2sbkop0dvony"]
[ext_resource type="PackedScene" uid="uid://biwwx41ucnqdu" path="res://fps_controller.tscn" id="1_0wfyh"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sgp6g"]
sky_top_color = Color(0.38634497, 0.45709372, 0.55142766, 1)
sky_horizon_color = Color(0.56396353, 0.6080805, 0.6193286, 1)
ground_bottom_color = Color(0.024895558, 0.13061434, 0.08127297, 1)
ground_horizon_color = Color(0.56396353, 0.6080805, 0.6193286, 1)
energy_multiplier = 1.25
[sub_resource type="Sky" id="Sky_o5qli"]
sky_material = SubResource("ProceduralSkyMaterial_sgp6g")
[sub_resource type="Environment" id="Environment_0wfyh"]
background_mode = 2
sky = SubResource("Sky_o5qli")
tonemap_mode = 2
sdfgi_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o5qli"]
albedo_color = Color(0.101960786, 0.48235294, 0.039215688, 1)
metallic = 0.8
roughness = 0.4
emission_energy_multiplier = 5.0
clearcoat_roughness = 0.0
grow_amount = 0.547
[sub_resource type="PlaneMesh" id="PlaneMesh_sgp6g"]
material = SubResource("StandardMaterial3D_o5qli")
size = Vector2(20, 20)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_sgp6g"]
data = PackedVector3Array(10, 0, 10, -10, 0, 10, 10, 0, -10, -10, 0, 10, -10, 0, -10, 10, 0, -10)
[node name="Node3D" type="Node3D" unique_id=1636936930]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=396505538]
transform = Transform3D(-0.8660254, -0.4806309, 0.13781871, 0, 0.2756374, 0.9612617, -0.50000006, 0.83247703, -0.23870897, 0, 0, 0)
light_color = Color(1, 1, 0.83137256, 1)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1423631291]
environment = SubResource("Environment_0wfyh")
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=657626596]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0037879944, 0.006898403, -0.0006710291)
mesh = SubResource("PlaneMesh_sgp6g")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D" unique_id=348213149]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D" unique_id=1236898589]
shape = SubResource("ConcavePolygonShape3D_sgp6g")
[node name="CharacterBody3D" parent="." unique_id=1574026121 instance=ExtResource("1_0wfyh")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00793457, 0.006890297, -0.003504753)