-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCity.tscn
149 lines (128 loc) · 4.39 KB
/
City.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
147
[gd_scene load_steps=12 format=2]
[ext_resource path="res://City.gd" type="Script" id=1]
[ext_resource path="res://RoadCorner.tscn" type="PackedScene" id=2]
[ext_resource path="res://RoadStraight.tscn" type="PackedScene" id=3]
[ext_resource path="res://Plot.tscn" type="PackedScene" id=4]
[ext_resource path="res://BrickFloor.tscn" type="PackedScene" id=5]
[ext_resource path="res://WoodFloor.tscn" type="PackedScene" id=6]
[ext_resource path="res://ScoreArea.tscn" type="PackedScene" id=7]
[ext_resource path="res://assets/sound/point.ogg" type="AudioStream" id=8]
[sub_resource type="QuadMesh" id=1]
size = Vector2( 10, 10 )
[sub_resource type="SpatialMaterial" id=2]
render_priority = 0
flags_transparent = true
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.148438, 1, 0, 0.627451 )
metallic = 0.0
metallic_specular = 0.5
metallic_texture_channel = 0
roughness = 0.0
roughness_texture_channel = 0
emission_enabled = true
emission = Color( 0.166626, 0.820312, 0.17684, 1 )
emission_energy = 1.0
emission_operator = 0
emission_on_uv2 = 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", "Emission", "Flags", "Parameters", "Vertex Color" ]
[sub_resource type="Animation" id=3]
resource_name = "blinking"
length = 1.5
loop = true
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:material/0:albedo_color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.8, 1.5 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 0.148438, 1, 0, 0.629843 ), Color( 0.148438, 1, 0, 0.983451 ), Color( 0.148438, 1, 0, 0.627451 ) ]
}
[node name="Spatial" type="Spatial"]
script = ExtResource( 1 )
_sections_unfolded = [ "Transform" ]
Corner = ExtResource( 2 )
Straight = ExtResource( 3 )
Plot = ExtResource( 4 )
brick_floor = ExtResource( 5 )
wood_floor = ExtResource( 6 )
min_building_stack_size = 2
max_building_stack_size = 8
target_plot = Vector2( 2, 2 )
[node name="TargetPositionHighlight" type="MeshInstance" parent="." index="0"]
transform = Transform( 1, -7.78829e-07, -1.90127e-10, -1.90127e-10, -0.000488238, 1, -7.78829e-07, -1, -0.000488238, 0, 0.5, 0 )
layers = 1
material_override = null
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( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 2 )
_sections_unfolded = [ "Geometry", "Transform", "material" ]
[node name="AnimationPlayer" type="AnimationPlayer" parent="TargetPositionHighlight" index="0"]
root_node = NodePath("..")
autoplay = "blinking"
playback_process_mode = 1
playback_default_blend_time = 0.0
playback_speed = 1.0
anims/blinking = SubResource( 3 )
blend_times = [ ]
_sections_unfolded = [ "Pause", "Playback Options" ]
[node name="Area" parent="TargetPositionHighlight" index="1" instance=ExtResource( 7 )]
transform = Transform( 0.999701, -0.0171452, 0.017449, 0.0171359, -0.0182398, -0.999687, 0.0174581, 0.999687, -0.0179405, 0, 0, 0 )
script = null
[node name="PointsSound" type="AudioStreamPlayer" parent="." index="1"]
stream = ExtResource( 8 )
volume_db = 0.0
autoplay = false
mix_target = 0
bus = "Master"
[connection signal="body_entered" from="TargetPositionHighlight/Area" to="." method="_on_Area_body_entered"]
[connection signal="body_exited" from="TargetPositionHighlight/Area" to="." method="_on_Area_body_exited"]