Skip to content

Commit

Permalink
add signal to level 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mineiwik committed Oct 2, 2023
1 parent a2af1ad commit ffee287
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion scenes/Level3.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=35 format=3 uid="uid://bdxckbbvt81uj"]
[gd_scene load_steps=37 format=3 uid="uid://bdxckbbvt81uj"]

[ext_resource type="Script" path="res://scripts/TracksController.gd" id="1_biqvw"]
[ext_resource type="PackedScene" uid="uid://ctghq2lknpslx" path="res://prefabs/TrainStation.tscn" id="1_dtmcd"]
Expand Down Expand Up @@ -112,6 +112,25 @@ _data = {
}
point_count = 5

[sub_resource type="ArrayMesh" id="ArrayMesh_hmeh0"]
_surfaces = [{
"2d": true,
"aabb": AABB(-1.5, -13.5, 0, 3.00001, 27, 0),
"attribute_data": PackedByteArray(0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0),
"format": 33558545,
"index_count": 6,
"index_data": PackedByteArray(3, 0, 0, 0, 1, 0, 1, 0, 2, 0, 3, 0),
"primitive": 3,
"vertex_count": 4,
"vertex_data": PackedByteArray(0, 0, 192, 63, 0, 0, 88, 65, 0, 0, 192, 191, 0, 0, 88, 65, 0, 0, 192, 191, 0, 0, 88, 193, 0, 0, 192, 63, 0, 0, 88, 193)
}]

[sub_resource type="MultiMesh" id="MultiMesh_no5fn"]
resource_local_to_scene = true
instance_count = 21
mesh = SubResource("ArrayMesh_hmeh0")
buffer = PackedFloat32Array(0.999885, -0.0151968, 0, -3, 0.0151968, 0.999885, 0, 0, 0.991147, -0.132768, 0, 6.97848, 0.132768, 0.991147, 0, 0.514451, 0.97704, -0.213057, 0, 16.8568, 0.213057, 0.97704, 0, 2.04871, 0.9591, -0.283066, 0, 26.585, 0.283066, 0.9591, 0, 4.35361, 0.936153, -0.351594, 0, 36.1225, 0.351594, 0.936153, 0, 7.35176, 0.909868, -0.414897, 0, 45.4217, 0.414897, 0.909868, 0, 11.0232, 0.876674, -0.481086, 0, 54.4353, 0.481086, 0.876674, 0, 15.3479, 0.840183, -0.542304, 0, 63.113, 0.542304, 0.840183, 0, 20.312, 0.798809, -0.601584, 0, 71.4131, 0.601584, 0.798809, 0, 25.8841, 0.755105, -0.655604, 0, 79.2886, 0.655604, 0.755105, 0, 32.0419, 0.704947, -0.70926, 0, 86.7109, 0.70926, 0.704947, 0, 38.739, 0.649122, -0.760684, 0, 93.6308, 0.760684, 0.649122, 0, 45.9549, 0.595398, -0.803431, 0, 99.9968, 0.803431, 0.595398, 0, 53.6636, 0.53559, -0.844478, 0, 105.802, 0.844478, 0.53559, 0, 61.8023, 0.471631, -0.881796, 0, 111.004, 0.881796, 0.471631, 0, 70.3398, 0.406769, -0.913531, 0, 115.554, 0.913531, 0.406769, 0, 79.242, 0.340047, -0.940409, 0, 119.464, 0.940409, 0.340047, 0, 88.4434, 0.27268, -0.962105, 0, 122.695, 0.962105, 0.27268, 0, 97.9044, 0.199982, -0.9798, 0, 125.244, 0.9798, 0.199982, 0, 107.572, 0.120989, -0.992654, 0, 127.039, 0.992654, 0.120989, 0, 117.406, 0.00455207, -0.99999, 0, 127.977, 0.99999, 0.00455207, 0, 127.356)

[sub_resource type="Curve2D" id="Curve2D_nywvt"]
resource_local_to_scene = true
_data = {
Expand Down Expand Up @@ -251,6 +270,20 @@ curve = SubResource("Curve2D_lacy8")
position = Vector2(32, 702)
rotation = 3.14159
curve = SubResource("Curve2D_nj8hp")
tail_signal_enabled = true

[node name="MultiMeshInstance2D" parent="Tracks/Track13" index="1"]
multimesh = SubResource("MultiMesh_no5fn")

[node name="SignalButton" parent="Tracks/Track13/TailPoint" index="1"]
visible = true
offset_left = 12.0004
offset_top = -40.999
offset_right = 536.0
offset_bottom = 479.001

[node name="TrackLine" parent="Tracks/Track13" index="4"]
points = PackedVector2Array(-8, 0, -4, 0, 0, 0, 2.13821, 0.0812791, 4.6883, 0.270262, 8.1167, 0.635814, 12.3416, 1.23619, 14.7272, 1.64265, 17.2813, 2.12965, 19.9936, 2.70449, 22.854, 3.37445, 25.8521, 4.1468, 28.9779, 5.02884, 32.221, 6.02783, 35.5712, 7.15108, 39.0184, 8.40584, 42.5522, 9.79942, 46.1625, 11.3391, 49.8391, 13.0321, 53.5717, 14.8858, 57.3501, 16.9074, 61.1641, 19.1043, 65.0035, 21.4836, 68.858, 24.0528, 72.7174, 26.819, 76.5716, 29.7895, 80.4102, 32.9717, 82.3205, 34.6444, 84.2231, 36.3727, 86.1167, 38.1576, 88, 40, 89.8485, 41.8772, 91.6392, 43.765, 93.373, 45.6621, 95.0507, 47.5674, 98.2419, 51.397, 101.22, 55.2435, 103.993, 59.0966, 106.567, 62.9461, 108.95, 66.7814, 111.15, 70.5926, 113.173, 74.3691, 115.028, 78.1007, 116.721, 81.7771, 118.26, 85.3881, 119.653, 88.9233, 120.905, 92.3724, 122.026, 95.7251, 123.022, 98.9712, 123.901, 102.1, 124.669, 105.102, 125.335, 107.966, 125.906, 110.683, 126.389, 113.241, 126.791, 115.631, 127.383, 119.864, 127.741, 123.3, 127.924, 125.856, 128, 128, 128, 132, 128, 136)

[node name="Track14" parent="Tracks" instance=ExtResource("2_xqhrk")]
position = Vector2(262, 702)
Expand Down Expand Up @@ -331,3 +364,5 @@ station = NodePath("../../TrainStation4")
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2(500, 400)
zoom = Vector2(0.8, 0.8)

[editable path="Tracks/Track13"]

0 comments on commit ffee287

Please sign in to comment.