diff --git a/graphics/tiles/blood.tres b/graphics/tiles/blood.tres new file mode 100644 index 0000000..2b5aba1 --- /dev/null +++ b/graphics/tiles/blood.tres @@ -0,0 +1,14 @@ +[gd_resource type="AnimatedTexture" load_steps=4 format=2] + +[ext_resource path="res://graphics/tiles/blood_2.png" type="Texture" id=1] +[ext_resource path="res://graphics/tiles/blood_1.png" type="Texture" id=2] +[ext_resource path="res://graphics/tiles/blood_3.png" type="Texture" id=3] + +[resource] +frames = 3 +fps = 5.0 +frame_0/texture = ExtResource( 2 ) +frame_1/texture = ExtResource( 1 ) +frame_1/delay_sec = 0.0 +frame_2/texture = ExtResource( 3 ) +frame_2/delay_sec = 0.0 diff --git a/graphics/tiles/blood_1.png b/graphics/tiles/blood_1.png new file mode 100644 index 0000000..e6d8b5d Binary files /dev/null and b/graphics/tiles/blood_1.png differ diff --git a/graphics/tiles/blood_1.png.import b/graphics/tiles/blood_1.png.import new file mode 100644 index 0000000..4ac3023 --- /dev/null +++ b/graphics/tiles/blood_1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/blood_1.png-39180aea054e22e31e47ee01e0b988d7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/tiles/blood_1.png" +dest_files=[ "res://.import/blood_1.png-39180aea054e22e31e47ee01e0b988d7.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=false +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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/graphics/tiles/blood_2.png b/graphics/tiles/blood_2.png new file mode 100644 index 0000000..2035ed2 Binary files /dev/null and b/graphics/tiles/blood_2.png differ diff --git a/graphics/tiles/blood_2.png.import b/graphics/tiles/blood_2.png.import new file mode 100644 index 0000000..4211646 --- /dev/null +++ b/graphics/tiles/blood_2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/blood_2.png-c233b28b4b2ace092d9a614d5bbc9eaa.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/tiles/blood_2.png" +dest_files=[ "res://.import/blood_2.png-c233b28b4b2ace092d9a614d5bbc9eaa.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=false +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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/graphics/tiles/blood_3.png b/graphics/tiles/blood_3.png new file mode 100644 index 0000000..3ef40ab Binary files /dev/null and b/graphics/tiles/blood_3.png differ diff --git a/graphics/tiles/blood_3.png.import b/graphics/tiles/blood_3.png.import new file mode 100644 index 0000000..fc129e8 --- /dev/null +++ b/graphics/tiles/blood_3.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/blood_3.png-bbe729359966ca836d1b7b1cd1f2cb01.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/tiles/blood_3.png" +dest_files=[ "res://.import/blood_3.png-bbe729359966ca836d1b7b1cd1f2cb01.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=false +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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/graphics/tiles/blood_bottom.png b/graphics/tiles/blood_bottom.png new file mode 100644 index 0000000..a1e0e3c Binary files /dev/null and b/graphics/tiles/blood_bottom.png differ diff --git a/graphics/tiles/blood_bottom.png.import b/graphics/tiles/blood_bottom.png.import new file mode 100644 index 0000000..fef8bf4 --- /dev/null +++ b/graphics/tiles/blood_bottom.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/blood_bottom.png-d8a7fe91e8209fe74adce2bd66715ed1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/tiles/blood_bottom.png" +dest_files=[ "res://.import/blood_bottom.png-d8a7fe91e8209fe74adce2bd66715ed1.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=false +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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/maps/graveyard.tscn b/maps/graveyard.tscn index 35a85ac..cc3aa62 100644 --- a/maps/graveyard.tscn +++ b/maps/graveyard.tscn @@ -1,10 +1,16 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=12 format=2] [ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1] [ext_resource path="res://maps/map.gd" type="Script" id=2] [ext_resource path="res://graphics/backgrounds/factory.png" type="Texture" id=3] [ext_resource path="res://tilesets/t_horror.tres" type="TileSet" id=4] -[ext_resource path="res://objects/enemy/artificial_soul.tscn" type="PackedScene" id=5] +[ext_resource path="res://scripts/delete_on_game_running.gd" type="Script" id=5] +[ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=6] +[ext_resource path="res://objects/environment/rock/rock.tscn" type="PackedScene" id=7] +[ext_resource path="res://objects/enemy/artificial_soul.tscn" type="PackedScene" id=8] +[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=9] +[ext_resource path="res://objects/environment/ladder/ladder.tscn" type="PackedScene" id=10] +[ext_resource path="res://objects/enemy/bat.tscn" type="PackedScene" id=11] [node name="Map" type="Node2D" groups=["map"]] pause_mode = 1 @@ -17,15 +23,74 @@ layer = -1 [node name="Sprite" type="Sprite" parent="Background"] position = Vector2( 128, 96 ) texture = ExtResource( 3 ) - -[node name="Ghost" parent="." instance=ExtResource( 5 )] -position = Vector2( 128, 128 ) +__meta__ = { +"_edit_lock_": true +} [node name="TileMap" type="TileMap" parent="."] tile_set = ExtResource( 4 ) cell_size = Vector2( 8, 8 ) format = 1 -tile_data = PoolIntArray( 1179671, 3, 1, 1179672, 3, 1, 1245208, 3, 1, 1310744, 3, 1, 1376262, 2, 0, 1376264, 2, 65536, 1376265, 2, 65536, 1376266, 2, 65536, 1376268, 2, 65539, 1376270, 2, 65536, 1376271, 2, 65536, 1376272, 3, 1, 1376273, 3, 1, 1376274, 3, 1, 1376275, 3, 1, 1376276, 3, 1, 1376277, 3, 1, 1376278, 3, 1, 1376279, 3, 1, 1376280, 3, 1, 1376281, 2, 65537, 1376283, 2, 65536, 1376284, 2, 65536, 1376285, 2, 65536, 1376286, 2, 65536, 1376287, 2, 65536, 1507326, 1, 1, 1507327, 1, 2, 1441792, 1, 2, 1441793, 1, 2, 1441794, 1, 2, 1441795, 1, 2, 1441796, 1, 2, 1441797, 1, 2, 1441798, 1, 2, 1441799, 1, 2, 1441800, 1, 2, 1441801, 1, 2, 1441802, 1, 2, 1441803, 1, 2, 1441804, 1, 2, 1441805, 1, 2, 1441806, 1, 2, 1441807, 1, 2, 1441808, 1, 2, 1441809, 1, 2, 1441810, 1, 2, 1441811, 1, 2, 1441812, 1, 2, 1441813, 1, 2, 1441814, 1, 2, 1441815, 1, 2, 1441816, 1, 2, 1441817, 1, 2, 1441818, 1, 2, 1441819, 1, 2, 1441820, 1, 2, 1441821, 1, 2, 1441822, 1, 2, 1441823, 1, 2, 1441824, 1, 2, 1441825, 1, 2, 1441826, 1, 3, 1572862, 1, 131073, 1572863, 1, 65538, 1507328, 1, 65538, 1507329, 1, 65538, 1507330, 1, 65538, 1507331, 1, 65538, 1507332, 1, 65538, 1507333, 1, 65538, 1507334, 1, 65538, 1507335, 1, 65538, 1507336, 1, 65538, 1507337, 1, 65538, 1507338, 1, 65538, 1507339, 1, 65538, 1507340, 1, 65538, 1507341, 1, 65538, 1507342, 1, 65538, 1507343, 1, 65538, 1507344, 1, 65538, 1507345, 1, 65538, 1507346, 1, 65538, 1507347, 1, 65538, 1507348, 1, 65538, 1507349, 1, 65538, 1507350, 1, 65538, 1507351, 1, 65538, 1507352, 1, 65538, 1507353, 1, 65538, 1507354, 1, 65538, 1507355, 1, 65538, 1507356, 1, 65538, 1507357, 1, 65538, 1507358, 1, 65538, 1507359, 1, 65538, 1507360, 1, 65538, 1507361, 1, 131074, 1507362, 1, 131075, 1638399, 1, 131073, 1572864, 1, 131074, 1572865, 1, 131074, 1572866, 1, 131074, 1572867, 1, 131074, 1572868, 1, 131074, 1572869, 1, 131074, 1572870, 1, 131074, 1572871, 1, 131074, 1572872, 1, 131074, 1572873, 1, 131074, 1572874, 1, 131074, 1572875, 1, 131074, 1572876, 1, 131074, 1572877, 1, 131074, 1572878, 1, 131074, 1572879, 1, 131074, 1572880, 1, 131074, 1572881, 1, 131074, 1572882, 1, 131074, 1572883, 1, 131074, 1572884, 1, 131074, 1572885, 1, 131074, 1572886, 1, 131074, 1572887, 1, 131074, 1572888, 1, 131074, 1572889, 1, 131074, 1572890, 1, 131074, 1572891, 1, 131074, 1572892, 1, 131074, 1572893, 1, 131074, 1572894, 1, 131074, 1572895, 1, 131074, 1572896, 1, 131075 ) +tile_data = PoolIntArray( -65537, 0, 0, -1, 0, 65536, 65535, 0, 65536, 131071, 0, 65536, 196607, 0, 65536, 262143, 0, 65536, 327679, 0, 65536, 393215, 0, 65536, 458751, 0, 65536, 524287, 0, 65536, 589823, 0, 65537, 524288, 0, 196610, 524289, 0, 196610, 524290, 0, 196610, 524291, 0, 196610, 524292, 0, 196610, 524293, 0, 196610, 524294, 0, 196610, 524295, 0, 196611, 655359, 0, 65536, 589838, 0, 196609, 589839, 0, 196610, 589840, 0, 196610, 589841, 0, 196610, 589842, 0, 196610, 589843, 0, 196610, 589844, 0, 196611, 720895, 0, 65536, 786431, 0, 65536, 851967, 0, 65536, 786442, 1, 196609, 786443, 1, 196610, 786444, 1, 196611, 917503, 0, 65536, 983039, 0, 65536, 1048575, 0, 65536, 983048, 1, 1, 983049, 1, 2, 983050, 1, 2, 983051, 1, 2, 983052, 1, 2, 983053, 1, 2, 983054, 1, 3, 983057, 0, 196609, 983058, 0, 196610, 983059, 0, 196610, 983060, 0, 196611, 983073, 1, 1, 983074, 1, 2, 983075, 1, 2, 983076, 1, 2, 983077, 1, 2, 983078, 1, 2, 983079, 1, 2, 983080, 1, 2, 983081, 1, 3, 1114111, 0, 65536, 1048584, 1, 131073, 1048585, 1, 131074, 1048586, 1, 131074, 1048587, 1, 131074, 1048588, 1, 131074, 1048589, 1, 131074, 1048590, 1, 131075, 1048608, 1, 1, 1048609, 1, 65538, 1048610, 1, 65538, 1048611, 1, 65538, 1048612, 1, 65538, 1048613, 1, 65538, 1048614, 1, 65538, 1048615, 1, 65538, 1048616, 1, 65538, 1048617, 1, 65539, 1179647, 0, 65536, 1114116, 0, 196609, 1114117, 0, 196610, 1114118, 0, 196611, 1114143, 1, 1, 1114144, 1, 65538, 1114145, 1, 65538, 1114146, 1, 65538, 1114147, 1, 65538, 1114148, 1, 65538, 1114149, 1, 65538, 1114150, 1, 65538, 1114151, 1, 131074, 1114152, 1, 131074, 1114153, 1, 131075, 1245183, 0, 65536, 1179674, 1, 1, 1179675, 1, 2, 1179676, 1, 2, 1179677, 1, 2, 1179678, 1, 2, 1179679, 1, 65538, 1179680, 1, 65538, 1179681, 1, 65538, 1179682, 1, 65538, 1179683, 1, 65538, 1179684, 1, 65538, 1179685, 1, 65538, 1179686, 1, 131075, 1310719, 0, 65537, 1245184, 0, 196610, 1245185, 0, 196611, 1245205, 1, 1, 1245206, 1, 3, 1245210, 1, 131073, 1245211, 1, 131074, 1245212, 1, 131074, 1245213, 1, 131074, 1245214, 1, 131074, 1245215, 1, 131074, 1245216, 1, 131074, 1245217, 1, 131074, 1245218, 1, 131074, 1245219, 1, 131074, 1245220, 1, 131074, 1245221, 1, 131075, 1376255, 0, 65536, 1310741, 1, 65537, 1310742, 1, 65539, 1441791, 0, 131072, 1376277, 1, 65537, 1376278, 1, 65539, 1376279, 3, 1, 1376280, 3, 1, 1376281, 3, 1, 1376287, 2, 65537, 1376289, 2, 65536, 1376290, 2, 65536, 1376291, 2, 65536, 1376292, 2, 65536, 1376293, 2, 65536, 1507326, 1, 1, 1507327, 1, 2, 1441792, 1, 2, 1441793, 1, 2, 1441794, 1, 2, 1441795, 1, 2, 1441796, 1, 2, 1441797, 1, 2, 1441798, 1, 2, 1441799, 1, 2, 1441800, 1, 2, 1441801, 1, 2, 1441802, 1, 2, 1441803, 1, 2, 1441804, 1, 2, 1441805, 1, 2, 1441806, 1, 2, 1441807, 1, 2, 1441808, 1, 2, 1441809, 1, 2, 1441810, 1, 2, 1441811, 1, 2, 1441812, 1, 2, 1441813, 1, 65538, 1441814, 1, 65538, 1441815, 1, 2, 1441816, 1, 2, 1441817, 1, 2, 1441818, 1, 2, 1441819, 1, 2, 1441820, 1, 2, 1441821, 1, 2, 1441822, 1, 2, 1441823, 1, 2, 1441824, 1, 2, 1441825, 1, 2, 1441826, 1, 2, 1441827, 1, 2, 1441828, 1, 2, 1441829, 1, 2, 1441830, 1, 2, 1441831, 1, 2, 1441832, 1, 2, 1441833, 1, 2, 1441834, 1, 2, 1441835, 1, 2, 1441836, 1, 2, 1441837, 1, 2, 1441838, 1, 2, 1441839, 1, 2, 1441840, 1, 2, 1441841, 1, 2, 1441842, 1, 2, 1441843, 1, 2, 1441844, 1, 2, 1441845, 1, 2, 1441846, 1, 2, 1441847, 1, 2, 1441848, 1, 2, 1441849, 1, 2, 1441850, 1, 2, 1441851, 1, 2, 1441852, 1, 2, 1441853, 1, 2, 1441854, 1, 2, 1441855, 1, 2, 1441856, 1, 2, 1441857, 1, 2, 1441858, 1, 2, 1441859, 1, 2, 1441860, 1, 2, 1441861, 1, 2, 1441862, 1, 2, 1441863, 1, 2, 1441864, 1, 2, 1441865, 1, 2, 1441866, 1, 2, 1441867, 1, 2, 1441868, 1, 2, 1441869, 1, 2, 1441870, 1, 2, 1441871, 1, 2, 1441872, 1, 2, 1441873, 1, 2, 1441874, 1, 2, 1441875, 1, 2, 1441876, 1, 2, 1441877, 1, 2, 1441878, 1, 2, 1441879, 1, 2, 1441880, 1, 2, 1441881, 1, 2, 1441882, 1, 2, 1441883, 1, 2, 1441884, 1, 2, 1441885, 1, 2, 1441886, 1, 2, 1441887, 1, 2, 1441888, 1, 3, 1572862, 1, 65537, 1572863, 1, 65538, 1507328, 1, 65538, 1507329, 1, 65538, 1507330, 1, 65538, 1507331, 1, 65538, 1507332, 1, 65538, 1507333, 1, 65538, 1507334, 1, 65538, 1507335, 1, 65538, 1507336, 1, 65538, 1507337, 1, 65538, 1507338, 1, 65538, 1507339, 1, 65538, 1507340, 1, 65538, 1507341, 1, 65538, 1507342, 1, 65538, 1507343, 1, 65538, 1507344, 1, 65538, 1507345, 1, 65538, 1507346, 1, 65538, 1507347, 1, 65538, 1507348, 1, 65538, 1507349, 1, 65538, 1507350, 1, 65538, 1507351, 1, 65538, 1507352, 1, 65538, 1507353, 1, 65538, 1507354, 1, 65538, 1507355, 1, 65538, 1507356, 1, 65538, 1507357, 1, 65538, 1507358, 1, 65538, 1507359, 1, 65538, 1507360, 1, 65538, 1507361, 1, 65538, 1507362, 1, 65538, 1507363, 1, 65538, 1507364, 1, 65538, 1507365, 1, 65538, 1507366, 1, 65538, 1507367, 1, 65538, 1507368, 1, 65538, 1507369, 1, 65538, 1507370, 1, 65538, 1507371, 1, 65538, 1507372, 1, 65538, 1507373, 1, 65538, 1507374, 1, 65538, 1507375, 1, 65538, 1507376, 1, 65538, 1507377, 1, 65538, 1507378, 1, 65538, 1507379, 1, 65538, 1507380, 1, 65538, 1507381, 1, 65538, 1507382, 1, 65538, 1507383, 1, 65538, 1507384, 1, 65538, 1507385, 1, 65538, 1507386, 1, 65538, 1507387, 1, 65538, 1507388, 1, 65538, 1507389, 1, 65538, 1507390, 1, 65538, 1507391, 1, 65538, 1507392, 1, 65538, 1507393, 1, 65538, 1507394, 1, 65538, 1507395, 1, 65538, 1507396, 1, 65538, 1507397, 1, 65538, 1507398, 1, 65538, 1507399, 1, 65538, 1507400, 1, 65538, 1507401, 1, 65538, 1507402, 1, 65538, 1507403, 1, 65538, 1507404, 1, 65538, 1507405, 1, 65538, 1507406, 1, 65538, 1507407, 1, 65538, 1507408, 1, 65538, 1507409, 1, 65538, 1507410, 1, 65538, 1507411, 1, 65538, 1507412, 1, 65538, 1507413, 1, 65538, 1507414, 1, 65538, 1507415, 1, 65538, 1507416, 1, 65538, 1507417, 1, 65538, 1507418, 1, 65538, 1507419, 1, 65538, 1507420, 1, 65538, 1507421, 1, 65538, 1507422, 1, 65538, 1507423, 1, 65538, 1507424, 1, 65539, 1638398, 1, 131073, 1638399, 1, 131074, 1572864, 1, 131074, 1572865, 1, 131074, 1572866, 1, 131074, 1572867, 1, 131074, 1572868, 1, 131074, 1572869, 1, 131074, 1572870, 1, 131074, 1572871, 1, 131074, 1572872, 1, 131074, 1572873, 1, 131074, 1572874, 1, 131074, 1572875, 1, 131074, 1572876, 1, 131074, 1572877, 1, 131074, 1572878, 1, 131074, 1572879, 1, 131074, 1572880, 1, 131074, 1572881, 1, 131074, 1572882, 1, 131074, 1572883, 1, 131074, 1572884, 1, 131074, 1572885, 1, 131074, 1572886, 1, 131074, 1572887, 1, 131074, 1572888, 1, 131074, 1572889, 1, 131074, 1572890, 1, 131074, 1572891, 1, 131074, 1572892, 1, 131074, 1572893, 1, 131074, 1572894, 1, 131074, 1572895, 1, 131074, 1572896, 1, 131074, 1572897, 1, 131074, 1572898, 1, 131074, 1572899, 1, 131074, 1572900, 1, 131074, 1572901, 1, 131074, 1572902, 1, 131074, 1572903, 1, 131074, 1572904, 1, 131074, 1572905, 1, 131074, 1572906, 1, 131074, 1572907, 1, 131074, 1572908, 1, 131074, 1572909, 1, 131074, 1572910, 1, 131074, 1572911, 1, 131074, 1572912, 1, 131074, 1572913, 1, 131074, 1572914, 1, 131074, 1572915, 1, 131074, 1572916, 1, 131074, 1572917, 1, 131074, 1572918, 1, 131074, 1572919, 1, 131074, 1572920, 1, 131074, 1572921, 1, 131074, 1572922, 1, 131074, 1572923, 1, 131074, 1572924, 1, 131074, 1572925, 1, 131074, 1572926, 1, 131074, 1572927, 1, 131074, 1572928, 1, 131074, 1572929, 1, 131074, 1572930, 1, 131074, 1572931, 1, 131074, 1572932, 1, 131074, 1572933, 1, 131074, 1572934, 1, 131074, 1572935, 1, 131074, 1572936, 1, 131074, 1572937, 1, 131074, 1572938, 1, 131074, 1572939, 1, 131074, 1572940, 1, 131074, 1572941, 1, 131074, 1572942, 1, 131074, 1572943, 1, 131074, 1572944, 1, 131074, 1572945, 1, 131074, 1572946, 1, 131074, 1572947, 1, 131074, 1572948, 1, 131074, 1572949, 1, 131074, 1572950, 1, 131074, 1572951, 1, 131074, 1572952, 1, 131074, 1572953, 1, 131074, 1572954, 1, 131074, 1572955, 1, 131074, 1572956, 1, 131074, 1572957, 1, 131074, 1572958, 1, 131074, 1572959, 1, 131074, 1572960, 1, 131075 ) + +[node name="Ladder" type="TileMap" parent="."] +tile_set = ExtResource( 9 ) +cell_size = Vector2( 8, 8 ) +format = 1 +tile_data = PoolIntArray( 720901, 1, 0, 786437, 1, 65536, 851973, 1, 131072 ) + +[node name="Death" type="TileMap" parent="." groups=["death"]] +tile_set = ExtResource( 6 ) +cell_size = Vector2( 8, 8 ) +collision_layer = 32 +format = 1 + +[node name="Environment" type="Node2D" parent="."] + +[node name="Rock" parent="Environment" instance=ExtResource( 7 )] +position = Vector2( 168, 144 ) + +[node name="Ladder" parent="Environment" instance=ExtResource( 10 )] +position = Vector2( 40, 88 ) +scale = Vector2( 1, 3 ) + +[node name="Collectibles" type="Node2D" parent="."] + +[node name="Enemy" type="Node2D" parent="."] + +[node name="ArtificialSoul" parent="Enemy" instance=ExtResource( 8 )] +position = Vector2( 88, 88 ) + +[node name="ArtificialSoul2" parent="Enemy/ArtificialSoul" instance=ExtResource( 8 )] +initial_angle = 1.0 + +[node name="ArtificialSoul2" parent="Enemy" instance=ExtResource( 8 )] +position = Vector2( 88, 88 ) + +[node name="ArtificialSoul2" parent="Enemy/ArtificialSoul2" instance=ExtResource( 8 )] +position = Vector2( 0, 64 ) +radius = 2.0 +initial_angle = 1.0 +speed = 6.0 + +[node name="Bat" parent="Enemy" instance=ExtResource( 11 )] +position = Vector2( 80, 40 ) +left_up_boundary = 1.0 +right_down_boundary = 1.0 [node name="Player" parent="." instance=ExtResource( 1 )] position = Vector2( 32, 160 ) + +[node name="ColorRect" type="ColorRect" parent="."] +margin_left = 256.0 +margin_right = 512.0 +margin_bottom = 192.0 +color = Color( 0, 1, 0.811765, 0.054902 ) +script = ExtResource( 5 ) + +[node name="ColorRect2" type="ColorRect" parent="."] +margin_left = 512.0 +margin_right = 768.0 +margin_bottom = 192.0 +color = Color( 1, 0, 0.913725, 0.054902 ) +script = ExtResource( 5 ) diff --git a/tilesets/t_death.tres b/tilesets/t_death.tres index 9f521d4..68020e8 100644 --- a/tilesets/t_death.tres +++ b/tilesets/t_death.tres @@ -1,10 +1,12 @@ -[gd_resource type="TileSet" load_steps=11 format=2] +[gd_resource type="TileSet" load_steps=14 format=2] [ext_resource path="res://graphics/tiles/water.tres" type="Texture" id=1] [ext_resource path="res://graphics/tiles/spike.png" type="Texture" id=2] [ext_resource path="res://graphics/tiles/water_bottom.png" type="Texture" id=3] [ext_resource path="res://graphics/tiles/oil_bottom.png" type="Texture" id=4] [ext_resource path="res://graphics/tiles/oil.tres" type="Texture" id=5] +[ext_resource path="res://graphics/tiles/blood_bottom.png" type="Texture" id=6] +[ext_resource path="res://graphics/tiles/blood.tres" type="Texture" id=7] [sub_resource type="ConvexPolygonShape2D" id=1] points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) @@ -21,6 +23,9 @@ points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) [sub_resource type="ConvexPolygonShape2D" id=5] points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) +[sub_resource type="ConvexPolygonShape2D" id=6] +points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) + [resource] 0/name = "water.tres 0" 0/texture = ExtResource( 1 ) @@ -182,3 +187,52 @@ points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) 7/shape_one_way_margin = 0.0 7/shapes = [ ] 7/z_index = 0 +8/name = "blood.tres 8" +8/texture = ExtResource( 7 ) +8/tex_offset = Vector2( 0, 0 ) +8/modulate = Color( 1, 1, 1, 1 ) +8/region = Rect2( 0, 0, 8, 8 ) +8/tile_mode = 2 +8/autotile/icon_coordinate = Vector2( 0, 0 ) +8/autotile/tile_size = Vector2( 8, 8 ) +8/autotile/spacing = 0 +8/autotile/occluder_map = [ ] +8/autotile/navpoly_map = [ ] +8/autotile/priority_map = [ ] +8/autotile/z_index_map = [ ] +8/occluder_offset = Vector2( 0, 0 ) +8/navigation_offset = Vector2( 0, 0 ) +8/shape_offset = Vector2( 0, 0 ) +8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +8/shape_one_way = false +8/shape_one_way_margin = 0.0 +8/shapes = [ ] +8/z_index = 0 +9/name = "blood_bottom.png 9" +9/texture = ExtResource( 6 ) +9/tex_offset = Vector2( 0, 0 ) +9/modulate = Color( 1, 1, 1, 1 ) +9/region = Rect2( 0, 0, 8, 8 ) +9/tile_mode = 2 +9/autotile/icon_coordinate = Vector2( 0, 0 ) +9/autotile/tile_size = Vector2( 8, 8 ) +9/autotile/spacing = 0 +9/autotile/occluder_map = [ ] +9/autotile/navpoly_map = [ ] +9/autotile/priority_map = [ ] +9/autotile/z_index_map = [ ] +9/occluder_offset = Vector2( 0, 0 ) +9/navigation_offset = Vector2( 0, 0 ) +9/shape_offset = Vector2( 0, 0 ) +9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +9/shape = SubResource( 6 ) +9/shape_one_way = false +9/shape_one_way_margin = 1.0 +9/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 6 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +9/z_index = 0