-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
76 lines (57 loc) · 2.82 KB
/
main.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[gd_scene load_steps=10 format=3 uid="uid://bpwjvgnngtoxa"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_4bnov"]
[ext_resource type="Texture2D" uid="uid://bvhl2ucorhaib" path="res://assets/kloofendal_48d_partly_cloudy_puresky_2k.hdr" id="1_5bmcg"]
[ext_resource type="Texture2D" uid="uid://bl32pk77bemja" path="res://assets/ground_texture.png" id="1_q8ngk"]
[ext_resource type="Script" path="res://scripts/camera.gd" id="4_1kbq8"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_8t471"]
panorama = ExtResource("1_5bmcg")
[sub_resource type="Sky" id="Sky_fvb1w"]
sky_material = SubResource("PanoramaSkyMaterial_8t471")
[sub_resource type="Environment" id="Environment_a3srv"]
background_mode = 2
sky = SubResource("Sky_fvb1w")
tonemap_mode = 2
glow_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7w7j2"]
albedo_color = Color(0.521141, 0.521141, 0.521141, 1)
albedo_texture = ExtResource("1_q8ngk")
uv1_triplanar = true
texture_filter = 0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ouoal"]
[node name="world" type="Node3D"]
[node name="env" type="Node3D" parent="."]
[node name="WorldEnvironment" type="WorldEnvironment" parent="env"]
environment = SubResource("Environment_a3srv")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="env"]
transform = Transform3D(0.707107, 0.612372, 0.353553, 0, -0.5, 0.866025, 0.707107, -0.612372, -0.353553, 0, 0, 0)
[node name="stage" type="Node3D" parent="."]
[node name="CSGBox3D" type="CSGBox3D" parent="stage"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
use_collision = true
size = Vector3(20, 1, 20)
material = SubResource("StandardMaterial3D_7w7j2")
[node name="CSGBox3D" type="CSGBox3D" parent="stage/CSGBox3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 1, 7)
use_collision = true
size = Vector3(4, 1, 4)
material = SubResource("StandardMaterial3D_7w7j2")
[node name="CSGBox3D2" type="CSGBox3D" parent="stage/CSGBox3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1.5, 7)
use_collision = true
size = Vector3(4, 2, 4)
material = SubResource("StandardMaterial3D_7w7j2")
[node name="CSGBox3D3" type="CSGBox3D" parent="stage/CSGBox3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, 7)
use_collision = true
size = Vector3(4, 3, 4)
material = SubResource("StandardMaterial3D_7w7j2")
[node name="player" type="CharacterBody3D" parent="."]
wall_min_slide_angle = 0.0872665
script = ExtResource("1_4bnov")
[node name="body-collision" type="CollisionShape3D" parent="player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_ouoal")
[node name="head" type="Node3D" parent="player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0)
[node name="player_camera" type="Camera3D" parent="player/head"]
script = ExtResource("4_1kbq8")