From 686b57f7980dd8a90c59c2fbf5ab42d8be444ad6 Mon Sep 17 00:00:00 2001 From: pennyrigate Date: Fri, 15 Sep 2023 21:28:04 -0400 Subject: [PATCH] more work on lab --- maps/lab.tscn | 210 ++++++++++++++++++++++++++++++-------------- maps/test_room.tscn | 1 + 2 files changed, 144 insertions(+), 67 deletions(-) diff --git a/maps/lab.tscn b/maps/lab.tscn index 1b83b04..74ef3a6 100644 --- a/maps/lab.tscn +++ b/maps/lab.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=40 format=2] +[gd_scene load_steps=44 format=2] [ext_resource path="res://graphics/backgrounds/factory.png" type="Texture" id=1] [ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=2] @@ -33,6 +33,8 @@ [ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=31] [ext_resource path="res://objects/enemy/hellarcher.tscn" type="PackedScene" id=32] [ext_resource path="res://objects/environment/falling_block/falling_block_lab.tscn" type="PackedScene" id=33] +[ext_resource path="res://shaders/can_stain.tres" type="Material" id=34] +[ext_resource path="res://objects/environment/turniwood/turning_platform.tscn" type="PackedScene" id=35] [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 16.9355, 4.03226 ) @@ -49,6 +51,12 @@ extents = Vector2( 3.83064, 7.22781 ) [sub_resource type="RectangleShape2D" id=6] extents = Vector2( 7.15723, 4.01713 ) +[sub_resource type="RectangleShape2D" id=7] +extents = Vector2( 25.8065, 4.03226 ) + +[sub_resource type="RectangleShape2D" id=8] +extents = Vector2( 4.03226, 4.03226 ) + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 8, 128 ) @@ -72,45 +80,61 @@ __meta__ = { [node name="Camera2D" parent="." instance=ExtResource( 6 )] -[node name="Ground" type="TileMap" parent="."] +[node name="Ground" type="TileMap" parent="." groups=["can_stain"]] +light_mask = 2 +material = ExtResource( 34 ) tile_set = ExtResource( 4 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( 39, 1, 0, 65575, 1, 65536, 131111, 1, 131073, 131112, 1, 196610, 131113, 1, 196610, 131114, 1, 196610, 131115, 1, 196610, 131116, 1, 196610, 131117, 1, 196610, 131118, 1, 196610, 131119, 1, 196610, 131120, 1, 196610, 131121, 1, 3, 196657, 1, 65536, 262193, 1, 65536, 327699, 1, 0, 327729, 1, 65536, 393220, 1, 196609, 393221, 1, 196610, 393222, 1, 196611, 393235, 1, 131072, 393243, 1, 196609, 393244, 1, 196610, 393245, 1, 196610, 393246, 1, 196610, 393247, 1, 2, 393248, 1, 196610, 393249, 1, 196611, 393265, 1, 65536, 393285, 1, 196610, 393286, 1, 196610, 393287, 1, 196611, 393290, 1, 196608, 393293, 1, 196608, 393295, 1, 196609, 393296, 1, 196610, 393297, 1, 196610, 393298, 1, 196610, 393299, 1, 3, 458783, 1, 65536, 458788, 1, 196609, 458789, 1, 196610, 458790, 1, 196610, 458791, 1, 196610, 458792, 1, 196610, 458793, 1, 196610, 458794, 1, 196610, 458795, 1, 196610, 458796, 1, 196610, 458797, 1, 196610, 458798, 1, 196610, 458799, 1, 196611, 458801, 1, 131072, 458835, 1, 65536, 524319, 1, 65536, 524371, 1, 65536, 589855, 1, 65536, 589877, 1, 196609, 589878, 1, 196610, 589879, 1, 196610, 589880, 1, 196610, 589881, 1, 196610, 589882, 1, 196610, 589883, 1, 196611, 589897, 1, 1, 589898, 1, 196610, 589899, 1, 196610, 589900, 1, 3, 589903, 1, 1, 589904, 1, 196610, 589905, 1, 196610, 589906, 1, 196610, 589907, 1, 131075, 655390, 1, 196609, 655391, 1, 131075, 655432, 1, 1, 655433, 1, 131075, 655436, 1, 131073, 655437, 1, 196611, 655439, 1, 131072, 720899, 1, 0, 720916, 1, 196608, 720968, 1, 65536, 720975, -1610612732, 65536, 786435, 1, 131073, 786436, 1, 196610, 786437, 1, 196610, 786438, 1, 196610, 786439, 1, 196610, 786440, 1, 196610, 786441, 1, 196611, 786444, 1, 196609, 786445, 1, 196610, 786446, 1, 196610, 786447, 1, 196610, 786448, 1, 196610, 786449, 1, 196611, 786504, 1, 131072, 786511, -1610612732, 65536, 983077, 1, 1, 983078, 1, 196610, 983079, 1, 196610, 983080, 1, 196610, 983081, 1, 196610, 983082, 1, 196611, 983084, 1, 196608, 983087, 1, 196608, 983090, 1, 196609, 983091, 1, 196610, 983092, 1, 196610, 983093, 1, 196610, 983094, 1, 196610, 983095, 1, 196610, 983096, 1, 196610, 983097, 1, 196610, 983098, 1, 196610, 983099, 1, 196610, 983100, 1, 196610, 983101, 1, 196611, 983103, 1, 0, 1048578, 1, 196609, 1048579, 1, 196610, 1048580, 1, 3, 1048586, 1, 196609, 1048587, 1, 196611, 1048593, 1, 196609, 1048594, 1, 196610, 1048595, 1, 196611, 1048610, 1, 1, 1048611, 1, 196610, 1048612, 1, 196610, 1048613, 1, 65539, 1048639, 1, 65536, 1114116, 1, 131073, 1114117, 1, 3, 1114133, 1, 196608, 1114143, 1, 1, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 131075, 1114149, 1, 65536, 1114175, 1, 65536, 1179653, 1, 131073, 1179654, 1, 2, 1179655, 1, 3, 1179662, 1, 0, 1179677, 1, 196609, 1179678, 1, 196610, 1179679, 1, 131075, 1179685, 1, 131073, 1179686, 1, 196610, 1179687, 1, 196610, 1179688, 1, 196610, 1179689, 1, 196610, 1179690, 1, 3, 1179693, 1, 1, 1179694, 1, 196610, 1179695, 1, 196610, 1179696, 1, 3, 1179711, 1, 65536, 1245190, 1, 131073, 1245191, 1, 131074, 1245192, 1, 196610, 1245193, 1, 196610, 1245194, 1, 196610, 1245195, 1, 196610, 1245196, 1, 196610, 1245197, 1, 196610, 1245198, 1, 131074, 1245199, 1, 196610, 1245200, 1, 196611, 1245213, -1073741820, 65536, 1245226, 1, 131072, 1245228, 1, 196609, 1245229, 1, 131075, 1245232, 1, 131073, 1245233, 1, 3, 1245247, 1, 65536, 1310749, -1073741820, 65536, 1310762, -1073741820, 65536, 1310769, 1, 65536, 1310783, 1, 65536, 1376285, -1073741820, 65536, 1376298, -1073741820, 65536, 1376305, 1, 131072, 1376319, 1, 131072, 1441792, 0, 1, 1441793, 0, 2, 1441794, 0, 2, 1441795, 0, 2, 1441796, 0, 2, 1441797, 0, 2, 1441798, 0, 2, 1441799, 0, 2, 1441800, 0, 2, 1441801, 0, 2, 1441802, 0, 2, 1441803, 0, 2, 1441804, 0, 2, 1441805, 0, 2, 1441806, 0, 2, 1441807, 0, 2, 1441808, 0, 2, 1441809, 0, 2, 1441810, 0, 2, 1441811, 0, 2, 1441812, 0, 2, 1441813, 0, 2, 1441814, 0, 2, 1441815, 0, 2, 1441816, 0, 2, 1441817, 0, 2, 1441818, 0, 2, 1441819, 0, 2, 1441820, 0, 2, 1441821, 0, 2, 1441822, 0, 2, 1441823, 0, 2, 1441824, 0, 2, 1441825, 0, 2, 1441826, 0, 2, 1441827, 1610612736, 2, 1441828, 1610612736, 2, 1441829, 0, 2, 1441830, 0, 2, 1441831, 0, 2, 1441832, 0, 2, 1441833, 0, 2, 1441834, 0, 2, 1441835, 0, 2, 1441836, 0, 2, 1441837, 0, 2, 1441838, 0, 2, 1441839, 0, 2, 1441840, 0, 2, 1441841, 0, 2, 1441842, 0, 2, 1441843, 0, 2, 1441844, 0, 2, 1441845, 0, 2, 1441846, 0, 2, 1441847, 0, 2, 1441848, 0, 2, 1441849, 0, 2, 1441850, 0, 2, 1441851, 0, 2, 1441852, 0, 2, 1441853, 0, 2, 1441854, 0, 2, 1441855, 0, 2, 1441856, 0, 2, 1441857, 0, 2, 1441858, 0, 2, 1441859, 0, 2, 1441860, 0, 2, 1441861, 0, 2, 1441862, 0, 2, 1441863, 0, 2, 1441864, 0, 2, 1441865, 0, 2, 1441866, 0, 2, 1441867, 0, 2, 1441868, 0, 2, 1441869, 0, 2, 1441870, 0, 2, 1441871, 0, 2, 1441872, 0, 2, 1441873, 0, 2, 1441874, 0, 2, 1441875, 0, 2, 1441876, 0, 2, 1441877, 0, 2, 1441878, 0, 2, 1441879, 0, 2, 1441880, 0, 2, 1441881, 0, 2, 1441882, 0, 2, 1441883, 0, 2, 1441884, 0, 2, 1441885, 0, 2, 1441886, 0, 2, 1441887, 0, 3, 1507328, 1, 196609, 1507329, 1, 196610, 1507330, 1, 196610, 1507331, 1, 196610, 1507332, 1, 196610, 1507333, 1, 196610, 1507334, 1, 196610, 1507335, 1, 196610, 1507336, 1, 196610, 1507337, 1, 196610, 1507338, 1, 196610, 1507339, 1, 196610, 1507340, 1, 196610, 1507341, 1, 196610, 1507342, 1, 196610, 1507343, 1, 196610, 1507344, 1, 196610, 1507345, 1, 196610, 1507346, 1, 196610, 1507347, 1, 196610, 1507348, 1, 196610, 1507349, 1, 196610, 1507350, 1, 196610, 1507351, 1, 196610, 1507352, 1, 196610, 1507353, 1, 196610, 1507354, 1, 196610, 1507355, 1, 196610, 1507356, 1, 196610, 1507357, 1, 196610, 1507358, 1, 196610, 1507359, 1, 196610, 1507360, 1, 196610, 1507361, 1, 196610, 1507362, 1, 196610, 1507363, 1, 196610, 1507364, 1, 196610, 1507365, 1, 196610, 1507366, 1, 196610, 1507367, 1, 196610, 1507368, 1, 196610, 1507369, 1, 196610, 1507370, 1, 196610, 1507371, 1, 196610, 1507372, 1, 196610, 1507373, 1, 196610, 1507374, 1, 196610, 1507375, 1, 196610, 1507376, 1, 196610, 1507377, 1, 196610, 1507378, 1, 196610, 1507379, 1, 196610, 1507380, 1, 196610, 1507381, 1, 196610, 1507382, 1, 196610, 1507383, 1, 196610, 1507384, 1, 196610, 1507385, 1, 196610, 1507386, 1, 196610, 1507387, 1, 196610, 1507388, 1, 196610, 1507389, 1, 196610, 1507390, 1, 196610, 1507391, 1, 196610, 1507392, 1, 196610, 1507393, 1, 196610, 1507394, 1, 196610, 1507395, 1, 196610, 1507396, 1, 196610, 1507397, 1, 196610, 1507398, 1, 196610, 1507399, 1, 196610, 1507400, 1, 196610, 1507401, 1, 196610, 1507402, 1, 196610, 1507403, 1, 196610, 1507404, 1, 196610, 1507405, 1, 196610, 1507406, 1, 196610, 1507407, 1, 196610, 1507408, 1, 196610, 1507409, 1, 196610, 1507410, 1, 196610, 1507411, 1, 196610, 1507412, 1, 196610, 1507413, 1, 196610, 1507414, 1, 196610, 1507415, 1, 196610, 1507416, 1, 196610, 1507417, 1, 196610, 1507418, 1, 196610, 1507419, 1, 196610, 1507420, 1, 196610, 1507421, 1, 196610, 1507422, 1, 196610, 1507423, 1, 196611 ) +tile_data = PoolIntArray( 39, 1, 0, 46, 1, 0, 88, 1, 0, 65575, 1, 65536, 65582, 1, 65536, 65583, 4, 65536, 65584, 4, 65536, 65585, 4, 65536, 65586, 4, 65536, 65587, 1, 196609, 65588, 1, 196610, 65589, 1, 196610, 65590, 1, 196610, 65591, 1, 196610, 65592, 1, 196610, 65593, 1, 196610, 65594, 1, 196611, 65624, 1, 65536, 131111, 1, 131073, 131112, 1, 196610, 131113, 1, 196610, 131114, 1, 196610, 131115, 1, 196610, 131116, 1, 196610, 131117, 1, 196610, 131118, 1, 65539, 131160, 1, 65536, 196654, 1, 65536, 196696, 1, 65536, 262190, 1, 131073, 262191, 1, 196610, 262192, 1, 196610, 262193, 1, 2, 262194, 1, 196610, 262195, 1, 196611, 262205, 1, 1, 262206, 1, 196610, 262207, 1, 196610, 262208, 1, 196611, 262213, 1, 196609, 262214, 1, 196610, 262215, 1, 196610, 262216, 1, 196610, 262217, 1, 196611, 262232, 1, 65536, 327699, 1, 0, 327729, 1, 65536, 327741, 1, 65536, 327765, 1, 196609, 327766, 1, 196610, 327767, 1, 196610, 327768, 1, 131075, 393220, 1, 196609, 393221, 1, 196610, 393222, 1, 196611, 393235, 1, 131072, 393243, 1, 196609, 393244, 1, 196610, 393245, 1, 196610, 393246, 1, 196610, 393247, 1, 2, 393248, 1, 196610, 393249, 1, 196611, 393265, 1, 131073, 393266, 1, 196610, 393267, 1, 196610, 393268, 1, 196610, 393269, 1, 196610, 393270, 1, 196610, 393271, 1, 196610, 393272, 1, 196610, 393273, 1, 196610, 393274, 1, 196610, 393275, 1, 196610, 393276, 1, 196610, 393277, 1, 131075, 458783, 1, 65536, 458788, 1, 196609, 458789, 1, 196610, 458790, 1, 196610, 458791, 1, 196610, 458792, 1, 196610, 458793, 1, 196610, 458794, 1, 196610, 458795, 1, 196610, 458796, 1, 196610, 458797, 1, 196610, 458798, 1, 196610, 458799, 1, 196611, 524319, 1, 65536, 524361, 1, 0, 589855, 1, 65536, 589877, 1, 196609, 589878, 1, 196610, 589879, 1, 196610, 589880, 1, 196610, 589881, 1, 196610, 589882, 1, 196610, 589883, 1, 196611, 589896, 1, 1, 589897, 1, 65539, 589908, 1, 196609, 589909, 1, 196610, 589910, 1, 196610, 589911, 1, 196610, 589912, 1, 196610, 589913, 1, 196610, 589914, 1, 196610, 589915, 1, 196610, 589916, 1, 196611, 655390, 1, 196609, 655391, 1, 131075, 655431, 1, 196609, 655432, 1, 131074, 655433, 1, 131074, 655434, 1, 196611, 720899, 1, 0, 720916, 1, 196608, 786435, 1, 131073, 786436, 1, 196610, 786437, 1, 196610, 786438, 1, 196610, 786439, 1, 196610, 786440, 1, 196610, 786441, 1, 196611, 786444, 1, 196609, 786445, 1, 196610, 786446, 1, 196610, 786447, 1, 196610, 786448, 1, 196610, 786449, 1, 196611, 852038, 1, 0, 917573, 1, 1, 917574, 1, 131074, 917575, 1, 196610, 917576, 1, 196610, 917577, 1, 196610, 917578, 1, 196610, 917579, 1, 196610, 917580, 1, 196610, 917581, 1, 196610, 917582, 1, 196610, 917583, 1, 196610, 917584, 1, 196610, 917585, 1, 196610, 917586, 1, 196610, 917587, 1, 196610, 917588, 1, 196611, 983077, 1, 1, 983078, 1, 196610, 983079, 1, 196610, 983080, 1, 196610, 983081, 1, 196610, 983082, 1, 196611, 983084, 1, 196608, 983087, 1, 196608, 983090, 1, 196609, 983091, 1, 196610, 983092, 1, 196610, 983093, 1, 196610, 983094, 1, 196610, 983095, 1, 196610, 983096, 1, 196610, 983097, 1, 196610, 983098, 1, 196610, 983099, 1, 196610, 983100, 1, 196610, 983101, 1, 196611, 983103, 1, 1, 983104, 1, 196610, 983105, 1, 196610, 983106, 1, 196610, 983107, 1, 196610, 983108, 1, 196610, 983109, 1, 131075, 1048578, 1, 196609, 1048579, 1, 196610, 1048580, 1, 3, 1048586, 1, 196609, 1048587, 1, 196611, 1048593, 1, 196609, 1048594, 1, 196610, 1048595, 1, 196611, 1048610, 1, 1, 1048611, 1, 196610, 1048612, 1, 196610, 1048613, 1, 65539, 1048639, 1, 65536, 1114116, 1, 131073, 1114117, 1, 3, 1114133, 1, 196608, 1114143, 1, 1, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 131075, 1114149, 1, 65536, 1114175, 1, 65536, 1179653, 1, 131073, 1179654, 1, 2, 1179655, 1, 3, 1179662, 1, 0, 1179677, 1, 196609, 1179678, 1, 196610, 1179679, 1, 131075, 1179685, 1, 131073, 1179686, 1, 196610, 1179687, 1, 196610, 1179688, 1, 196610, 1179689, 1, 196610, 1179690, 1, 3, 1179693, 1, 1, 1179694, 1, 196610, 1179695, 1, 196610, 1179696, 1, 3, 1179711, 1, 131072, 1245190, 1, 131073, 1245191, 1, 131074, 1245192, 1, 196610, 1245193, 1, 196610, 1245194, 1, 196610, 1245195, 1, 196610, 1245196, 1, 196610, 1245197, 1, 196610, 1245198, 1, 131074, 1245199, 1, 196610, 1245200, 1, 196611, 1245213, -1073741820, 65536, 1245226, 1, 131072, 1245228, 1, 196609, 1245229, 1, 131075, 1245232, 1, 131073, 1245233, 1, 3, 1310749, -1073741820, 65536, 1310762, -1073741820, 65536, 1310769, 1, 65536, 1376285, -1073741820, 65536, 1376298, -1073741820, 65536, 1376305, 1, 131072, 1441792, 0, 1, 1441793, 0, 2, 1441794, 0, 2, 1441795, 0, 2, 1441796, 0, 2, 1441797, 0, 2, 1441798, 0, 2, 1441799, 0, 2, 1441800, 0, 2, 1441801, 0, 2, 1441802, 0, 2, 1441803, 0, 2, 1441804, 0, 2, 1441805, 0, 2, 1441806, 0, 2, 1441807, 0, 2, 1441808, 0, 2, 1441809, 0, 2, 1441810, 0, 2, 1441811, 0, 2, 1441812, 0, 2, 1441813, 0, 2, 1441814, 0, 2, 1441815, 0, 2, 1441816, 0, 2, 1441817, 0, 2, 1441818, 0, 2, 1441819, 0, 2, 1441820, 0, 2, 1441821, 0, 2, 1441822, 0, 2, 1441823, 0, 2, 1441824, 0, 2, 1441825, 0, 2, 1441826, 0, 2, 1441827, 1610612736, 2, 1441828, 1610612736, 2, 1441829, 0, 2, 1441830, 0, 2, 1441831, 0, 2, 1441832, 0, 2, 1441833, 0, 2, 1441834, 0, 2, 1441835, 0, 2, 1441836, 0, 2, 1441837, 0, 2, 1441838, 0, 2, 1441839, 0, 2, 1441840, 0, 2, 1441841, 0, 2, 1441842, 0, 2, 1441843, 0, 2, 1441844, 0, 2, 1441845, 0, 2, 1441846, 0, 2, 1441847, 0, 2, 1441848, 0, 2, 1441849, 0, 2, 1441850, 0, 2, 1441851, 0, 2, 1441852, 0, 2, 1441853, 0, 2, 1441854, 0, 2, 1441855, 0, 2, 1441856, 0, 2, 1441857, 0, 2, 1441858, 0, 2, 1441859, 0, 2, 1441860, 0, 2, 1441861, 0, 2, 1441862, 0, 2, 1441863, 0, 2, 1441864, 0, 2, 1441865, 0, 2, 1441866, 0, 2, 1441867, 0, 2, 1441868, 0, 2, 1441869, 0, 2, 1441870, 0, 2, 1441871, 0, 2, 1441872, 0, 2, 1441873, 0, 2, 1441874, 0, 2, 1441875, 0, 2, 1441876, 0, 2, 1441877, 0, 2, 1441878, 0, 2, 1441879, 0, 2, 1441880, 0, 2, 1441881, 0, 2, 1441882, 0, 2, 1441883, 0, 2, 1441884, 0, 2, 1441885, 0, 2, 1441886, 0, 2, 1441887, 0, 3, 1507328, 1, 196609, 1507329, 1, 196610, 1507330, 1, 196610, 1507331, 1, 196610, 1507332, 1, 196610, 1507333, 1, 196610, 1507334, 1, 196610, 1507335, 1, 196610, 1507336, 1, 196610, 1507337, 1, 196610, 1507338, 1, 196610, 1507339, 1, 196610, 1507340, 1, 196610, 1507341, 1, 196610, 1507342, 1, 196610, 1507343, 1, 196610, 1507344, 1, 196610, 1507345, 1, 196610, 1507346, 1, 196610, 1507347, 1, 196610, 1507348, 1, 196610, 1507349, 1, 196610, 1507350, 1, 196610, 1507351, 1, 196610, 1507352, 1, 196610, 1507353, 1, 196610, 1507354, 1, 196610, 1507355, 1, 196610, 1507356, 1, 196610, 1507357, 1, 196610, 1507358, 1, 196610, 1507359, 1, 196610, 1507360, 1, 196610, 1507361, 1, 196610, 1507362, 1, 196610, 1507363, 1, 196610, 1507364, 1, 196610, 1507365, 1, 196610, 1507366, 1, 196610, 1507367, 1, 196610, 1507368, 1, 196610, 1507369, 1, 196610, 1507370, 1, 196610, 1507371, 1, 196610, 1507372, 1, 196610, 1507373, 1, 196610, 1507374, 1, 196610, 1507375, 1, 196610, 1507376, 1, 196610, 1507377, 1, 196610, 1507378, 1, 196610, 1507379, 1, 196610, 1507380, 1, 196610, 1507381, 1, 196610, 1507382, 1, 196610, 1507383, 1, 196610, 1507384, 1, 196610, 1507385, 1, 196610, 1507386, 1, 196610, 1507387, 1, 196610, 1507388, 1, 196610, 1507389, 1, 196610, 1507390, 1, 196610, 1507391, 1, 196610, 1507392, 1, 196610, 1507393, 1, 196610, 1507394, 1, 196610, 1507395, 1, 196610, 1507396, 1, 196610, 1507397, 1, 196610, 1507398, 1, 196610, 1507399, 1, 196610, 1507400, 1, 196610, 1507401, 1, 196610, 1507402, 1, 196610, 1507403, 1, 196610, 1507404, 1, 196610, 1507405, 1, 196610, 1507406, 1, 196610, 1507407, 1, 196610, 1507408, 1, 196610, 1507409, 1, 196610, 1507410, 1, 196610, 1507411, 1, 196610, 1507412, 1, 196610, 1507413, 1, 196610, 1507414, 1, 196610, 1507415, 1, 196610, 1507416, 1, 196610, 1507417, 1, 196610, 1507418, 1, 196610, 1507419, 1, 196610, 1507420, 1, 196610, 1507421, 1, 196610, 1507422, 1, 196610, 1507423, 1, 196611 ) -[node name="ElectricTiles" parent="." instance=ExtResource( 28 )] +[node name="ElectricTiles" parent="." groups=["can_stain"] instance=ExtResource( 28 )] +light_mask = 2 position = Vector2( -152, 16 ) -tile_data = PoolIntArray( 262172, 2, 196609, 262173, 2, 196610, 262174, 2, 196610, 262175, 2, 196610, 262176, 2, 196611, 786436, 2, 196609, 786437, 2, 196610, 786438, 2, 196610, 786439, 2, 196610, 786440, 2, 196610, 786441, 2, 196611, 1048586, 2, 196609, 1048587, 2, 196611, 1114154, 2, 1, 1114155, 2, 2, 1114156, 2, 3, 1179689, 2, 1, 1179690, 2, 65538, 1179691, 2, 65538, 1179692, 2, 65538, 1179693, 2, 3, 1245223, 1, 196608, 1245224, 2, 196609, 1245225, 2, 131074, 1245226, 2, 131074, 1245227, 2, 131074, 1245228, 2, 131074, 1245229, 2, 131075 ) +tile_data = PoolIntArray( 131172, 2, 196608, 262172, 2, 196609, 262173, 2, 196610, 262174, 2, 196610, 262175, 2, 196610, 262176, 2, 196611, 786436, 2, 196609, 786437, 2, 196610, 786438, 2, 196610, 786439, 2, 196610, 786440, 2, 196610, 786441, 2, 196611, 786523, 2, 196609, 786524, 2, 196610, 786525, 2, 196610, 786526, 2, 196610, 786527, 2, 196610, 786528, 2, 196610, 786529, 2, 196610, 786530, 2, 196611, 1048586, 2, 196609, 1048587, 2, 196611, 1114154, 2, 1, 1114155, 2, 2, 1114156, 2, 3, 1179689, 2, 1, 1179690, 2, 65538, 1179691, 2, 65538, 1179692, 2, 65538, 1179693, 2, 3, 1245223, 1, 196608, 1245224, 2, 196609, 1245225, 2, 131074, 1245226, 2, 131074, 1245227, 2, 131074, 1245228, 2, 131074, 1245229, 2, 131075 ) [node name="CollisionShape2D" parent="ElectricTiles/DeathTile" index="0"] position = Vector2( -31.4516, -28.2258 ) [node name="CollisionShape2D2" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="1"] position = Vector2( 94.3548, -105.645 ) -scale = Vector2( 1, 1 ) shape = SubResource( 2 ) [node name="CollisionShape2D3" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="2"] position = Vector2( 178.226, -15.3831 ) -scale = Vector2( 1, 1 ) shape = SubResource( 3 ) [node name="CollisionShape2D4" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="3"] position = Vector2( 191.532, -12.1573 ) -scale = Vector2( 1, 1 ) shape = SubResource( 4 ) [node name="CollisionShape2D5" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="4"] position = Vector2( 165.121, -12.127 ) -scale = Vector2( 1, 1 ) shape = SubResource( 5 ) [node name="CollisionShape2D6" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="5"] position = Vector2( 155.544, -8.88611 ) -scale = Vector2( 1, 1 ) shape = SubResource( 6 ) +[node name="CollisionShape2D7" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="6"] +position = Vector2( 510.484, -54.0323 ) +scale = Vector2( 1, 1 ) +shape = SubResource( 7 ) + +[node name="CollisionShape2D8" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="7"] +position = Vector2( 716.935, -57.2581 ) +shape = SubResource( 7 ) + +[node name="CollisionShape2D9" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="8"] +position = Vector2( 742.742, -83.0645 ) +shape = SubResource( 7 ) + +[node name="CollisionShape2D10" type="CollisionShape2D" parent="ElectricTiles/DeathTile" index="9"] +position = Vector2( 545.968, -118.548 ) +scale = Vector2( 1, 1 ) +shape = SubResource( 8 ) + [node name="Player" parent="." instance=ExtResource( 26 )] position = Vector2( 32, 176 ) @@ -119,7 +143,7 @@ tile_set = ExtResource( 9 ) cell_size = Vector2( 8, 8 ) collision_layer = 32 format = 1 -tile_data = PoolIntArray( 393230, 12, 0, 393231, 12, 0, 393232, 12, 0, 393233, 12, 0, 393234, 12, 0, 393252, 1, 0, 655384, 12, 0, 655394, 12, 0, 720902, 1, 0, 720905, 1, 0, 720913, 1, 0, 786453, 12, 0, 786454, 12, 0, 786455, 12, 0, 786457, 12, 0, 786458, 12, 0, 786459, 12, 0, 786460, 12, 0, 851996, 12, 0, 852003, 12, 0, 917532, 12, 0, 917533, 12, 0, 983083, 12, 0, 983085, 12, 0, 983086, 12, 0, 983088, 12, 0, 983089, 1610612748, 0, 1048627, 1610612737, 0, 1048628, 1610612737, 0, 1376310, 1, 0, 1376315, 1, 0, 2031608, 9, 0, 2031609, 6, 0, 2031610, 9, 0, 2031611, 6, 0, 2031612, 9, 0, 2097144, 6, 0, 2097145, 9, 0, 2097146, 6, 0, 2097147, 9, 0, 2097148, 6, 0, 2162680, 9, 0, 2162681, 6, 0, 2162682, 9, 0, 2162683, 6, 0, 2162684, 9, 0, 2228216, 6, 0, 2228217, 9, 0, 2228218, 6, 0, 2228219, 9, 0, 2228220, 6, 0, 2293752, 9, 0, 2293753, 6, 0, 2293754, 9, 0, 2293755, 6, 0, 2293756, 9, 0 ) +tile_data = PoolIntArray( 196682, 12, 0, 262211, 12, 0, 262218, 12, 0, 262220, 12, 0, 262221, 12, 0, 262223, 12, 0, 327754, 12, 0, 327756, 12, 0, 327757, 12, 0, 327759, 12, 0, 327760, 12, 0, 327761, 12, 0, 327762, 12, 0, 327763, 12, 0, 327764, 12, 0, 393230, 12, 0, 393231, 12, 0, 393232, 12, 0, 393233, 12, 0, 393234, 12, 0, 393252, 1, 0, 458818, 12, 0, 655384, 12, 0, 655427, 12, 0, 655436, 12, 0, 655439, 12, 0, 655442, 12, 0, 720902, 1, 0, 720905, 1, 0, 720913, 1, 0, 786453, 12, 0, 786454, 12, 0, 786455, 12, 0, 786457, 12, 0, 786458, 12, 0, 786459, 12, 0, 786460, 12, 0, 851996, 12, 0, 917532, 12, 0, 917533, 12, 0, 983083, 12, 0, 983085, 12, 0, 983086, 12, 0, 983088, 12, 0, 983089, 1610612748, 0, 1048627, 1610612737, 0, 1048628, 1610612737, 0, 1376310, 1, 0, 1376315, 1, 0, 2031608, 9, 0, 2031609, 6, 0, 2031610, 9, 0, 2031611, 6, 0, 2031612, 9, 0, 2097144, 6, 0, 2097145, 9, 0, 2097146, 6, 0, 2097147, 9, 0, 2097148, 6, 0, 2162680, 9, 0, 2162681, 6, 0, 2162682, 9, 0, 2162683, 6, 0, 2162684, 9, 0, 2228216, 6, 0, 2228217, 9, 0, 2228218, 6, 0, 2228219, 9, 0, 2228220, 6, 0, 2293752, 9, 0, 2293753, 6, 0, 2293754, 9, 0, 2293755, 6, 0, 2293756, 9, 0 ) [node name="Ladder" type="TileMap" parent="."] tile_set = ExtResource( 21 ) @@ -167,6 +191,19 @@ radius = 3.0 initial_angle = 4.0 speed = 4.5 +[node name="ArtificialSoul2" parent="Enemies" instance=ExtResource( 15 )] +position = Vector2( 632, 56 ) +__meta__ = { +"_edit_group_": true +} +radius = 3.0 +speed = 4.0 + +[node name="ArtificialSoul5" parent="Enemies/ArtificialSoul2" instance=ExtResource( 15 )] +radius = 3.0 +initial_angle = 4.0 +speed = 4.0 + [node name="Bat" parent="Enemies" instance=ExtResource( 8 )] position = Vector2( 8, 136 ) left_up_boundary = 5.0 @@ -210,6 +247,74 @@ scale = Vector2( -1, 1 ) shoot_time = 0.75 arrow_speed = 100.0 +[node name="Hellarcher3" parent="Enemies" instance=ExtResource( 32 )] +position = Vector2( 736, 64 ) +scale = Vector2( -1, 1 ) +arrow_speed = 200.0 + +[node name="JumpingSpider" parent="Enemies" instance=ExtResource( 13 )] +position = Vector2( 64, 276 ) + +[node name="Roboturret" parent="Enemies" instance=ExtResource( 16 )] +position = Vector2( 96, 280 ) + +[node name="Roboturret3" parent="Enemies" instance=ExtResource( 16 )] +position = Vector2( 112, 88 ) +arrow_speed = 100.0 + +[node name="Roboturret5" parent="Enemies" instance=ExtResource( 16 )] +position = Vector2( 656, 104 ) +arrow_speed = 100.0 + +[node name="Roboturret4" parent="Enemies" instance=ExtResource( 16 )] +position = Vector2( 408, 40 ) +scale = Vector2( -1, 1 ) +shoot_time = 0.5 + +[node name="RollingFiend4" parent="Enemies" instance=ExtResource( 11 )] +position = Vector2( 136, 272 ) + +[node name="Snail" parent="Enemies" instance=ExtResource( 12 )] +position = Vector2( 88, 40 ) +left_up_boundary = 2.0 +right_down_boundary = 2.0 + +[node name="Spider" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 64, 304 ) + +[node name="Spider2" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 336, 24 ) +speed = 60.0 +down_boundary = 3 + +[node name="Spider3" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 424, 80 ) +speed = 40.0 +down_boundary = 4 + +[node name="Spider5" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 448, 80 ) +speed = 40.0 +down_boundary = 4 + +[node name="Spider7" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 472, 80 ) +speed = 40.0 +down_boundary = 4 + +[node name="Snake" parent="Enemies" instance=ExtResource( 7 )] +position = Vector2( 456, 168 ) +left_up_boundary = 4.0 +right_down_boundary = 4.0 +speed = 80 + +[node name="SuperSlime" parent="Enemies" instance=ExtResource( 5 )] +position = Vector2( 88, 320 ) + +[node name="Tin" parent="Enemies" instance=ExtResource( 20 )] +position = Vector2( 160, 168 ) +up_boundary = 5.0 + [node name="Platforms" type="Node2D" parent="."] [node name="Ladder" parent="Platforms" instance=ExtResource( 3 )] @@ -233,10 +338,10 @@ speed = 40 right_down_boundary = 5.0 [node name="MovingPlatform4" parent="Platforms" instance=ExtResource( 27 )] -position = Vector2( 280, 120 ) +position = Vector2( 536, 104 ) scale = Vector2( 2, 1 ) speed = 40 -left_up_boundary = 4.0 +left_up_boundary = 8.0 right_down_boundary = 1.0 move_direction = 1 @@ -260,9 +365,26 @@ position = Vector2( 144, 48 ) [node name="FallingBlock4" parent="Platforms" instance=ExtResource( 33 )] position = Vector2( 216, 80 ) +[node name="FallingBlock6" parent="Platforms" instance=ExtResource( 33 )] +position = Vector2( 600, 40 ) + +[node name="FallingBlock7" parent="Platforms" instance=ExtResource( 33 )] +position = Vector2( 624, 40 ) + [node name="FallingBlock5" parent="Platforms" instance=ExtResource( 33 )] position = Vector2( 136, 152 ) +[node name="FallingBlock8" parent="Platforms" instance=ExtResource( 33 )] +position = Vector2( 632, 72 ) + +[node name="TurningPlatform" parent="Platforms" instance=ExtResource( 35 )] +position = Vector2( 608, 72 ) +time = 45.0 + +[node name="TurningPlatform3" parent="Platforms" instance=ExtResource( 35 )] +position = Vector2( 656, 72 ) +time = 45.0 + [node name="Collectibles" type="Node2D" parent="."] [node name="Key" parent="Collectibles" instance=ExtResource( 29 )] @@ -363,6 +485,14 @@ position = Vector2( 88, 144 ) [node name="Star3" parent="Collectibles" instance=ExtResource( 30 )] position = Vector2( 368, 168 ) +color = 1 + +[node name="Star" parent="Collectibles" instance=ExtResource( 30 )] +position = Vector2( 688, 32 ) +color = 3 + +[node name="Star4" parent="Collectibles" instance=ExtResource( 30 )] +position = Vector2( 384, 24 ) color = 2 [node name="ColorRect2" type="ColorRect" parent="."] @@ -393,59 +523,5 @@ color = Color( 0, 0, 0, 1 ) [node name="HUD" parent="." instance=ExtResource( 2 )] song_name = "♫Rumble" -[node name="JumpingSpider" parent="." instance=ExtResource( 13 )] -position = Vector2( 64, 276 ) - -[node name="Roboturret" parent="." instance=ExtResource( 16 )] -position = Vector2( 96, 280 ) - -[node name="Roboturret3" parent="." instance=ExtResource( 16 )] -position = Vector2( 112, 88 ) -arrow_speed = 100.0 - -[node name="RollingFiend" parent="." instance=ExtResource( 11 )] -position = Vector2( 136, 272 ) - -[node name="Snail" parent="." instance=ExtResource( 12 )] -position = Vector2( 88, 40 ) -left_up_boundary = 2.0 -right_down_boundary = 2.0 - -[node name="Spider" parent="." instance=ExtResource( 10 )] -position = Vector2( 64, 304 ) - -[node name="Spider2" parent="." instance=ExtResource( 10 )] -position = Vector2( 336, 24 ) -speed = 60.0 -down_boundary = 3 - -[node name="Spider3" parent="." instance=ExtResource( 10 )] -position = Vector2( 424, 80 ) -speed = 40.0 -down_boundary = 4 - -[node name="Spider5" parent="." instance=ExtResource( 10 )] -position = Vector2( 448, 80 ) -speed = 40.0 -down_boundary = 4 - -[node name="Spider7" parent="." instance=ExtResource( 10 )] -position = Vector2( 472, 80 ) -speed = 40.0 -down_boundary = 4 - -[node name="Snake" parent="." instance=ExtResource( 7 )] -position = Vector2( 456, 168 ) -left_up_boundary = 6.0 -right_down_boundary = 4.0 -speed = 100 - -[node name="SuperSlime" parent="." instance=ExtResource( 5 )] -position = Vector2( 88, 320 ) - -[node name="Tin" parent="." instance=ExtResource( 20 )] -position = Vector2( 160, 168 ) -up_boundary = 5.0 - [editable path="ElectricTiles"] [editable path="ElectricTiles/DeathTile"] diff --git a/maps/test_room.tscn b/maps/test_room.tscn index 03a1015..25dc037 100644 --- a/maps/test_room.tscn +++ b/maps/test_room.tscn @@ -122,6 +122,7 @@ position = Vector2( 48, 120 ) [node name="AnimatedSprite" parent="RollingFiend" index="0"] visible = false +frame = 1 [node name="SawTest2" type="AnimatedSprite" parent="RollingFiend"] material = SubResource( 4 )