-
Notifications
You must be signed in to change notification settings - Fork 1
/
game.tscn
136 lines (105 loc) · 4.4 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[gd_scene load_steps=16 format=2]
[ext_resource path="res://data/scripts/game.gd" type="Script" id=1]
[ext_resource path="res://data/asset scenes/Camera.gd" type="Script" id=2]
[ext_resource path="res://data/UI/ui.tscn" type="PackedScene" id=3]
[ext_resource path="res://data/asset scenes/player.tscn" type="PackedScene" id=4]
[ext_resource path="res://data/scripts/camera_target.gd" type="Script" id=5]
[ext_resource path="res://data/editor/Editor.tscn" type="PackedScene" id=11]
[ext_resource path="res://data/dialogue/dialogue.tscn" type="PackedScene" id=17]
[ext_resource path="res://data/UI/graphics/white.png" type="Texture" id=26]
[ext_resource path="res://data/audio/ambient/FromHere.ogg" type="AudioStream" id=28]
[sub_resource type="GIProbeData" id=1]
bounds = AABB( -14.7751, -12.9545, -14.3391, 29.5502, 25.909, 28.6782 )
cell_size = 0.230861
to_cell_xform = Transform( 4.33161, 0, 0, 0, 4.33161, 0, 0, 0, 4.33161, 64, 56.1139, 62.1114 )
dynamic_data = PoolIntArray( 0, 8, 128, 128, 128, 1, 0, 0, 0, 1098907648, 1098907648, 0, 979252320, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 8355711, 0 )
dynamic_range = 4
energy = 0.1
bias = 1.5
normal_bias = 0.0
propagation = 0.7
[sub_resource type="ProceduralSky" id=2]
sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
sky_curve = 0.25
sky_energy = 2.0
ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
ground_curve = 0.01
sun_latitude = 50.0
sun_energy = 32.0
texture_size = 3
[sub_resource type="Environment" id=3]
background_mode = 2
background_sky = SubResource( 2 )
background_energy = 2.0
ambient_light_color = Color( 0.729412, 0.94902, 0.890196, 1 )
tonemap_mode = 2
ssao_enabled = true
ssao_color = Color( 0.384314, 0.65098, 0.568627, 1 )
glow_enabled = true
[sub_resource type="PlaneShape" id=4]
[sub_resource type="Shader" id=5]
code = "shader_type canvas_item;
uniform float amount : hint_range(0,5);
void fragment() {
COLOR.rgb = textureLod(SCREEN_TEXTURE,SCREEN_UV,amount).rgb;
}"
[sub_resource type="ShaderMaterial" id=6]
shader = SubResource( 5 )
shader_param/amount = 4.0
[node name="game" type="Node"]
script = ExtResource( 1 )
[node name="light" type="Position3D" parent="."]
[node name="DirectionalLight" type="DirectionalLight" parent="light"]
transform = Transform( 0.153615, -0.429527, 0.889893, 0.115044, 0.902232, 0.415623, -0.981411, 0.0385308, 0.188011, 36.4748, 32.3481, 18.0329 )
light_energy = 0.7
light_specular = 0.0
shadow_enabled = true
[node name="GIProbe" type="GIProbe" parent="light"]
extents = Vector3( 14.7751, 12.9545, 14.3391 )
energy = 0.1
data = SubResource( 1 )
[node name="Camera" type="InterpolatedCamera" parent="."]
transform = Transform( 0.83795, 0.233588, -0.493231, 0.104116, 0.818749, 0.564633, 0.535724, -0.524487, 0.66175, -8.31033, 9.12643, 7.50077 )
fov = 50.0
speed = 3.0
enabled = true
script = ExtResource( 2 )
[node name="environment" type="WorldEnvironment" parent="Camera"]
environment = SubResource( 3 )
[node name="ui" parent="." instance=ExtResource( 3 )]
[node name="npcs" type="Node" parent="."]
[node name="objects" type="Node" parent="."]
[node name="dialogue" parent="." instance=ExtResource( 17 )]
z_index = 95
[node name="scene" type="Area" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
[node name="col" type="CollisionShape" parent="scene"]
transform = Transform( 50, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0 )
shape = SubResource( 4 )
[node name="Area" type="Area" parent="scene"]
[node name="effects" type="Node" parent="."]
[node name="blurfx" type="TextureRect" parent="effects"]
visible = false
show_behind_parent = true
material = SubResource( 6 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -1.94803
margin_bottom = -1.948
mouse_filter = 2
size_flags_horizontal = 2
size_flags_vertical = 2
texture = ExtResource( 26 )
expand = true
[node name="audio" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 28 )
volume_db = -35.0
[node name="Editor" parent="." instance=ExtResource( 11 )]
[node name="soundfx" type="AudioStreamPlayer" parent="."]
[node name="player" parent="." instance=ExtResource( 4 )]
[node name="camera_target" type="Spatial" parent="."]
transform = Transform( 0.942773, 0.224187, -0.246817, 0.0134577, 0.71404, 0.699976, 0.333163, -0.66324, 0.67016, -1.65409, 7.18762, 5.73668 )
script = ExtResource( 5 )
[editable path="dialogue"]