diff --git a/pic/imageonline-co-overlayed-image (1).png b/pic/imageonline-co-overlayed-image (1).png new file mode 100644 index 0000000..59f4ecc Binary files /dev/null and b/pic/imageonline-co-overlayed-image (1).png differ diff --git a/pic/imageonline-co-overlayed-image (1).png.import b/pic/imageonline-co-overlayed-image (1).png.import new file mode 100644 index 0000000..6a91b6d --- /dev/null +++ b/pic/imageonline-co-overlayed-image (1).png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/imageonline-co-overlayed-image (1).png-319bdfa40372410e26d86359245ce05d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pic/imageonline-co-overlayed-image (1).png" +dest_files=[ "res://.import/imageonline-co-overlayed-image (1).png-319bdfa40372410e26d86359245ce05d.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/pic/imageonline-co-overlayed-image (2).png b/pic/imageonline-co-overlayed-image (2).png new file mode 100644 index 0000000..a0142ed Binary files /dev/null and b/pic/imageonline-co-overlayed-image (2).png differ diff --git a/pic/imageonline-co-overlayed-image (2).png.import b/pic/imageonline-co-overlayed-image (2).png.import new file mode 100644 index 0000000..ff4f84e --- /dev/null +++ b/pic/imageonline-co-overlayed-image (2).png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/imageonline-co-overlayed-image (2).png-933ccadb4ecb8fc51d53f6dc9860f725.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pic/imageonline-co-overlayed-image (2).png" +dest_files=[ "res://.import/imageonline-co-overlayed-image (2).png-933ccadb4ecb8fc51d53f6dc9860f725.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/pic/imageonline-co-overlayed-image (3).png b/pic/imageonline-co-overlayed-image (3).png new file mode 100644 index 0000000..acbcab2 Binary files /dev/null and b/pic/imageonline-co-overlayed-image (3).png differ diff --git a/pic/imageonline-co-overlayed-image (3).png.import b/pic/imageonline-co-overlayed-image (3).png.import new file mode 100644 index 0000000..576f804 --- /dev/null +++ b/pic/imageonline-co-overlayed-image (3).png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/imageonline-co-overlayed-image (3).png-5ac60f709c83c0bc3a0766832f013675.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pic/imageonline-co-overlayed-image (3).png" +dest_files=[ "res://.import/imageonline-co-overlayed-image (3).png-5ac60f709c83c0bc3a0766832f013675.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/pic/imageonline-co-overlayed-image (4).png b/pic/imageonline-co-overlayed-image (4).png new file mode 100644 index 0000000..a7a7da5 Binary files /dev/null and b/pic/imageonline-co-overlayed-image (4).png differ diff --git a/pic/imageonline-co-overlayed-image (4).png.import b/pic/imageonline-co-overlayed-image (4).png.import new file mode 100644 index 0000000..3e68db2 --- /dev/null +++ b/pic/imageonline-co-overlayed-image (4).png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/imageonline-co-overlayed-image (4).png-d0a5777b937f6ddb18484b0f4db9e016.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pic/imageonline-co-overlayed-image (4).png" +dest_files=[ "res://.import/imageonline-co-overlayed-image (4).png-d0a5777b937f6ddb18484b0f4db9e016.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/pic/imageonline-co-overlayed-image (5).png b/pic/imageonline-co-overlayed-image (5).png new file mode 100644 index 0000000..b367da1 Binary files /dev/null and b/pic/imageonline-co-overlayed-image (5).png differ diff --git a/pic/imageonline-co-overlayed-image (5).png.import b/pic/imageonline-co-overlayed-image (5).png.import new file mode 100644 index 0000000..22e277b --- /dev/null +++ b/pic/imageonline-co-overlayed-image (5).png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/imageonline-co-overlayed-image (5).png-9c58d50d2af6654277a2fb0b14bb93c6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pic/imageonline-co-overlayed-image (5).png" +dest_files=[ "res://.import/imageonline-co-overlayed-image (5).png-9c58d50d2af6654277a2fb0b14bb93c6.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/pic/imageonline-co-overlayed-image.png b/pic/imageonline-co-overlayed-image.png new file mode 100644 index 0000000..5c61c69 Binary files /dev/null and b/pic/imageonline-co-overlayed-image.png differ diff --git a/pic/imageonline-co-overlayed-image.png.import b/pic/imageonline-co-overlayed-image.png.import new file mode 100644 index 0000000..e615c92 --- /dev/null +++ b/pic/imageonline-co-overlayed-image.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/imageonline-co-overlayed-image.png-b4e52ddcaeadb598cc9cad80149ea840.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pic/imageonline-co-overlayed-image.png" +dest_files=[ "res://.import/imageonline-co-overlayed-image.png-b4e52ddcaeadb598cc9cad80149ea840.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/pic/statue1.png b/pic/statue1.png new file mode 100644 index 0000000..b3dc2b2 Binary files /dev/null and b/pic/statue1.png differ diff --git a/pic/statue1.png.import b/pic/statue1.png.import new file mode 100644 index 0000000..0ca92dd --- /dev/null +++ b/pic/statue1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/statue1.png-c5c2b5b2eac1c9a41632d07f8dec081b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pic/statue1.png" +dest_files=[ "res://.import/statue1.png-c5c2b5b2eac1c9a41632d07f8dec081b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/resources/accesable_miniature/Indoors/Room_small/WallE_pic.tscn b/resources/accesable_miniature/Indoors/Room_small/WallE_pic.tscn new file mode 100644 index 0000000..128d709 --- /dev/null +++ b/resources/accesable_miniature/Indoors/Room_small/WallE_pic.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://pic/imageonline-co-overlayed-image (4).png" type="Texture" id=1] + +[node name="StaticBody2D" type="StaticBody2D"] + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 19.0273, -23.1895 ) +texture = ExtResource( 1 ) + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] +position = Vector2( 19.0273, -23.1895 ) +polygon = PoolVector2Array( -93.9188, 208.567, -128.674, 191.403, -128.396, 156.432, 29.6674, 82.7074, 33.0568, 143.818 ) diff --git a/resources/accesable_miniature/Indoors/Room_small/WallE_pic2.tscn b/resources/accesable_miniature/Indoors/Room_small/WallE_pic2.tscn new file mode 100644 index 0000000..4add8cb --- /dev/null +++ b/resources/accesable_miniature/Indoors/Room_small/WallE_pic2.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://pic/imageonline-co-overlayed-image (3).png" type="Texture" id=1] + +[node name="StaticBody2D" type="StaticBody2D"] + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 19.0273, -23.1895 ) +texture = ExtResource( 1 ) + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] +position = Vector2( 19.0273, -23.1895 ) +polygon = PoolVector2Array( -93.9188, 208.567, -128.674, 191.403, -128.396, 156.432, 29.6674, 82.7074, 33.0568, 143.818 ) diff --git a/resources/accesable_miniature/Indoors/Room_small/WallE_pic3.tscn b/resources/accesable_miniature/Indoors/Room_small/WallE_pic3.tscn new file mode 100644 index 0000000..64affae --- /dev/null +++ b/resources/accesable_miniature/Indoors/Room_small/WallE_pic3.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://pic/imageonline-co-overlayed-image (5).png" type="Texture" id=1] + +[node name="StaticBody2D" type="StaticBody2D"] + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 19.0273, -23.1895 ) +texture = ExtResource( 1 ) + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] +position = Vector2( 19.0273, -23.1895 ) +polygon = PoolVector2Array( -93.9188, 208.567, -128.674, 191.403, -128.396, 156.432, 29.6674, 82.7074, 33.0568, 143.818 ) diff --git a/resources/accesable_miniature/Indoors/Room_small/WallS_pic.tscn b/resources/accesable_miniature/Indoors/Room_small/WallS_pic.tscn new file mode 100644 index 0000000..99f310d --- /dev/null +++ b/resources/accesable_miniature/Indoors/Room_small/WallS_pic.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://pic/imageonline-co-overlayed-image (2).png" type="Texture" id=1] + +[node name="StaticBody2D" type="StaticBody2D"] + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( -15.0733, -38.3332 ) +texture = ExtResource( 1 ) + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] +position = Vector2( 82.37, 10.3884 ) +polygon = PoolVector2Array( -129.129, 95.7312, -127.551, 42.543, 29.7945, 115.018, 30.5889, 143.389, 0.980713, 158.508 ) diff --git a/resources/accesable_miniature/Indoors/Room_small/WallS_pic2.tscn b/resources/accesable_miniature/Indoors/Room_small/WallS_pic2.tscn new file mode 100644 index 0000000..e76fb88 --- /dev/null +++ b/resources/accesable_miniature/Indoors/Room_small/WallS_pic2.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://pic/imageonline-co-overlayed-image.png" type="Texture" id=1] + +[node name="StaticBody2D" type="StaticBody2D"] + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( -15.0733, -38.3332 ) +texture = ExtResource( 1 ) + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] +position = Vector2( 82.37, 10.3884 ) +polygon = PoolVector2Array( -129.129, 95.7312, -127.551, 42.543, 29.7945, 115.018, 30.5889, 143.389, 0.980713, 158.508 ) diff --git a/resources/accesable_miniature/Indoors/Room_small/statue.tscn b/resources/accesable_miniature/Indoors/Room_small/statue.tscn new file mode 100644 index 0000000..de03ea3 --- /dev/null +++ b/resources/accesable_miniature/Indoors/Room_small/statue.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://pic/statue1.png" type="Texture" id=1] + +[node name="StaticBody2D" type="StaticBody2D"] + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 0.527588, 52.0707 ) +scale = Vector2( 0.6, 0.6 ) +texture = ExtResource( 1 ) + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] +position = Vector2( 33.4993, -40.8141 ) +polygon = PoolVector2Array( -74.5209, 164.768, -37.5215, 132.393, 4.52336, 130.711, 4.94383, 160.143, -38.2084, 185.331 ) diff --git a/resources/accesable_miniature/Indoors/art_gallery.tscn b/resources/accesable_miniature/Indoors/art_gallery.tscn index 1baa34d..0837e34 100644 --- a/resources/accesable_miniature/Indoors/art_gallery.tscn +++ b/resources/accesable_miniature/Indoors/art_gallery.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=2] +[gd_scene load_steps=21 format=2] [ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/CornerS.tscn" type="PackedScene" id=1] [ext_resource path="res://resources/tilesets/stone_walls_and_floors.tres" type="TileSet" id=2] @@ -11,6 +11,15 @@ [ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/CornerN.tscn" type="PackedScene" id=9] [ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/WallS.tscn" type="PackedScene" id=10] [ext_resource path="res://resources/characters/Player.tscn" type="PackedScene" id=11] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/doorS.tscn" type="PackedScene" id=12] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/doorW.tscn" type="PackedScene" id=13] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/WallE_pic.tscn" type="PackedScene" id=14] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/WallE_pic3.tscn" type="PackedScene" id=15] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/WallS_pic2.tscn" type="PackedScene" id=16] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/WallE_pic2.tscn" type="PackedScene" id=17] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/WallS_pic.tscn" type="PackedScene" id=18] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/statue.tscn" type="PackedScene" id=19] +[ext_resource path="res://Library/crate.tscn" type="PackedScene" id=20] [node name="Node2D" type="Node2D"] @@ -31,7 +40,7 @@ tile_data = PoolIntArray( -65537, 1, 0, -131072, 10, 0, -131071, 10, 0, -131070, [node name="YSort" type="YSort" parent="."] [node name="Player" parent="YSort" instance=ExtResource( 11 )] -position = Vector2( 1.71857, 510.845 ) +position = Vector2( 136.347, 622.997 ) [node name="Camera2D" type="Camera2D" parent="YSort/Player"] current = true @@ -68,7 +77,7 @@ position = Vector2( 584, 496 ) position = Vector2( -144, -64 ) [node name="StaticBody2D56" parent="YSort/walls" instance=ExtResource( 6 )] -position = Vector2( 95.621, 72.8195 ) +position = Vector2( 99.63, 66.5832 ) [node name="StaticBody2D2" parent="YSort/walls" instance=ExtResource( 6 )] position = Vector2( -272, 0 ) @@ -97,15 +106,6 @@ position = Vector2( -1296, 512 ) [node name="StaticBody2D5" parent="YSort/walls" instance=ExtResource( 6 )] position = Vector2( -528, 128 ) -[node name="StaticBody2D42" parent="YSort/walls" instance=ExtResource( 6 )] -position = Vector2( -486.007, 445.339 ) - -[node name="StaticBody2D43" parent="YSort/walls" instance=ExtResource( 6 )] -position = Vector2( -256.658, 325.33 ) - -[node name="StaticBody2D44" parent="YSort/walls" instance=ExtResource( 6 )] -position = Vector2( -136, 264 ) - [node name="StaticBody2D11" parent="YSort/walls" instance=ExtResource( 7 )] position = Vector2( -1352, 712 ) @@ -139,9 +139,6 @@ position = Vector2( -584, 1096 ) [node name="StaticBody2D18" parent="YSort/walls" instance=ExtResource( 7 )] position = Vector2( -456, 1160 ) -[node name="StaticBody2D19" parent="YSort/walls" instance=ExtResource( 7 )] -position = Vector2( -328, 1224 ) - [node name="StaticBody2D20" parent="YSort/walls" instance=ExtResource( 7 )] position = Vector2( -200, 1288 ) @@ -152,7 +149,7 @@ position = Vector2( 144, -48 ) position = Vector2( -208, 32 ) [node name="StaticBody2D55" parent="YSort/walls" instance=ExtResource( 10 )] -position = Vector2( -80, 96 ) +position = Vector2( -83.385, 92.1872 ) [node name="StaticBody2D22" parent="YSort/walls" instance=ExtResource( 10 )] position = Vector2( 272, 16 ) @@ -160,15 +157,9 @@ position = Vector2( 272, 16 ) [node name="StaticBody2D23" parent="YSort/walls" instance=ExtResource( 10 )] position = Vector2( 400, 80 ) -[node name="StaticBody2D51" parent="YSort/walls" instance=ExtResource( 10 )] -position = Vector2( 132.214, 280.143 ) - [node name="StaticBody2D52" parent="YSort/walls" instance=ExtResource( 10 )] position = Vector2( 354.663, 389.612 ) -[node name="StaticBody2D53" parent="YSort/walls" instance=ExtResource( 10 )] -position = Vector2( 472, 448 ) - [node name="StaticBody2D24" parent="YSort/walls" instance=ExtResource( 10 )] position = Vector2( 528, 144 ) @@ -196,9 +187,6 @@ position = Vector2( 1360, 696 ) [node name="StaticBody2D32" parent="YSort/walls" instance=ExtResource( 4 )] position = Vector2( 1232, 760 ) -[node name="StaticBody2D33" parent="YSort/walls" instance=ExtResource( 4 )] -position = Vector2( 1104, 824 ) - [node name="StaticBody2D34" parent="YSort/walls" instance=ExtResource( 4 )] position = Vector2( 976, 888 ) @@ -220,9 +208,6 @@ position = Vector2( 321.317, 726.674 ) [node name="StaticBody2D50" parent="YSort/walls" instance=ExtResource( 4 )] position = Vector2( 550.142, 602.343 ) -[node name="StaticBody2D38" parent="YSort/walls" instance=ExtResource( 4 )] -position = Vector2( 464, 1144 ) - [node name="StaticBody2D39" parent="YSort/walls" instance=ExtResource( 4 )] position = Vector2( 336, 1208 ) @@ -231,3 +216,37 @@ position = Vector2( 208, 1272 ) [node name="StaticBody2D41" parent="YSort/walls" instance=ExtResource( 4 )] position = Vector2( 208, 1272 ) + +[node name="doors" type="YSort" parent="YSort"] + +[node name="StaticBody2D" parent="YSort/doors" instance=ExtResource( 12 )] +position = Vector2( -338.806, 1221.76 ) + +[node name="StaticBody2D2" parent="YSort/doors" instance=ExtResource( 13 )] +position = Vector2( 464, 1144 ) + +[node name="StaticBody2D3" parent="YSort/doors" instance=ExtResource( 13 )] +position = Vector2( 1104, 824 ) + +[node name="walls_pic" type="YSort" parent="YSort"] + +[node name="StaticBody2D" parent="YSort/walls_pic" instance=ExtResource( 14 )] +position = Vector2( -264, 328 ) + +[node name="StaticBody2D2" parent="YSort/walls_pic" instance=ExtResource( 18 )] +position = Vector2( 241.698, 332.822 ) + +[node name="StaticBody2D3" parent="YSort/walls_pic" instance=ExtResource( 16 )] +position = Vector2( 482.248, 452.839 ) + +[node name="StaticBody2D4" parent="YSort/walls_pic" instance=ExtResource( 17 )] +position = Vector2( -489.214, 445.725 ) + +[node name="StaticBody2D5" parent="YSort/walls_pic" instance=ExtResource( 15 )] +position = Vector2( -137.907, 265.723 ) + +[node name="StaticBody2D6" parent="YSort/walls_pic" instance=ExtResource( 19 )] +position = Vector2( -3.11798, 521.227 ) + +[node name="StaticBody2D" parent="YSort" instance=ExtResource( 20 )] +position = Vector2( -2.24493, -74.0825 ) diff --git a/resources/accesable_miniature/Indoors/player_room.tscn b/resources/accesable_miniature/Indoors/player_room.tscn index 20f926b..8abc546 100644 --- a/resources/accesable_miniature/Indoors/player_room.tscn +++ b/resources/accesable_miniature/Indoors/player_room.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=2] +[gd_scene load_steps=18 format=2] [ext_resource path="res://Library/barrel.tscn" type="PackedScene" id=1] [ext_resource path="res://Library/crate.tscn" type="PackedScene" id=2] @@ -16,6 +16,7 @@ [ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/CornerW.tscn" type="PackedScene" id=14] [ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/WallE.tscn" type="PackedScene" id=15] [ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/CornerN.tscn" type="PackedScene" id=16] +[ext_resource path="res://resources/accesable_miniature/Indoors/Room_small/doorW.tscn" type="PackedScene" id=17] [node name="Node2D" type="Node2D"] @@ -92,9 +93,6 @@ position = Vector2( 592, 304 ) [node name="StaticBody2D14" parent="YSort/walls" instance=ExtResource( 6 )] position = Vector2( 464, 368 ) -[node name="StaticBody2D15" parent="YSort/walls" instance=ExtResource( 6 )] -position = Vector2( 336, 432 ) - [node name="StaticBody2D16" parent="YSort/walls" instance=ExtResource( 6 )] position = Vector2( 208, 496 ) @@ -140,7 +138,12 @@ position = Vector2( -184, 264 ) position = Vector2( -152, 280 ) [node name="Bookself6" parent="YSort/items" instance=ExtResource( 9 )] -position = Vector2( -120, 296 ) +position = Vector2( -120, 232 ) [node name="Bookself7" parent="YSort/items" instance=ExtResource( 9 )] -position = Vector2( -88, 312 ) +position = Vector2( -88, 248 ) + +[node name="doors" type="YSort" parent="YSort"] + +[node name="StaticBody2D" parent="YSort/doors" instance=ExtResource( 17 )] +position = Vector2( 336, 432 ) diff --git a/resources/accesable_miniature/art_gallery_12X16.gd b/resources/accesable_miniature/art_gallery_12X16.gd new file mode 100644 index 0000000..055d809 --- /dev/null +++ b/resources/accesable_miniature/art_gallery_12X16.gd @@ -0,0 +1,20 @@ +extends StaticBody2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_Area2D_body_entered(body): + get_tree().change_scene("res://resources/accesable_miniature/Indoors/art_gallery.tscn") diff --git a/resources/accesable_miniature/art_gallery_12X16.tscn b/resources/accesable_miniature/art_gallery_12X16.tscn index fd359db..59937f7 100644 --- a/resources/accesable_miniature/art_gallery_12X16.tscn +++ b/resources/accesable_miniature/art_gallery_12X16.tscn @@ -1,10 +1,13 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://resources/rooms/rooms.tres" type="TileSet" id=1] [ext_resource path="res://resources/tilesets/floor_carpets.tres" type="TileSet" id=2] [ext_resource path="res://resources/tilesets/display_case.tres" type="TileSet" id=3] +[ext_resource path="res://resources/transition/transition_F_T.tscn" type="PackedScene" id=4] +[ext_resource path="res://resources/accesable_miniature/art_gallery_12X16.gd" type="Script" id=5] [node name="Node2D" type="StaticBody2D"] +script = ExtResource( 5 ) [node name="Base" type="TileMap" parent="."] mode = 1 @@ -50,3 +53,40 @@ tile_set = ExtResource( 1 ) cell_size = Vector2( 256, 128 ) format = 1 tile_data = PoolIntArray( -196612, 79, 0, -196611, 48, 0, -196610, 48, 0, -196609, 48, 0, -262144, 48, 0, -262143, 48, 0, -262142, 48, 0, -262141, 48, 0, -262140, 48, 0, -262139, 48, 0, -262138, 48, 0, -262137, 48, 0, -262136, 48, 0, -262135, 48, 0, -262134, 77, 0, -131076, 48, 0, -131075, 48, 0, -131074, 48, 0, -131073, 48, 0, -196608, 45, 0, -196607, 45, 0, -196606, 45, 0, -196605, 45, 0, -196604, 45, 0, -196603, 45, 0, -196602, 45, 0, -196601, 48, 0, -196600, 48, 0, -196599, 48, 0, -196598, 48, 0, -65540, 48, 0, -65539, 48, 0, -65538, 48, 0, -65537, 48, 0, -131072, 49, 0, -131071, 49, 0, -131070, 49, 0, -131069, 49, 0, -131068, 49, 0, -131067, 49, 0, -131066, 49, 0, -131065, 48, 0, -131064, 48, 0, -131063, 48, 0, -131062, 48, 0, -4, 48, 0, -3, 48, 0, -2, 48, 0, -1, 49, 0, -65536, 49, 0, -65535, 49, 0, -65534, 49, 0, -65533, 49, 0, -65532, 49, 0, -65531, 49, 0, -65530, 49, 0, -65529, 48, 0, -65528, 48, 0, -65527, 48, 0, -65526, 48, 0, 65532, 48, 0, 65533, 45, 0, 65534, 46, 0, 65535, 42, 0, 0, 46, 0, 1, 46, 0, 2, 46, 0, 3, 46, 0, 4, 46, 0, 5, 46, 0, 6, 46, 0, 7, 49, 0, 8, 49, 0, 9, 42, 0, 10, 48, 0, 131068, 48, 0, 131069, 45, 0, 131070, 46, 0, 131071, 50, 0, 65536, 50, 0, 65537, 50, 0, 65538, 50, 0, 65539, 50, 0, 65540, 50, 0, 65541, 50, 0, 65542, 42, 0, 65543, 49, 0, 65544, 49, 0, 65545, 45, 0, 65546, 48, 0, 196604, 48, 0, 196605, 45, 0, 196606, 46, 0, 196607, 42, 0, 131072, 50, 0, 131073, 56, 0, 131074, 56, 0, 131075, 56, 0, 131076, 50, 0, 131077, 50, 0, 131078, 50, 0, 131079, 49, 0, 131080, 49, 0, 131081, 45, 0, 131082, 48, 0, 262140, 48, 0, 262141, 45, 0, 262142, 46, 0, 262143, 50, 0, 196608, 50, 0, 196609, 56, 0, 196610, 56, 0, 196611, 56, 0, 196612, 50, 0, 196613, 50, 0, 196614, 42, 0, 196615, 49, 0, 196616, 49, 0, 196617, 45, 0, 196618, 48, 0, 327676, 48, 0, 327677, 45, 0, 327678, 46, 0, 327679, 50, 0, 262144, 50, 0, 262145, 56, 0, 262146, 56, 0, 262147, 56, 0, 262148, 50, 0, 262149, 50, 0, 262150, 50, 0, 262151, 49, 0, 262152, 49, 0, 262153, 45, 0, 262154, 48, 0, 393212, 48, 0, 393213, 45, 0, 393214, 46, 0, 393215, 50, 0, 327680, 50, 0, 327681, 50, 0, 327682, 50, 0, 327683, 50, 0, 327684, 50, 0, 327685, 50, 0, 327686, 42, 0, 327687, 49, 0, 327688, 49, 0, 327689, 45, 0, 327690, 48, 0, 458748, 48, 0, 458749, 45, 0, 458750, 46, 0, 458751, 50, 0, 393216, 50, 0, 393217, 50, 0, 393218, 50, 0, 393219, 50, 0, 393220, 50, 0, 393221, 50, 0, 393222, 50, 0, 393223, 49, 0, 393224, 49, 0, 393225, 45, 0, 393226, 48, 0, 524284, 48, 0, 524285, 45, 0, 524286, 46, 0, 524287, 50, 0, 458752, 50, 0, 458753, 50, 0, 458754, 50, 0, 458755, 50, 0, 458756, 50, 0, 458757, 50, 0, 458758, 42, 0, 458759, 49, 0, 458760, 49, 0, 458761, 45, 0, 458762, 48, 0, 589820, 48, 0, 589821, 48, 0, 589822, 48, 0, 589823, 48, 0, 524288, 46, 0, 524289, 46, 0, 524290, 46, 0, 524291, 46, 0, 524292, 46, 0, 524293, 46, 0, 524294, 46, 0, 524295, 48, 0, 524296, 48, 0, 524297, 48, 0, 524298, 48, 0, 655356, 48, 0, 655357, 48, 0, 655358, 48, 0, 655359, 48, 0, 589824, 49, 0, 589825, 49, 0, 589826, 49, 0, 589827, 49, 0, 589828, 49, 0, 589829, 49, 0, 589830, 49, 0, 589831, 48, 0, 589832, 48, 0, 589833, 48, 0, 589834, 48, 0, 720892, 48, 0, 720893, 48, 0, 720894, 48, 0, 720895, 48, 0, 655360, 45, 0, 655361, 45, 0, 655362, 45, 0, 655363, 45, 0, 655364, 45, 0, 655365, 45, 0, 655366, 49, 0, 655367, 48, 0, 655368, 48, 0, 655369, 48, 0, 655370, 48, 0, 786428, 78, 0, 786429, 48, 0, 786430, 48, 0, 786431, 48, 0, 720896, 48, 0, 720897, 48, 0, 720898, 48, 0, 720899, 48, 0, 720900, 48, 0, 720901, 48, 0, 720902, 48, 0, 720903, 48, 0, 720904, 48, 0, 720905, 48, 0, 720906, 76, 0 ) + +[node name="Area2D" parent="." instance=ExtResource( 4 )] +position = Vector2( 136.471, 1945.02 ) + +[node name="Area2D2" parent="." instance=ExtResource( 4 )] +position = Vector2( 269.407, 1879.26 ) + +[node name="Area2D3" parent="." instance=ExtResource( 4 )] +position = Vector2( 397.393, 1815.62 ) + +[node name="Area2D4" parent="." instance=ExtResource( 4 )] +position = Vector2( 1549.22, 1238.59 ) + +[node name="Area2D5" parent="." instance=ExtResource( 4 )] +position = Vector2( 1679.99, 1173.49 ) + +[node name="Area2D6" parent="." instance=ExtResource( 4 )] +position = Vector2( 1809.63, 1109.51 ) + +[node name="Area2D7" parent="." instance=ExtResource( 4 )] +position = Vector2( 1040.16, 1492.98 ) + +[node name="Area2D9" parent="." instance=ExtResource( 4 )] +position = Vector2( 915.771, 1556.11 ) + +[node name="Area2D8" parent="." instance=ExtResource( 4 )] +position = Vector2( -199.993, 2024.96 ) +rotation = 1.0472 +[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D2" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D3" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D4" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D5" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D6" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D7" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D9" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D8" to="." method="_on_Area2D_body_entered"] diff --git a/resources/accesable_miniature/library_17x13.gd b/resources/accesable_miniature/library_17x13.gd new file mode 100644 index 0000000..49fb1df --- /dev/null +++ b/resources/accesable_miniature/library_17x13.gd @@ -0,0 +1,20 @@ +extends StaticBody2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_Area2D_body_entered(body): + get_tree().change_scene("res://Library/Library.tscn") diff --git a/resources/accesable_miniature/library_17x13.tscn b/resources/accesable_miniature/library_17x13.tscn index e74d68e..28b426e 100644 --- a/resources/accesable_miniature/library_17x13.tscn +++ b/resources/accesable_miniature/library_17x13.tscn @@ -1,8 +1,11 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://resources/rooms/rooms.tres" type="TileSet" id=1] +[ext_resource path="res://resources/transition/transition_F_T.tscn" type="PackedScene" id=2] +[ext_resource path="res://resources/accesable_miniature/library_17x13.gd" type="Script" id=3] [node name="StaticBody2D" type="StaticBody2D"] +script = ExtResource( 3 ) [node name="Base" type="TileMap" parent="."] position = Vector2( -100, -465.51 ) @@ -31,3 +34,24 @@ tile_set = ExtResource( 1 ) cell_size = Vector2( 256, 128 ) format = 1 tile_data = PoolIntArray( -196612, 80, 0, -196611, 80, 0, -196610, 80, 0, -196609, 80, 0, -262144, 80, 0, -262143, 80, 0, -262142, 80, 0, -262141, 80, 0, -262140, 46, 0, -262139, 80, 0, -131076, 80, 0, -131074, 80, 0, -196608, 80, 0, -196606, 80, 0, -196605, 80, 0, -196604, 80, 0, -65540, 80, 0, -65539, 43, 0, -65538, 80, 0, -65537, 43, 0, -131072, 80, 0, -131071, 43, 0, -131070, 80, 0, -131069, 80, 0, -131068, 80, 0, -131067, 43, 0, -4, 80, 0, -3, 80, 0, -2, 80, 0, -65536, 80, 0, -65534, 80, 0, -65533, 46, 0, -65532, 80, 0, 65532, 80, 0, 65533, 43, 0, 65534, 80, 0, 65535, 43, 0, 0, 80, 0, 1, 43, 0, 2, 46, 0, 3, 80, 0, 4, 80, 0, 5, 43, 0, 131068, 80, 0, 131070, 80, 0, 65536, 80, 0, 65538, 80, 0, 65539, 80, 0, 65540, 80, 0, 196604, 80, 0, 196605, 80, 0, 196606, 80, 0, 196607, 80, 0, 131072, 46, 0, 131073, 80, 0, 131074, 80, 0, 131075, 80, 0, 131076, 80, 0, 131077, 80, 0, 262140, 80, 0, 262141, 46, 0, 262142, 80, 0, 262143, 80, 0, 196608, 80, 0, 196609, 80, 0, 196610, 80, 0, 196611, 80, 0, 196612, 46, 0, 196613, 80, 0, 327676, 80, 0, 327677, 80, 0, 327678, 80, 0, 327679, 80, 0, 262144, 80, 0, 262145, 46, 0, 262146, 46, 0, 262147, 80, 0, 262148, 80, 0, 262149, 80, 0, 393212, 80, 0, 393213, 80, 0, 393214, 80, 0, 393215, 80, 0, 327680, 80, 0, 327681, 80, 0, 327682, 80, 0, 327683, 80, 0, 327684, 80, 0, 327685, 80, 0, 458748, 80, 0, 458749, 43, 0, 458750, 80, 0, 458751, 43, 0, 393216, 80, 0, 393217, 43, 0, 393218, 80, 0, 393219, 80, 0, 393220, 80, 0, 393221, 43, 0, 524284, 80, 0, 524286, 80, 0, 458752, 80, 0, 458754, 80, 0, 458755, 46, 0, 458756, 80, 0, 589820, 80, 0, 589821, 43, 0, 589822, 80, 0, 589823, 43, 0, 524288, 80, 0, 524289, 43, 0, 524290, 80, 0, 524291, 80, 0, 524292, 80, 0, 524293, 43, 0, 655356, 80, 0, 655358, 80, 0, 589824, 80, 0, 589826, 80, 0, 589827, 46, 0, 589828, 80, 0, 720892, 80, 0, 720893, 80, 0, 720894, 80, 0, 720895, 80, 0, 655360, 46, 0, 655361, 80, 0, 655362, 80, 0, 655363, 80, 0, 655364, 46, 0, 655365, 80, 0, 786428, 80, 0, 786429, 80, 0, 786430, 43, 0, 720896, 43, 0, 720898, 43, 0, 720900, 43, 0, 851965, 80, 0, 851966, 80, 0, 851967, 80, 0, 786432, 80, 0, 786433, 80, 0, 786434, 80, 0, 786435, 80, 0, 786436, 80, 0, 786437, 80, 0 ) + +[node name="Area2D" parent="." instance=ExtResource( 2 )] +position = Vector2( -493.734, 1084.08 ) + +[node name="Area2D3" parent="." instance=ExtResource( 2 )] +position = Vector2( -1070.87, 1292.73 ) +rotation = 1.0472 + +[node name="Area2D2" parent="." instance=ExtResource( 2 )] +position = Vector2( 149.658, 761.051 ) + +[node name="Area2D4" parent="." instance=ExtResource( 2 )] +position = Vector2( 909.558, 378.006 ) + +[node name="Area2D5" parent="." instance=ExtResource( 2 )] +position = Vector2( 1033.59, 315.71 ) +[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D3" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D2" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D4" to="." method="_on_Area2D_body_entered"] +[connection signal="body_entered" from="Area2D5" to="." method="_on_Area2D_body_entered"] diff --git a/resources/accesable_miniature/science_society_12X16.tscn b/resources/accesable_miniature/science_society_12X16.tscn index 4896e66..4496ab2 100644 --- a/resources/accesable_miniature/science_society_12X16.tscn +++ b/resources/accesable_miniature/science_society_12X16.tscn @@ -57,7 +57,8 @@ tile_data = PoolIntArray( -196612, 47, 0, -196611, 47, 0, -196610, 47, 0, -19660 position = Vector2( -0.0585022, 1998.98 ) [node name="Area2D3" parent="." instance=ExtResource( 3 )] -position = Vector2( -263.259, 1991.41 ) +position = Vector2( -211.964, 1946 ) +rotation = -2.09439 [node name="Area2D2" parent="." instance=ExtResource( 3 )] position = Vector2( 129.44, 1936.75 ) diff --git a/resources/characters/Player.tscn b/resources/characters/Player.tscn index 461cf12..27763a3 100644 --- a/resources/characters/Player.tscn +++ b/resources/characters/Player.tscn @@ -341,6 +341,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=16] resource_name = "run_7" length = 0.9 +loop = true tracks/0/type = "value" tracks/0/path = NodePath("Sprite:texture") tracks/0/interp = 1 diff --git a/resources/script/Player.gd b/resources/script/Player.gd index d00d1aa..de77e5c 100644 --- a/resources/script/Player.gd +++ b/resources/script/Player.gd @@ -12,24 +12,34 @@ export var friction := 500.0 onready var animationPlayer = $AnimationPlayer onready var animationTree = $AnimationTree onready var animationState = animationTree.get("parameters/playback") - +onready var lifeBar = $PlayerHealthBar # Called when the node enters the scene tree for the first time. func _ready() -> void: pass - +func save() -> Dictionary: + var save_dict = { + "filename" : get_filename(), + "parent" : get_parent().get_path(), + "pos_x": position.x, + "pos_y": position.y, + } + return save_dict # Called every frame. 'delta' is the elapsed time since the previous frame. func _physics_process(delta: float) -> void: - var input_vector := Vector2.ZERO + var input_vector = Vector2.ZERO input_vector.x = Input.get_action_strength("ui_right") - Input.get_action_strength("ui_left") input_vector.y = Input.get_action_strength("ui_down") - Input.get_action_strength("ui_up") input_vector = input_vector.normalized() - + var transformed_input_vector = Vector2.ZERO + transformed_input_vector.x = input_vector.x * 2 + transformed_input_vector.y = input_vector.y + transformed_input_vector = transformed_input_vector.normalized() if input_vector != Vector2.ZERO: animationTree.set("parameters/idle/blend_position", input_vector) animationTree.set("parameters/run/blend_position", input_vector) animationState.travel("run") - _velocity = _velocity.move_toward(input_vector * max_speed, acceleration * delta) + _velocity = _velocity.move_toward(transformed_input_vector * max_speed, acceleration * delta) else: animationState.travel("idle") _velocity = _velocity.move_toward(Vector2.ZERO, friction * delta) @@ -37,4 +47,3 @@ func _physics_process(delta: float) -> void: # warning-ignore:return_value_discarded _velocity = move_and_slide(_velocity) - diff --git a/resources/transition/transition_F_T.gd b/resources/transition/transition_F_T.gd new file mode 100644 index 0000000..df2c8d6 --- /dev/null +++ b/resources/transition/transition_F_T.gd @@ -0,0 +1,20 @@ +extends Area2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_Area2D_body_entered(body): + pass # Replace with function body. diff --git a/resources/transition/transition_F_T.tscn b/resources/transition/transition_F_T.tscn index 55c9df0..d427afe 100644 --- a/resources/transition/transition_F_T.tscn +++ b/resources/transition/transition_F_T.tscn @@ -3,4 +3,4 @@ [node name="Area2D" type="Area2D"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] -polygon = PoolVector2Array( 3.33672, 67.3938, -89.7053, 3.30646, -2.00867, -61.341, 88.863, 1.02187 ) +polygon = PoolVector2Array( -59.3991, 22.949, -97.0015, -4.55125, -2.00867, -61.341, 35.4488, -33.7352 ) diff --git a/scenes/main.gd b/scenes/main.gd index e072287..2062622 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -16,3 +16,7 @@ func _ready(): # Called every frame. 'delta' is the elapsed time since the previous frame. #func _process(delta): # pass + + +func _on_Area2D_body_entered(body): + get_tree().change_scene("res://resources/accesable_miniature/Indoors/player_room.tscn") diff --git a/scenes/main.tscn b/scenes/main.tscn index 1724402..e6e77d5 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=41 format=2] +[gd_scene load_steps=42 format=2] [ext_resource path="res://resources/tilesets/stone_walls_and_floors.tres" type="TileSet" id=1] [ext_resource path="res://resources/characters/Player.tscn" type="PackedScene" id=2] @@ -40,6 +40,7 @@ [ext_resource path="res://resources/speaking_characters/group 2.tscn" type="PackedScene" id=38] [ext_resource path="res://scenes/dialog.tscn" type="PackedScene" id=39] [ext_resource path="res://scenes/main.gd" type="Script" id=40] +[ext_resource path="res://resources/transition/transition_F_T.tscn" type="PackedScene" id=41] [node name="Node2D" type="Node2D"] script = ExtResource( 40 ) @@ -107,7 +108,7 @@ format = 1 position = Vector2( -3240.82, 3317.4 ) [node name="Player" parent="YSort" instance=ExtResource( 2 )] -position = Vector2( 3546.7, -1768.75 ) +position = Vector2( 9808.85, 1856.01 ) [node name="Camera2D" type="Camera2D" parent="YSort/Player"] position = Vector2( -2.51147, 134.556 ) @@ -742,7 +743,7 @@ position = Vector2( 5206.43, 3164.06 ) position = Vector2( 9024.88, -5734.81 ) [node name="library" parent="YSort" instance=ExtResource( 19 )] -position = Vector2( 3144.52, -4463.59 ) +position = Vector2( 3141.85, -4460.92 ) [node name="shop_2x3" parent="YSort" instance=ExtResource( 25 )] position = Vector2( 980.878, -2351.37 ) @@ -899,3 +900,8 @@ position = Vector2( 5387.8, 3297.71 ) [node name="school3" parent="YSort" instance=ExtResource( 36 )] position = Vector2( 3388.58, -6526.62 ) + +[node name="Area2D" parent="." instance=ExtResource( 41 )] +position = Vector2( 6916.3, 5517.02 ) +rotation = 1.0472 +[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]