-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.tscn
147 lines (131 loc) · 4.13 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
137
138
139
140
141
142
143
144
145
146
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Level/Ramp.tscn" type="PackedScene" id=2]
[ext_resource path="res://Camera/Camera.gd" type="Script" id=3]
[ext_resource path="res://Camera/IsoCamera.gd" type="Script" id=4]
[sub_resource type="SpatialMaterial" id=1]
render_priority = 0
flags_transparent = false
flags_unshaded = false
flags_vertex_lighting = false
flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 0
params_depth_draw_mode = 0
params_line_width = 1.0
params_point_size = 1.0
params_billboard_mode = 0
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 0.0431373, 0.701961, 0.0862745, 1 )
metallic = 0.0
metallic_specular = 0.5
metallic_texture_channel = 0
roughness = 0.0
roughness_texture_channel = 0
emission_enabled = false
normal_enabled = false
rim_enabled = false
clearcoat_enabled = false
anisotropy_enabled = false
ao_enabled = false
depth_enabled = false
subsurf_scatter_enabled = false
transmission_enabled = false
refraction_enabled = false
detail_enabled = false
uv1_scale = Vector3( 1, 1, 1 )
uv1_offset = Vector3( 0, 0, 0 )
uv1_triplanar = false
uv1_triplanar_sharpness = 1.0
uv2_scale = Vector3( 1, 1, 1 )
uv2_offset = Vector3( 0, 0, 0 )
uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo" ]
[sub_resource type="PlaneMesh" id=2]
size = Vector2( 40, 40 )
subdivide_width = 0
subdivide_depth = 0
_sections_unfolded = [ "Resource" ]
[sub_resource type="ConvexPolygonShape" id=3]
points = PoolVector3Array( -20, 0, 20, 20, 0, -20, 20, 0, 20, -20, 0, -20 )
[node name="Game" type="Spatial" index="0"]
[node name="MeshInstance" type="MeshInstance" parent="." index="0"]
layers = 1
material_override = SubResource( 1 )
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 2 )
skeleton = NodePath("..")
material/0 = null
_sections_unfolded = [ "Geometry", "LOD", "Transform", "Visibility" ]
[node name="StaticBody" type="StaticBody" parent="MeshInstance" index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
_sections_unfolded = [ "Collision", "Transform", "Visibility" ]
[node name="CollisionShape2" type="CollisionShape" parent="MeshInstance/StaticBody" index="0"]
shape = SubResource( 3 )
disabled = false
[node name="Player" parent="." index="1" instance=ExtResource( 1 )]
transform = Transform( 0.422618, 0, 0.906308, 0, 1, 0, -0.906308, 0, 0.422618, 0, 0, 0 )
_sections_unfolded = [ "Collision", "collision" ]
[node name="Ramp" parent="." index="2" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 0, 11 )
_sections_unfolded = [ "Axis Lock", "Collision", "Transform", "collision" ]
[node name="Camera" type="Camera" parent="." index="3"]
transform = Transform( -0.0496073, 0.51281, -0.857068, 0.029632, 0.858502, 0.511953, 0.998329, 0, -0.0577835, -7.13507, 5.45894, 0 )
visible = false
keep_aspect = 1
cull_mask = 1048575
environment = null
h_offset = 0.0
v_offset = 0.0
doppler_tracking = 0
projection = 0
current = true
fov = 70.3125
size = 1.0
near = 0.05
far = 100.0
script = ExtResource( 3 )
distance = 10.0
height = 5.0
target_path = "/root/Game/Player"
[node name="IsoCamera" type="Camera" parent="." index="4"]
transform = Transform( -4.37114e-08, 0.573576, -0.819152, 0, 0.819152, 0.573577, 1, 2.50718e-08, -3.58063e-08, -17.3781, 16.1658, 0 )
keep_aspect = 1
cull_mask = 1048575
environment = null
h_offset = 0.0
v_offset = 0.0
doppler_tracking = 0
projection = 0
current = true
fov = 70.3125
size = 1.0
near = 0.05
far = 100.0
script = ExtResource( 4 )
_sections_unfolded = [ "Transform" ]