summaryrefslogtreecommitdiff
path: root/client/scenes/game.tscn
blob: bf93d4d72a42095f61ff0942059a780f1170fcc6 (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
[gd_scene load_steps=7 format=3 uid="uid://clsylbmw7jc0s"]

[ext_resource type="PackedScene" uid="uid://bnqujofthaa4h" path="res://scenes/map.tscn" id="1_qt88a"]
[ext_resource type="PackedScene" uid="uid://d30bj2cp1m7gd" path="res://scenes/player.tscn" id="2_cdwnc"]
[ext_resource type="PackedScene" uid="uid://b31mlnao6ybt8" path="res://scenes/follow_camera.tscn" id="3_6ot70"]

[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_ko0bu"]

[sub_resource type="Sky" id="Sky_bqb2d"]
sky_material = SubResource("PhysicalSkyMaterial_ko0bu")

[sub_resource type="Environment" id="Environment_h880f"]
background_mode = 2
background_energy_multiplier = 2.0
sky = SubResource("Sky_bqb2d")
tonemap_mode = 2
ssao_enabled = true
sdfgi_enabled = true
glow_enabled = true

[node name="Game" type="Node3D"]

[node name="Map" parent="." instance=ExtResource("1_qt88a")]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.951635, -0.266538, 0.152804, -0.154443, 0.0149305, 0.987889, -0.265591, -0.963709, -0.0269565, 0, 0, 0)
shadow_enabled = true

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

[node name="Player" parent="." node_paths=PackedStringArray("map", "camera") instance=ExtResource("2_cdwnc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 2)
map = NodePath("../Map")
camera = NodePath("../FollowCamera")

[node name="FollowCamera" parent="." node_paths=PackedStringArray("target") instance=ExtResource("3_6ot70")]
target = NodePath("../Player")