diff --git a/Main.tscn b/Main.tscn index 4a6b194..05c12af 100644 --- a/Main.tscn +++ b/Main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=31 format=2] +[gd_scene load_steps=79 format=2] [ext_resource path="res://res/level/neighbor.png" type="Texture" id=1] [ext_resource path="res://res/character/girl.png" type="Texture" id=2] @@ -8,6 +8,150 @@ [ext_resource path="res://entity/Girl.gd" type="Script" id=6] [ext_resource path="res://entity/AI/Player.gd" type="Script" id=7] +[sub_resource type="RectangleShape2D" id=24] +extents = Vector2( 63.6867, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=25] +extents = Vector2( 32.0662, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=33] +extents = Vector2( 37.8145, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=34] +extents = Vector2( 8.02289, 30.0256 ) + +[sub_resource type="RectangleShape2D" id=46] +extents = Vector2( 8.02289, 108.577 ) + +[sub_resource type="RectangleShape2D" id=35] +extents = Vector2( 8.02289, 293.961 ) + +[sub_resource type="RectangleShape2D" id=74] +extents = Vector2( 20.3464, 583.982 ) + +[sub_resource type="RectangleShape2D" id=47] +extents = Vector2( 8.02289, 30.9752 ) + +[sub_resource type="RectangleShape2D" id=48] +extents = Vector2( 8.02289, 98.1562 ) + +[sub_resource type="RectangleShape2D" id=60] +extents = Vector2( 8.02289, 67.4859 ) + +[sub_resource type="RectangleShape2D" id=49] +extents = Vector2( 8.02289, 74.0901 ) + +[sub_resource type="RectangleShape2D" id=50] +extents = Vector2( 8.02289, 35.0995 ) + +[sub_resource type="RectangleShape2D" id=45] +extents = Vector2( 8.02289, 444.485 ) + +[sub_resource type="RectangleShape2D" id=36] +extents = Vector2( 8.02289, 63.4933 ) + +[sub_resource type="RectangleShape2D" id=37] +extents = Vector2( 8.02289, 76.8 ) + +[sub_resource type="RectangleShape2D" id=38] +extents = Vector2( 68.1425, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=51] +extents = Vector2( 38.0133, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=39] +extents = Vector2( 68.4766, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=40] +extents = Vector2( 40.3452, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=41] +extents = Vector2( 29.019, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=52] +extents = Vector2( 71.2418, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=53] +extents = Vector2( 39.3086, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=54] +extents = Vector2( 60.4154, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=61] +extents = Vector2( 129.855, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=75] +extents = Vector2( 341.619, 24.2664 ) + +[sub_resource type="RectangleShape2D" id=62] +extents = Vector2( 34.9545, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=63] +extents = Vector2( 26.561, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=42] +extents = Vector2( 284.625, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=43] +extents = Vector2( 57.5036, 6.21887 ) + +[sub_resource type="RectangleShape2D" id=44] +extents = Vector2( 15.5976, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=68] +extents = Vector2( 24.1026, 6.5618 ) + +[sub_resource type="RectangleShape2D" id=69] +extents = Vector2( 24.1026, 8.75928 ) + +[sub_resource type="RectangleShape2D" id=28] +extents = Vector2( 10.3047, 8.88223 ) + +[sub_resource type="RectangleShape2D" id=29] +extents = Vector2( 10.3047, 6.35382 ) + +[sub_resource type="RectangleShape2D" id=70] +extents = Vector2( 8.11879, 3.02176 ) + +[sub_resource type="RectangleShape2D" id=30] +extents = Vector2( 16.1447, 3.35818 ) + +[sub_resource type="RectangleShape2D" id=71] +extents = Vector2( 16.1447, 5.77868 ) + +[sub_resource type="RectangleShape2D" id=72] +extents = Vector2( 19.9137, 21.6313 ) + +[sub_resource type="RectangleShape2D" id=55] +extents = Vector2( 12.3065, 3.35818 ) + +[sub_resource type="RectangleShape2D" id=56] +extents = Vector2( 12.3065, 6.64336 ) + +[sub_resource type="RectangleShape2D" id=57] +extents = Vector2( 10.4873, 39.2022 ) + +[sub_resource type="RectangleShape2D" id=31] +extents = Vector2( 12.9732, 3.6744 ) + +[sub_resource type="RectangleShape2D" id=58] +extents = Vector2( 4.03589, 71.057 ) + +[sub_resource type="RectangleShape2D" id=64] +extents = Vector2( 4.03589, 37.6688 ) + +[sub_resource type="RectangleShape2D" id=67] +extents = Vector2( 4.03589, 33.133 ) + +[sub_resource type="RectangleShape2D" id=65] +extents = Vector2( 4.03589, 67.6024 ) + +[sub_resource type="RectangleShape2D" id=66] +extents = Vector2( 4.03589, 162.649 ) + +[sub_resource type="RectangleShape2D" id=59] +extents = Vector2( 74.0407, 3.6744 ) + [sub_resource type="AtlasTexture" id=1] flags = 4 atlas = ExtResource( 2 ) @@ -141,8 +285,8 @@ animations = [ { "speed": 5.0 } ] -[sub_resource type="CapsuleShape2D" id=22] -radius = 7.49152 +[sub_resource type="RectangleShape2D" id=73] +extents = Vector2( 7.40962, 1.04021 ) [node name="Node" type="Node"] @@ -154,6 +298,236 @@ __meta__ = { "_edit_lock_": true } +[node name="StaticBody2D" type="StaticBody2D" parent="World/Level"] + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 143.329, 237.348 ) +shape = SubResource( 24 ) + +[node name="CollisionShape2D8" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 32.535, 301.568 ) +shape = SubResource( 25 ) + +[node name="CollisionShape2D9" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 103.759, 364.845 ) +shape = SubResource( 33 ) + +[node name="CollisionShape2D11" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 72.0283, 392.309 ) +shape = SubResource( 34 ) + +[node name="CollisionShape2D12" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 199.786, 473.006 ) +shape = SubResource( 46 ) + +[node name="CollisionShape2D22" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 264.062, -250.781 ) +shape = SubResource( 35 ) + +[node name="CollisionShape2D54" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 339.664, -4.98611 ) +shape = SubResource( 74 ) + +[node name="CollisionShape2D55" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -336.336, 3.01389 ) +shape = SubResource( 74 ) + +[node name="CollisionShape2D29" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 135.722, 10.1415 ) +shape = SubResource( 47 ) + +[node name="CollisionShape2D30" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -120.363, 8.70917 ) +shape = SubResource( 48 ) + +[node name="CollisionShape2D39" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -247.719, 162.66 ) +shape = SubResource( 60 ) + +[node name="CollisionShape2D33" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -184.36, -25.9392 ) +shape = SubResource( 49 ) + +[node name="CollisionShape2D35" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -247.967, 6.94128 ) +shape = SubResource( 50 ) + +[node name="CollisionShape2D24" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -312.286, -144.661 ) +shape = SubResource( 45 ) + +[node name="CollisionShape2D13" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -248.515, 514.109 ) +shape = SubResource( 36 ) + +[node name="CollisionShape2D14" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -311.583, 505.7 ) +shape = SubResource( 37 ) + +[node name="CollisionShape2D10" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 252.03, 364.099 ) +shape = SubResource( 38 ) + +[node name="CollisionShape2D15" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 45.4571, 165.13 ) +shape = SubResource( 51 ) + +[node name="CollisionShape2D16" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -244.037, 301.104 ) +shape = SubResource( 39 ) + +[node name="CollisionShape2D17" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -280.493, 431.027 ) +shape = SubResource( 40 ) + +[node name="CollisionShape2D19" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -281.829, 482.368 ) +shape = SubResource( 41 ) + +[node name="CollisionShape2D31" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -183.471, 101.043 ) +shape = SubResource( 52 ) + +[node name="CollisionShape2D32" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -151.624, -93.6176 ) +shape = SubResource( 53 ) + +[node name="CollisionShape2D34" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -216.825, 41.9985 ) +shape = SubResource( 53 ) + +[node name="CollisionShape2D36" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -248.069, -26.9444 ) +shape = SubResource( 54 ) + +[node name="CollisionShape2D37" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 13.9138, -22.7017 ) +shape = SubResource( 61 ) + +[node name="CollisionShape2D56" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 9.91382, -596.702 ) +shape = SubResource( 75 ) + +[node name="CollisionShape2D57" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 11.9138, 599.298 ) +shape = SubResource( 75 ) + +[node name="CollisionShape2D38" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -274.846, 231.538 ) +shape = SubResource( 62 ) + +[node name="CollisionShape2D40" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -280.519, 134.095 ) +shape = SubResource( 63 ) + +[node name="CollisionShape2D20" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -22.8132, 553.339 ) +shape = SubResource( 42 ) + +[node name="CollisionShape2D23" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -21.3526, -532.319 ) +shape = SubResource( 42 ) + +[node name="CollisionShape2D21" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 263.88, 553.708 ) +shape = SubResource( 43 ) + +[node name="CollisionShape2D18" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -183.805, 431.261 ) +shape = SubResource( 44 ) + +[node name="CollisionShape2D4" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 160.118, 247.028 ) +shape = SubResource( 68 ) + +[node name="CollisionShape2D52" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 224.187, 53.5974 ) +shape = SubResource( 69 ) + +[node name="CollisionShape2D5" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 179.69, 275.496 ) +shape = SubResource( 28 ) + +[node name="CollisionShape2D50" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 147.591, 107.333 ) +shape = SubResource( 28 ) + +[node name="CollisionShape2D45" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -300.1, 363.242 ) +shape = SubResource( 28 ) + +[node name="CollisionShape2D6" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 147.851, 269.69 ) +shape = SubResource( 29 ) + +[node name="CollisionShape2D49" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -44.106, 356.071 ) +shape = SubResource( 70 ) + +[node name="CollisionShape2D7" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 103.944, 244.217 ) +shape = SubResource( 30 ) + +[node name="CollisionShape2D51" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 167.943, 49.624 ) +shape = SubResource( 71 ) + +[node name="CollisionShape2D53" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 27.8719, 18.4961 ) +shape = SubResource( 72 ) + +[node name="CollisionShape2D46" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -280.471, 307.809 ) +shape = SubResource( 30 ) + +[node name="CollisionShape2D25" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 67.9435, 181.467 ) +shape = SubResource( 55 ) + +[node name="CollisionShape2D26" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 35.5376, 174.777 ) +shape = SubResource( 56 ) + +[node name="CollisionShape2D27" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 13.957, 206.569 ) +shape = SubResource( 57 ) + +[node name="CollisionShape2D3" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 261.277, 237.027 ) +shape = SubResource( 31 ) + +[node name="CollisionShape2D28" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 131.998, 110.734 ) +shape = SubResource( 58 ) + +[node name="CollisionShape2D42" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 84.053, 199.419 ) +shape = SubResource( 64 ) + +[node name="CollisionShape2D44" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 68.0144, 331.03 ) +shape = SubResource( 67 ) + +[node name="CollisionShape2D43" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 3.8119, 230.836 ) +shape = SubResource( 65 ) + +[node name="CollisionShape2D47" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -315.828, 363.341 ) +shape = SubResource( 65 ) + +[node name="CollisionShape2D48" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( -171.982, 365.025 ) +shape = SubResource( 65 ) + +[node name="CollisionShape2D41" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 275.084, 200.328 ) +shape = SubResource( 66 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Level/StaticBody2D"] +position = Vector2( 204.182, 41.4701 ) +shape = SubResource( 59 ) + [node name="Enter" type="Position2D" parent="World"] position = Vector2( 208.579, 63.3655 ) @@ -169,10 +543,11 @@ frames = SubResource( 21 ) animation = "Idle" [node name="CollisionShape2D" type="CollisionShape2D" parent="World/Enter/Girl/KinematicBody2D"] -position = Vector2( 1, -2 ) -shape = SubResource( 22 ) +position = Vector2( 2.68069, 14.3499 ) +shape = SubResource( 73 ) [node name="Camera2D" type="Camera2D" parent="World/Enter/Girl/KinematicBody2D"] +current = true [node name="AI" type="Node" parent="World/Enter/Girl"] script = ExtResource( 7 )