-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGame.tscn
87 lines (67 loc) · 2.96 KB
/
Game.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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://default_env.tres" type="Environment" id=1]
[ext_resource path="res://Assets/Camera/CameraRig.tscn" type="PackedScene" id=2]
[ext_resource path="res://Assets/Player/Player.tscn" type="PackedScene" id=3]
[ext_resource path="res://World.gd" type="Script" id=4]
[ext_resource path="res://Assets/Preloader.tscn" type="PackedScene" id=5]
[ext_resource path="res://Globals/MapManager.gd" type="Script" id=6]
[ext_resource path="res://Assets/Menu/Menu.tscn" type="PackedScene" id=7]
[ext_resource path="res://Globals/HUD.tscn" type="PackedScene" id=8]
[sub_resource type="ShaderMaterial" id=1]
resource_local_to_scene = true
[node name="Game" type="Node"]
[node name="ViewportContainer" type="ViewportContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
stretch = true
stretch_shrink = 4
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="Viewport" type="Viewport" parent="ViewportContainer"]
size = Vector2( 480, 270 )
handle_input_locally = false
render_target_update_mode = 3
shadow_atlas_size = 512
[node name="World" type="Node" parent="ViewportContainer/Viewport"]
pause_mode = 1
script = ExtResource( 4 )
[node name="Tween" type="Tween" parent="ViewportContainer/Viewport/World"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="ViewportContainer/Viewport/World"]
environment = ExtResource( 1 )
[node name="Sun" type="DirectionalLight" parent="ViewportContainer/Viewport/World"]
transform = Transform( 0.786731, 0.360352, -0.5012, 0.0824952, 0.743269, 0.663887, 0.611759, -0.563647, 0.555025, 0, 32, 0 )
light_color = Color( 0.933333, 0.905882, 0.803922, 1 )
light_energy = 1.5
light_indirect_energy = 2.0
light_specular = 1.0
light_bake_mode = 2
shadow_enabled = true
directional_shadow_blend_splits = true
directional_shadow_normal_bias = 2.0
directional_shadow_max_distance = 150.0
__meta__ = {
"_edit_lock_": true
}
[node name="MapA" type="Node" parent="ViewportContainer/Viewport/World"]
[node name="MapB" type="Node" parent="ViewportContainer/Viewport/World"]
[node name="CameraRig" parent="ViewportContainer/Viewport/World" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 310.531 )
[node name="Debug" parent="ViewportContainer/Viewport/World/CameraRig" index="0"]
material = SubResource( 1 )
[node name="Camera" parent="ViewportContainer/Viewport/World/CameraRig" index="1"]
far = 200.0
[node name="Player" parent="ViewportContainer/Viewport/World" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 310.531 )
[node name="Menu" parent="." instance=ExtResource( 7 )]
visible = false
[node name="MapManager" type="Node" parent="."]
script = ExtResource( 6 )
[node name="Preloader" parent="." instance=ExtResource( 5 )]
visible = false
[node name="HUD" parent="." groups=[
"HUD",
] instance=ExtResource( 8 )]
[editable path="ViewportContainer/Viewport/World/CameraRig"]
[editable path="ViewportContainer/Viewport/World/CameraRig/Debug"]