summaryrefslogtreecommitdiff
path: root/main.tscn
blob: b71236517a175eedbf1f994bd8043cc03df5eeab (plain)
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
[gd_scene load_steps=9 format=3 uid="uid://b7k6l3bm1f0db"]

[ext_resource type="Script" path="res://main.gd" id="1_g4bmv"]
[ext_resource type="Script" path="res://free-look-camera.gd" id="2_4jusq"]
[ext_resource type="Texture2D" uid="uid://dv842eajslxyw" path="res://icon.svg" id="3_7tj3h"]
[ext_resource type="Script" path="res://player.gd" id="3_tn7lj"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_vv2it"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)

[sub_resource type="Sky" id="Sky_fy05j"]
sky_material = SubResource("ProceduralSkyMaterial_vv2it")

[sub_resource type="Environment" id="Environment_ldfjq"]
background_mode = 2
sky = SubResource("Sky_fy05j")
tonemap_mode = 2
glow_enabled = true

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_cggfi"]

[node name="Main" type="Node3D"]
script = ExtResource("1_g4bmv")

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ldfjq")

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.787627, -0.259754, -0.558724, -0.288733, -0.645471, 0.707107, -0.544314, 0.718258, 0.433391, 0, 41, 0)
light_energy = 0.5
shadow_enabled = true
directional_shadow_max_distance = 400.0

[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.767031, 0.64161, 0, -0.64161, 0.767031, 0.387164, 18.7811, 29.7854)
current = true
script = ExtResource("2_4jusq")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]

[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
process_mode = 4
transform = Transform3D(-0.0770845, 0, 0.997025, 0, 1, 0, -0.997025, 0, -0.0770845, 0, 238.895, 0)
script = ExtResource("3_tn7lj")

[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
shape = SubResource("CapsuleShape3D_cggfi")

[node name="CameraAnchor" type="Marker3D" parent="CharacterBody3D"]
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 7.45058e-09, 0, 1, 0, 0.87, 0)

[node name="Camera" type="Camera3D" parent="CharacterBody3D/CameraAnchor"]

[node name="RayCast3D" type="RayCast3D" parent="CharacterBody3D/CameraAnchor/Camera"]
target_position = Vector3(0, 0, -5)

[node name="CanvasLayer" type="CanvasLayer" parent="CharacterBody3D"]

[node name="CenterContainer" type="CenterContainer" parent="CharacterBody3D/CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="TextureRect" type="TextureRect" parent="CharacterBody3D/CanvasLayer/CenterContainer"]
custom_minimum_size = Vector2(16, 16)
layout_mode = 2
texture = ExtResource("3_7tj3h")
expand_mode = 1