[gd_scene load_steps=14 format=2] [ext_resource path="res://source/assets/scripts/server_handlers/trinity_site_level.gd" type="Script" id=1] [ext_resource path="res://source/assets/scripts/ui_element_handlers/UI.gd" type="Script" id=2] [ext_resource path="res://source/levels/trinity_site/images/trinity_site_level_layout-level_design_z-index_0-version_ct_f_hd_3840_2160.png" type="Texture" id=3] [ext_resource path="res://source/fonts/roboto/Roboto-Regular.ttf" type="DynamicFontData" id=4] [ext_resource path="res://source/assets/scripts/ui_element_handlers/winner.gd" type="Script" id=5] [ext_resource path="res://source/assets/scripts/ui_element_handlers/game_UI.gd" type="Script" id=6] [ext_resource path="res://source/levels/trinity_site/images/trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 01.png" type="Texture" id=7] [ext_resource path="res://source/levels/trinity_site/images/trinity_site_level_layout-level_design_z-index_-1-version_ct_f_hd_3840_2160.png" type="Texture" id=8] [ext_resource path="res://source/entities/grass/grass_node.tscn" type="PackedScene" id=9] [ext_resource path="res://source/levels/trinity_site/images/trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 02.png" type="Texture" id=44] [ext_resource path="res://source/levels/trinity_site/images/trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 025.png" type="Texture" id=45] [ext_resource path="res://source/assets/scripts/trinity_site_body_handler.gd" type="Script" id=46] [sub_resource type="DynamicFont" id=1] size = 120 outline_size = 7 outline_color = Color( 0, 0, 0, 1 ) use_mipmaps = true use_filter = true font_data = ExtResource( 4 ) [node name="trinity-site" type="Node2D"] script = ExtResource( 1 ) [node name="trinity_site_body" type="StaticBody2D" parent="."] script = ExtResource( 46 ) [node name="trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 01" type="Sprite" parent="trinity_site_body"] position = Vector2( 960, 540 ) scale = Vector2( 0.5, 0.5 ) z_index = -5 texture = ExtResource( 7 ) [node name="trinity_site_level_layout-level_design_z-index_0-version_ct_f_hd_3840_2160" type="Sprite" parent="trinity_site_body/trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 01"] z_index = 5 texture = ExtResource( 3 ) [node name="trinity_site_level_layout-level_design_z-index_-1-version_ct_f_hd_3840_2160" type="Sprite" parent="trinity_site_body/trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 01"] position = Vector2( 0, -0.561157 ) z_index = 2 texture = ExtResource( 8 ) [node name="trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 02" type="Sprite" parent="trinity_site_body/trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 01"] z_index = 1 texture = ExtResource( 44 ) [node name="trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 025" type="Sprite" parent="trinity_site_body/trinity_site_level_layout-level_design_z-index_-2-version_ct_f_hd_3840_2160 – 01"] position = Vector2( -275.886, 3244.16 ) rotation = -1.01229 texture = ExtResource( 45 ) [node name="trinity_site_outer_collider" type="CollisionPolygon2D" parent="trinity_site_body"] polygon = PoolVector2Array( 0, 8, 0, 1080, 1920, 1080, 1920, 0, 8, 0, 208, 216, 232, 200, 248, 192, 264, 184, 288, 176, 312, 168, 344, 160, 376.511, 156.535, 408.324, 155.118, 436.672, 156.378, 468.17, 160.472, 495.731, 165.985, 518.409, 171.969, 539.04, 171.812, 560.459, 166.772, 577.94, 157.953, 593.217, 147.086, 606.131, 132.597, 616.368, 117.95, 628.18, 102.359, 643.614, 86.452, 662.198, 71.648, 679.049, 60.3087, 698.105, 51.4892, 718.737, 43.9297, 741.888, 39.205, 763.149, 37.7876, 787.087, 37.7876, 808.979, 41.7248, 828.035, 46.7645, 848.194, 54.639, 865.518, 63.9309, 880.794, 74.1678, 894.338, 85.5071, 906.78, 97.3188, 922.686, 105.823, 941.743, 110.863, 963.634, 112.595, 983.478, 109.918, 1000.33, 103.303, 1014.5, 94.169, 1026, 82.8297, 1041.59, 69.2856, 1059.7, 58.7337, 1078.76, 50.2293, 1097.82, 43.1422, 1115.77, 39.3625, 1134.2, 37.4726, 1153.72, 37.4726, 1171.84, 39.3625, 1193.41, 43.1422, 1212.94, 49.5993, 1230.42, 57.9463, 1247.59, 66.9232, 1261.45, 78.2625, 1274.83, 89.2868, 1285.23, 100.626, 1293.42, 111.02, 1300.66, 121.415, 1308.38, 134.644, 1319.09, 146.771, 1333.42, 157.323, 1352.48, 167.244, 1374.53, 172.914, 1396.42, 173.072, 1415.16, 167.559, 1435.95, 162.205, 1460.2, 157.953, 1486.19, 155.748, 1509.97, 154.803, 1533.75, 155.748, 1554.54, 157.795, 1580.99, 161.417, 1603.52, 166.615, 1624.46, 173.702, 1646.67, 180.789, 1669.98, 191.026, 1686.67, 199.687, 1701.79, 208.507, 1722.11, 222.051, 1744.47, 237.643, 1761.01, 252.289, 1774.39, 265.046, 1791.24, 283.315, 1803.84, 299.221, 1814.87, 314.655, 1825.42, 330.877, 1833.61, 343.633, 1844.79, 363.792, 1852.19, 381.274, 1859.44, 400.33, 1865.11, 417.654, 1869.52, 434.033, 1873.61, 452.302, 1877.07, 473.248, 1879.28, 491.832, 1880.85, 507.581, 1881.96, 523.015, 1881.96, 546.953, 1880.07, 566.482, 1877.23, 583.334, 1874.87, 599.24, 1871.25, 615.147, 1866.52, 634.518, 1858.49, 655.464, 1849.67, 677.828, 1843.53, 692.632, 1836.44, 706.018, 1826.36, 725.075, 1816.91, 740.824, 1804.31, 758.148, 1794.71, 770.274, 1781.95, 782.874, 1762.58, 801.93, 1748.25, 814.214, 1730.14, 829.176, 1715.8, 839.57, 1696.43, 852.012, 1674.38, 863.823, 1651.86, 872.958, 1632.81, 880.045, 1612.65, 886.659, 1587.29, 892.644, 1568.24, 896.266, 1548.39, 899.574, 1529.97, 901.148, 1508.39, 901.621, 1474.53, 899.259, 1447.6, 896.424, 1422.56, 891.384, 1403.5, 886.187, 1381.61, 884.927, 1361.61, 888.077, 1343.34, 895.006, 1329.95, 902.881, 1318.3, 914.063, 1306.96, 927.134, 1297.35, 941.151, 1289.32, 951.86, 1280.97, 961.625, 1264.91, 976.114, 1252.47, 986.193, 1237.82, 995.328, 1222.23, 1003.2, 1202.7, 1009.82, 1184.43, 1015.64, 1170.1, 1016.9, 1139.55, 1018.01, 1112.15, 1015.17, 1091.83, 1010.76, 1074.98, 1004.62, 1055.13, 995.013, 1037.65, 984.461, 1020.01, 969.657, 1004.11, 955.01, 984.736, 946.821, 965.364, 944.301, 946.151, 945.561, 926.307, 949.498, 907.881, 957.688, 894.021, 970.287, 880.162, 983.516, 866.146, 992.335, 843.625, 1003.2, 821.733, 1010.6, 793.858, 1016.75, 767.557, 1018.48, 741.571, 1017.06, 714.168, 1010.92, 690.859, 1002.1, 671.015, 989.816, 650.227, 974.539, 630.068, 954.38, 614.791, 935.324, 601.405, 918.158, 587.388, 904.299, 572.112, 894.849, 553.685, 888.235, 531.952, 884.455, 508.958, 886.817, 486.752, 892.487, 454.781, 898.471, 432.26, 899.731, 402.652, 900.991, 376.509, 900.361, 348.791, 896.582, 328.632, 893.274, 297.764, 885.242, 271.305, 876.58, 244.532, 864.926, 222.326, 852.957, 199.175, 838.94, 180.591, 825.081, 159.96, 807.757, 144.211, 792.638, 129.564, 778.621, 114.445, 761.297, 100.114, 740.509, 86.727, 719.878, 79.1674, 706.963, 67.1982, 682.395, 55.0714, 654.992, 46.567, 627.903, 41.5273, 605.067, 37.4326, 580.971, 34.2828, 555.143, 33.1803, 534.354, 33.3378, 510.258, 35.0702, 487.265, 36.9601, 468.523, 41.0548, 446.317, 46.567, 426.158, 52.5516, 405.685, 61.2136, 386.313, 71.9229, 363.162, 80.1124, 347.571, 91.6092, 327.885, 104.681, 308.041, 123.737, 284.417, 140.116, 268.196, 156.653, 251.659, 175.551, 235.123, 192.56, 222.681, 205.317, 215.122 ) [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="trinity_site_body"] polygon = PoolVector2Array( 761.5, 423.238, 765.865, 418.476, 769.04, 403.395, 775.39, 388.315, 784.517, 372.838, 798.407, 359.742, 817.059, 347.043, 838.092, 338.312, 861.109, 334.74, 888.889, 337.518, 914.684, 348.63, 937.305, 363.313, 961.512, 365.298, 984.133, 360.139, 1003.98, 348.233, 1027.79, 337.518, 1058.34, 334.74, 1087.71, 340.693, 1115.89, 358.154, 1136.92, 381.965, 1147.64, 406.173, 1154.38, 422.841, 1170.26, 433.953, 1198.04, 442.287, 1215.5, 456.97, 1233.35, 478.4, 1243.67, 504.592, 1246.45, 530.784, 1242.48, 558.564, 1234.15, 578.803, 1219.47, 597.058, 1202.4, 611.742, 1179.78, 622.457, 1159.94, 628.013, 1149.22, 642.696, 1142.87, 666.11, 1130.57, 685.556, 1111.52, 701.827, 1093.27, 713.335, 1074.61, 718.891, 1049.22, 720.479, 1028.18, 716.51, 997.229, 704.208, 974.212, 691.906, 950.004, 689.921, 927.78, 695.874, 914.684, 707.383, 891.27, 717.304, 863.887, 721.272, 838.092, 716.907, 811.106, 706.986, 794.835, 694.683, 782.136, 679.603, 770.231, 653.014, 764.675, 636.743, 749.594, 623.647, 724.593, 616.901, 703.957, 601.424, 681.733, 574.438, 671.812, 545.071, 671.812, 516.895, 679.352, 487.528, 696.417, 461.732, 724.99, 441.89, 752.372, 429.587 ) [node name="grass_node3" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 393.822, 869.192 ) scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="grass_node2" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 764.908, 986.211 ) scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="grass_node" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 190.03, 791.328 ) rotation = 0.760963 scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="grass_node4" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 1748.96, 770.377 ) rotation = -0.811578 scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="grass_node5" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 1323.23, 880.375 ) rotation = -0.541052 scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="grass_node6" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 1831.89, 614.616 ) rotation = -1.26536 scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="grass_node7" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 1003.81, 929.937 ) rotation = 0.404916 scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="grass_node8" parent="trinity_site_body" instance=ExtResource( 9 )] position = Vector2( 1531.18, 870.873 ) rotation = -0.0506146 scale = Vector2( 0.1, 0.1 ) z_index = -3 [node name="spawn_locations" type="Node" parent="."] [node name="1" type="Position2D" parent="spawn_locations"] position = Vector2( 460, 540 ) z_index = 1 [node name="2" type="Position2D" parent="spawn_locations"] position = Vector2( 260, 540 ) z_index = 1 [node name="3" type="Position2D" parent="spawn_locations"] position = Vector2( 1460, 540 ) z_index = 1 [node name="4" type="Position2D" parent="spawn_locations"] position = Vector2( 1640, 540 ) z_index = 1 [node name="UI" type="CanvasLayer" parent="."] script = ExtResource( 2 ) [node name="game_UI" type="CanvasLayer" parent="."] script = ExtResource( 6 ) [node name="Control" type="Control" parent="game_UI"] anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_use_anchors_": false } [node name="winner" type="Label" parent="game_UI/Control"] anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = 2.37842 margin_top = -35.5 margin_right = 2.37842 margin_bottom = 106.5 custom_fonts/font = SubResource( 1 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) custom_constants/shadow_offset_x = 6 custom_constants/shadow_offset_y = 6 text = "You are the winner" align = 1 valign = 1 script = ExtResource( 5 ) __meta__ = { "_edit_use_anchors_": false } [node name="win_timer" type="Timer" parent="game_UI/Control/winner"] wait_time = 4.0 [connection signal="timeout" from="game_UI/Control/winner/win_timer" to="game_UI/Control/winner" method="_on_win_timer_timeout"]