diff options
| author | freddie-a <57713959+freddie-a@users.noreply.github.com> | 2022-10-30 00:04:36 +0100 |
|---|---|---|
| committer | freddie-a <57713959+freddie-a@users.noreply.github.com> | 2022-10-30 00:04:36 +0100 |
| commit | 1399ef17c75aa9e7b1c13609bd9e7c16ce99eb1d (patch) | |
| tree | a511813d54feacc5a9c47e3d4ee9a49d49740272 | |
| parent | 4df2586608eb25cedc6af02f946febc002ea0e5d (diff) | |
Update player collider
| -rw-r--r-- | Player.tscn | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Player.tscn b/Player.tscn index 6c2c34a..915a26e 100644 --- a/Player.tscn +++ b/Player.tscn @@ -1,17 +1,17 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://KinematicBody2D.gd" type="Script" id=1] [ext_resource path="res://assets/htm_tex.png" type="Texture" id=2] -[sub_resource type="CircleShape2D" id=1] - [node name="Area2D" type="Area2D"] script = ExtResource( 1 ) -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -shape = SubResource( 1 ) - -[node name="Sprite" type="Sprite" parent="CollisionShape2D"] +[node name="Sprite" type="Sprite" parent="."] position = Vector2( -1, -4 ) scale = Vector2( 0.03, 0.03 ) texture = ExtResource( 2 ) + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] +position = Vector2( -1, -4 ) +scale = Vector2( 0.03, 0.03 ) +polygon = PoolVector2Array( 1315, -1466.8, 1315, -1462.5, 1467, -1366.5, 1467, -1363.9, 1523, -1303.9, 1523, -1300.6, 1570, -1216.6, 1570, -1212.5, 1588, -1156.6, 1588, -1114.5, 1585, -1086, 1582.5, -1086, 1560.6, -1008, 1543.9, -1008, 1441.4, -1053.3, 1382.7, -913, 1359, -913, 1244.3, -961.5, 1202.2, -837, 1184.7, -837, 1064.1, -896.3, 1035.9, -776, 1018.1, -776, 897.7, -823.6, 850.8, -704.2, 1498, -839.3, 1498, -827.7, 1523, -752.6, 1523, -737.7, 1513.4, -584, 1509.4, -584, 1482.4, -526, 1478.9, -526, 1438.9, -489, 1435.3, -489, 1281.4, -412, 1277.9, -412, 1092.8, -343, 1088, -343, 702.6, -250.5, 718.6, -193.8, 769, -191.6, 769, -180.2, 800.5, -35.6, 929.9, -87.1, 1073.2, -175, 1078.4, -175, 1121, -177.6, 1121, -166.8, 1126.6, -129, 1119.9, -129, 1081.5, -60, 1199, 74.2, 1199, 101.4, 1144, 110.9, 1144, 104.8, 1078.1, 78.4, 1069.2, 187, 1064, 187, 1046, 211, 1033.9, 211, 957, 105.6, 826.4, 150.9, 850, 453.6, 850, 459, 829, 481, 827.4, 504.2, 898, 575.9, 898, 579.4, 948, 668.4, 948, 672.7, 967, 745.7, 967, 757, 971.6, 863.5, 1133, 876.8, 1133, 881.1, 1211, 924.1, 1211, 945.9, 820.6, 1160, 818, 1160, 679, 1221.3, 679, 1208.2, 486, 946.6, 320.7, 1004, 311.8, 1004, 171.7, 997.3, 131.3, 1064.6, 264, 1208.1, 264, 1211.4, 313, 1300.4, 313, 1306.1, 311.7, 1354, 266.2, 1354, -146, 1285.5, -146, 1283.8, -435, 1210.8, -435, 1202, -438.5, 1129, -435.2, 1129, -379.7, 859.1, -584, 766.4, -584, 763.7, -739, 635.7, -739, 632.5, -899, 437.6, -899, 434.7, -1107.7, 83, -1210, -42.4, -1352.2, -108, -1355.8, -108, -1539.8, -105, -1540, -115, -1540, -115.9, -1546.6, -121.5, -1477.6, -202, -1473.6, -202, -1375.7, -259, -1371.3, -259, -1265.3, -286, -1208.1, -286, -1137, -273.4, -1137, -270.2, -991, -198.2, -991, -195.7, -622.4, 111, -621.6, 111, -509.5, 169, -507.8, 169, -430, 187.6, -436.9, 161, -421.3, 161, -320.9, 132.6, -275.4, 101.4, -263.1, 78.9, -370.3, 22.2, -458.7, 87, -463.1, 87, -513, 94.7, -513, 83.8, -528.3, 42, -520.7, 42, -498.2, -41.3, -621, -83.9, -621, -91.1, -629.6, -128, -618.6, -128, -560.6, -161, -556.3, -161, -438.4, -194.2, -455, -258.7, -455, -284.5, -429.8, -306.8, -418, -301.5, -418, -299, -168.9, -110.3, -68, -355.9, -68, -358.4, 17, -665.3, 17, -670.4, 21.6, -729, -11, -880.9, -11, -896.8, 8.59998, -1012, 11.2, -1012, 41.2, -1087, 44, -1087, 104, -1166, 106.2, -1166, 165.2, -1219, 168.7, -1219, 256.8, -1260, 262.3, -1260, 406, -1269.7, 406, -1265.3, 476.1, -1243.1, 814.9, -1389, 818.2, -1389, 1050.3, -1469, 1055.2, -1469, 1129.6, -1480, 1211.8, -1480 ) |
