-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.tscn
100 lines (76 loc) · 3.37 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Blender/Exports/scene_01.glb" type="PackedScene" id=1]
[ext_resource path="res://Materials/Gris_medio.tres" type="Material" id=2]
[ext_resource path="res://Materials/Suelo.tres" type="Material" id=3]
[ext_resource path="res://main.gd" type="Script" id=4]
[ext_resource path="res://PlayerKinematicBody.gd" type="Script" id=5]
[sub_resource type="ProceduralSky" id=1]
ground_bottom_color = Color( 0.0431373, 0.0509804, 0.0588235, 1 )
ground_horizon_color = Color( 0.117647, 0.0823529, 0.054902, 1 )
[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
background_sky_custom_fov = 67.2
background_energy = 0.82
ambient_light_color = Color( 0.745098, 0.952941, 0.988235, 1 )
ambient_light_energy = 0.48
ambient_light_sky_contribution = 0.4
tonemap_mode = 2
tonemap_exposure = 0.82
[sub_resource type="CapsuleShape" id=3]
radius = 0.450381
height = 2.0999
[node name="Main" instance=ExtResource( 1 )]
script = ExtResource( 4 )
[node name="floor" parent="." index="0"]
material/0 = ExtResource( 3 )
[node name="Obstacle001" parent="." index="1"]
material/0 = ExtResource( 2 )
[node name="Obstacle002" parent="." index="2"]
material/0 = ExtResource( 2 )
[node name="Obstacle003" parent="." index="3"]
material/0 = ExtResource( 2 )
[node name="Obstacle004" parent="." index="4"]
material/0 = ExtResource( 2 )
[node name="Obstacle005" parent="." index="5"]
material/0 = ExtResource( 2 )
[node name="Obstacle006" parent="." index="6"]
material/0 = ExtResource( 2 )
[node name="Obstacle009" parent="." index="9"]
material/0 = ExtResource( 2 )
[node name="Obstacle010" parent="." index="10"]
material/0 = ExtResource( 2 )
[node name="Obstacle011" parent="." index="11"]
material/0 = ExtResource( 2 )
[node name="Obstacle012" parent="." index="12"]
material/0 = ExtResource( 2 )
[node name="Obstacle013" parent="." index="13"]
material/0 = ExtResource( 2 )
[node name="Obstacle014" parent="." index="14"]
material/0 = ExtResource( 2 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="." index="15"]
environment = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="." index="16"]
transform = Transform( 0.802373, -0.360156, 0.475904, -0.316129, 0.419874, 0.850746, -0.506221, -0.833063, 0.22304, 0, 22.0768, 0 )
light_color = Color( 1, 0.992157, 0.898039, 1 )
light_energy = 0.89
light_specular = 0.11
shadow_enabled = true
shadow_color = Color( 0.0352941, 0.0156863, 0.196078, 1 )
shadow_bias = 0.03
shadow_contact = 1.72
directional_shadow_normal_bias = 0.17
directional_shadow_bias_split_scale = 1.0
directional_shadow_depth_range = 1
directional_shadow_max_distance = 200.0
[node name="PlayerKinematicBody" type="KinematicBody" parent="." index="17"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75615, 0 )
script = ExtResource( 5 )
[node name="CapsuleCollisionShape" type="CollisionShape" parent="PlayerKinematicBody" index="0"]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
shape = SubResource( 3 )
[node name="Head" type="Spatial" parent="PlayerKinematicBody/CapsuleCollisionShape" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1 )
[node name="Camera" type="Camera" parent="PlayerKinematicBody/CapsuleCollisionShape/Head" index="0"]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 0, 0 )
far = 200.0