every stage is bloodstainable (fixes #183)

This commit is contained in:
pennyrigate 2023-10-08 21:06:15 -04:00
parent 4e98108935
commit de2e33a87a
8 changed files with 49 additions and 29 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=2]
[gd_scene load_steps=16 format=2]
[ext_resource path="res://objects/enemy/boss/scrump.tscn" type="PackedScene" id=1]
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=2]
@ -14,6 +14,7 @@
[ext_resource path="res://objects/delayed_instance.tscn" type="PackedScene" id=12]
[ext_resource path="res://objects/environment/death tile/death_tile.tscn" type="PackedScene" id=13]
[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=14]
[ext_resource path="res://shaders/can_stain.tres" type="Material" id=15]
[node name="Map" type="Node2D" groups=["map"]]
pause_mode = 1
@ -39,7 +40,9 @@ __meta__ = {
"_edit_lock_": true
}
[node name="TileMap" type="TileMap" parent="."]
[node name="TileMap" type="TileMap" parent="." groups=["can_stain"]]
light_mask = 2
material = ExtResource( 15 )
tile_set = ExtResource( 5 )
cell_size = Vector2( 8, 8 )
format = 1

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=2]
[gd_scene load_steps=16 format=2]
[ext_resource path="res://tilesets/t_factory.tres" type="TileSet" id=1]
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=2]
@ -8,6 +8,7 @@
[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=6]
[ext_resource path="res://audio/music/klystron_vip.ogg" type="AudioStream" id=7]
[ext_resource path="res://objects/collectibles/arrow.tscn" type="PackedScene" id=8]
[ext_resource path="res://shaders/can_stain.tres" type="Material" id=9]
[ext_resource path="res://objects/environment/ladder/ladder.tscn" type="PackedScene" id=10]
[ext_resource path="res://objects/delayed_instance.tscn" type="PackedScene" id=12]
[ext_resource path="res://objects/environment/death tile/death_tile.tscn" type="PackedScene" id=13]
@ -33,13 +34,17 @@ __meta__ = {
[node name="Ground" type="Node2D" parent="."]
[node name="TileMap" type="TileMap" parent="Ground"]
[node name="TileMap" type="TileMap" parent="Ground" groups=["can_stain"]]
light_mask = 2
material = ExtResource( 9 )
tile_set = ExtResource( 1 )
cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 65535, 0, 0, 131071, 0, 0, 196607, 0, 0, 262143, 0, 0, 327679, 0, 0, 393215, 0, 0, 327692, 0, 0, 327693, 0, 0, 327694, 0, 0, 327695, 0, 0, 458751, 0, 0, 524287, 0, 0, 458763, 0, 131074, 458764, 0, 131074, 458765, 0, 131074, 458766, 0, 131074, 589823, 0, 0, 524298, 0, 131074, 524299, 0, 131074, 524300, 0, 131074, 524301, 0, 131074, 524302, 0, 131074, 655359, 0, 0, 589829, 0, 0, 589830, 0, 0, 589833, 0, 0, 589839, 0, 131074, 589840, 0, 131074, 720895, 0, 0, 655376, 0, 131074, 786431, 0, 0, 720909, 0, 131074, 720910, 0, 131074, 720911, 0, 131074, 720912, 0, 131074, 851967, 0, 0, 786447, 0, 131074, 917503, 0, 0, 851971, 0, 0, 851972, 0, 0, 851973, 0, 0, 851974, 0, 0, 851977, 0, 0, 851978, 0, 0, 851979, 0, 0, 983039, 0, 0, 1048575, 0, 0, 983040, 0, 0, 1114111, 0, 0, 1048576, 0, 0, 1048577, 0, 0, 1048583, 0, 131074, 1179647, 0, 0, 1114112, 0, 0, 1114113, 0, 0, 1114114, 0, 0, 1114119, 0, 131074, 1245183, 0, 0, 1179650, 0, 0, 1179651, 0, 0, 1179652, 0, 0, 1179653, 0, 0, 1179654, 0, 0, 1179655, 0, 0, 1179656, 0, 0, 1179657, 0, 0, 1310719, 0, 0, 1376255, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1441791, 0, 0, 1507327, 0, 0, 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, 3, 1572863, 0, 0, 1507328, 0, 65536, 1507329, 0, 0, 1507330, 0, 65536, 1507331, 0, 0, 1507332, 0, 65536, 1507333, 0, 0, 1507334, 0, 65536, 1507335, 0, 0, 1507336, 0, 65536, 1507337, 0, 0, 1507338, 0, 65536, 1507339, 0, 0, 1507340, 0, 65536, 1507341, 0, 0, 1507342, 0, 65536, 1507343, 0, 0, 1507344, 0, 65536, 1507345, 0, 0, 1507346, 0, 65536, 1507347, 0, 0, 1507348, 0, 65536, 1507349, 0, 0, 1507350, 0, 65536, 1507351, 0, 0, 1507352, 0, 65536, 1507353, 0, 0, 1507354, 0, 65536, 1507355, 0, 0, 1507356, 0, 65536, 1507357, 0, 0, 1507358, 0, 65536, 1507359, 0, 0 )
[node name="Collapse" type="TileMap" parent="Ground" groups=["delete_on_collapse"]]
[node name="Collapse" type="TileMap" parent="Ground" groups=["can_stain", "delete_on_collapse"]]
light_mask = 2
material = ExtResource( 9 )
tile_set = ExtResource( 1 )
cell_size = Vector2( 8, 8 )
format = 1
@ -51,7 +56,9 @@ cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 655372, 0, 196609, 720908, 0, 196609, 786444, 0, 196609, 851980, 0, 196609 )
[node name="Death" type="TileMap" parent="Ground" groups=["death"]]
[node name="Death" type="TileMap" parent="Ground" groups=["can_stain", "death"]]
light_mask = 2
material = ExtResource( 9 )
tile_set = ExtResource( 16 )
cell_size = Vector2( 8, 8 )
collision_layer = 32

View file

@ -69,11 +69,11 @@ format = 1
tile_data = PoolIntArray( 393236, 0, 65536, 458772, 0, 65537, 524308, 0, 65537, 589844, 0, 65537, 786445, 0, 65536, 786460, 0, 65536, 851981, 0, 65537, 851996, 0, 65537, 852058, 0, 65536, 917517, 0, 65537, 917532, 0, 65537, 917594, 0, 65537, 983053, 0, 65537, 983068, 0, 65537, 983130, 0, 65538, 1048589, 0, 65537, 1048604, 0, 65537, 1048614, 0, 65536, 1048633, 0, 65536, 1114125, 0, 65537, 1114150, 0, 65537, 1114169, 0, 65537, 1179661, 0, 65537, 1179686, 0, 65537, 1179705, 0, 65537, 1245197, 0, 65537, 1245222, 0, 65537, 1245241, 0, 65537, 1310733, 0, 65537, 1310758, 0, 65537, 1310777, 0, 65537, 1376269, 0, 65538, 1376294, 0, 65538, 1376313, 0, 65538 )
[node name="Death" type="TileMap" parent="." groups=["can_stain", "death"]]
light_mask = 2
material = ExtResource( 25 )
tile_set = ExtResource( 5 )
cell_size = Vector2( 8, 8 )
collision_layer = 32
occluder_light_mask = 2
format = 1
tile_data = PoolIntArray( 720951, 1, 0, 720952, 1, 0, 720977, 1, 0, 720978, 1, 0, 983091, 1, 0 )

View file

@ -58,12 +58,12 @@ format = 1
tile_data = PoolIntArray( 131140, 1, 0, 196676, 1, 65536, 262212, 1, 65536, 327748, 1, 65536, 393284, 1, 131072, 458831, 1, 0, 524367, 1, 65536, 589903, 1, 65536, 655439, 1, 65536, 720901, 1, 0, 720975, 1, 65536, 786437, 1, 65536, 786511, 1, 131072, 851973, 1, 65536, 917509, 1, 131072, 983122, 1, 0, 1048658, 1, 65536, 1114194, 1, 65536, 1179730, 1, 65536, 1245266, 1, 131072 )
[node name="Death" type="TileMap" parent="." groups=["can_stain", "death"]]
light_mask = 2
material = ExtResource( 21 )
tile_set = ExtResource( 6 )
cell_size = Vector2( 8, 8 )
collision_layer = 32
collision_mask = 0
occluder_light_mask = 2
format = 1
tile_data = PoolIntArray( 196694, -1073741823, 0, 196696, -1610612735, 0, 262228, -1610612735, 0, 589914, -1073741823, 0, 720938, -1073741823, 0, 720971, -1073741823, 0, 786474, -1073741823, 0, 786520, 1, 0, 852006, -1073741823, 0, 917542, -1073741823, 0, 1048643, 1, 0 )
@ -76,13 +76,13 @@ format = 1
tile_data = PoolIntArray( 1441831, 8, 0, 1441832, 8, 0, 1441833, 8, 0, 1441834, 8, 0, 1441835, 8, 0, 1441846, 8, 0, 1441847, 8, 0, 1441848, 8, 0, 1441849, 8, 0, 1441850, 8, 0, 1441865, 8, 0, 1441866, 8, 0, 1441867, 8, 0, 1441868, 8, 0, 1441869, 8, 0, 1507367, 9, 0, 1507368, 9, 0, 1507369, 9, 0, 1507370, 9, 0, 1507371, 9, 0, 1507382, 9, 0, 1507383, 9, 0, 1507384, 9, 0, 1507385, 9, 0, 1507386, 9, 0, 1507401, 9, 0, 1507402, 9, 0, 1507403, 9, 0, 1507404, 9, 0, 1507405, 9, 0 )
[node name="DeathBackground" type="TileMap" parent="DeathNoBlood"]
z_index = -1
z_index = -11
tile_set = ExtResource( 6 )
cell_size = Vector2( 8, 8 )
collision_layer = 0
collision_mask = 0
format = 1
tile_data = PoolIntArray( 1441830, 8, 0, 1441836, 8, 0, 1441845, 8, 0, 1441851, 8, 0, 1441864, 8, 0, 1441870, 8, 0, 1507366, 9, 0, 1507372, 9, 0, 1507381, 9, 0, 1507387, 9, 0, 1507400, 9, 0, 1507406, 9, 0 )
tile_data = PoolIntArray( 1441830, 8, 0, 1441836, 8, 0, 1441845, 8, 0, 1441851, 8, 0, 1507366, 9, 0, 1507372, 9, 0, 1507381, 9, 0, 1507387, 9, 0, 1507400, 9, 0, 1507406, 9, 0 )
[node name="Environment" type="Node2D" parent="."]

View file

@ -138,7 +138,9 @@ shape = SubResource( 8 )
[node name="Player" parent="." instance=ExtResource( 26 )]
position = Vector2( 32, 176 )
[node name="Death" type="TileMap" parent="." groups=["death"]]
[node name="Death" type="TileMap" parent="." groups=["can_stain", "death"]]
light_mask = 2
material = ExtResource( 34 )
tile_set = ExtResource( 9 )
cell_size = Vector2( 8, 8 )
collision_layer = 32

View file

@ -139,11 +139,11 @@ format = 1
tile_data = PoolIntArray( -2752488, 0, 2, -2686952, 0, 2, -2621416, 0, 2, -2555880, 0, 2, -2555873, 0, 2, -2490344, 0, 2, -2490337, 0, 2, -2424808, 0, 2, -2424801, 0, 2, -2359272, 0, 2, -2359265, 0, 2, -2293736, 0, 2, -2293729, 0, 2, -2228200, 0, 2, -2228193, 0, 2, -2162657, 0, 2, -2097121, 0, 2, -2031585, 0, 2, -1966058, 0, 2, -1966049, 0, 2, -1900522, 0, 2, -1900513, 0, 2, -1834986, 0, 2, -1834977, 0, 2, -1769450, 0, 2, -1769441, 0, 2, -1703914, 0, 2, -1703905, 0, 2, -1638378, 0, 2, -1638369, 0, 2, -1572842, 0, 2, -1572833, 0, 2, -1507306, 0, 2, -1507297, 0, 2, -1441770, 0, 2, -1441761, 0, 2, -1376234, 0, 2, -1376225, 0, 2, -1310698, 0, 2, -1310689, 0, 2, -1245162, 0, 2, -1179626, 0, 2, -1114090, 0, 2, -1048554, 0, 2, -917475, 0, 2, -851939, 0, 2, -786403, 0, 2, -720867, 0, 2, -655331, 0, 2, -589795, 0, 2, -524259, 0, 2, -458723, 0, 2, -393209, 0, 2, -327673, 0, 2, -262137, 0, 2, -196589, 0, 2, -131053, 0, 2, -65517, 0, 2, 19, 0, 2, 65555, 0, 2, 131091, 0, 2, 196627, 0, 2, 262163, 0, 2, 327699, 0, 2, 393235, 0, 2, 458771, 0, 2, 589825, 0, 2, 655361, 0, 2, 720897, 0, 2, 851998, 0, 2, 917534, 0, 2, 983070, 0, 2, 1048606, 0, 2, 1114142, 0, 2, 1179678, 0, 2, 1245214, 0, 2 )
[node name="Death" type="TileMap" parent="." groups=["can_stain", "death"]]
light_mask = 2
material = ExtResource( 11 )
tile_set = ExtResource( 22 )
cell_size = Vector2( 8, 8 )
collision_layer = 32
occluder_light_mask = 2
format = 1
tile_data = PoolIntArray( -2686976, 1, 0, -2686975, 1, 0, -2686974, 1, 0, -2686973, 1, 0, -2686972, 1, 0, -2686971, 1, 0, -2686970, 1, 0, -2686969, 1, 0, -2686968, 1, 0, -2686967, 1, 0, -2686966, 1, 0, -2686965, 1, 0, -2686964, 1, 0, -2686963, 1, 0, -2686962, 1, 0, -2686961, 1, 0, -2686960, 1, 0, -2162688, 1, 0, -2162687, 1, 0, -2162686, 1, 0, -2162685, 1, 0, -2162684, 1, 0, -2162683, 1, 0, -2162682, 1, 0, -2162681, 1, 0, -2162680, 1, 0, -2162679, 1, 0, -2162678, 1, 0, -2162677, 1, 0, -2162676, 1, 0, -2162675, 1, 0, -2162674, 1, 0, -2162673, 1, 0, -2162672, 1, 0, -2162671, 1, 0, -2162670, 1, 0, -524276, 1, 0, -524273, 1, 0, 1441800, 1, 0, 1441801, 1, 0, 1441802, 1, 0, 1441803, 1, 0, 1441804, 1, 0, 1441805, 1, 0, 1441806, 1, 0, 1441807, 1, 0, 1441812, 1, 0, 1441813, 1, 0, 1441814, 1, 0 )

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=29 format=2]
[gd_scene load_steps=28 format=2]
[ext_resource path="res://objects/enemy/super_slime.tscn" type="PackedScene" id=1]
[ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=1]
[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2]
[ext_resource path="res://tilesets/t_mountain.tres" type="TileSet" id=3]
[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=4]
@ -13,7 +13,6 @@
[ext_resource path="res://maps/map.gd" type="Script" id=11]
[ext_resource path="res://objects/environment/turniwood/turning_platform.tscn" type="PackedScene" id=12]
[ext_resource path="res://objects/collectibles/arrow.tscn" type="PackedScene" id=13]
[ext_resource path="res://objects/enemy/boss/2600_die.tscn" type="PackedScene" id=14]
[ext_resource path="res://objects/respawn_point.tscn" type="PackedScene" id=16]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=17]
[ext_resource path="res://objects/environment/switches/button.tscn" type="PackedScene" id=19]
@ -67,7 +66,7 @@ tile_set = ExtResource( 3 )
cell_size = Vector2( 8, 8 )
collision_layer = 9
format = 1
tile_data = PoolIntArray( 196630, 1, 0, 262166, 1, 0, 327702, 1, 0, 393238, 1, 0, 458774, 1, 0, 524310, 1, 0, 589846, 1, 0, 655382, 1, 0, 655388, 0, 196609, 983062, 0, 0, 983063, 0, 0, 983064, 0, 0, 983065, 0, 0, 983066, 0, 0, 983067, 0, 0, 983068, 0, 0, 983069, 0, 0, 1048579, 0, 65537, 1048580, 0, 65537, 1048581, 0, 65537, 1048582, 0, 65537, 1048583, 0, 65537, 1376272, 0, 0, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 0, 1441808, 0, 0, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 0, 0, 1441814, 0, 0, 1441815, 0, 0, 1441816, 0, 0, 1441817, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1507328, 0, 1, 1507329, 0, 1, 1507330, 0, 1, 1507331, 0, 1, 1507332, 0, 1, 1507333, 0, 1, 1507334, 0, 1, 1507335, 0, 1, 1507336, 0, 1, 1507337, 0, 1, 1507338, 0, 1, 1507339, 0, 1, 1507340, 0, 1, 1507341, 0, 1, 1507342, 0, 1, 1507343, 0, 1, 1507344, 0, 1, 1507345, 0, 1, 1507346, 0, 1, 1507347, 0, 1, 1507348, 0, 1, 1507349, 0, 1, 1507350, 0, 1, 1507351, 0, 1, 1507352, 0, 1, 1507353, 0, 1, 1507354, 0, 1, 1507355, 0, 1, 1507356, 0, 1, 1507357, 0, 1, 1507358, 0, 1, 1507359, 0, 1 )
tile_data = PoolIntArray( 196630, 1, 0, 262166, 1, 0, 327702, 1, 0, 393238, 1, 0, 458774, 1, 0, 524310, 1, 0, 589846, 1, 0, 655382, 1, 0, 655388, 0, 196609, 983062, 0, 0, 983063, 0, 0, 983064, 0, 0, 983065, 0, 0, 983066, 0, 0, 983067, 0, 0, 983068, 0, 0, 983069, 0, 0, 1048579, 0, 65537, 1048580, 0, 65537, 1048581, 0, 65537, 1048582, 0, 65537, 1048583, 0, 65537, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 0, 1441808, 0, 0, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 0, 0, 1441814, 0, 0, 1441815, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1507328, 0, 1, 1507329, 0, 1, 1507330, 0, 1, 1507331, 0, 1, 1507332, 0, 1, 1507333, 0, 1, 1507334, 0, 1, 1507337, 0, 1, 1507338, 0, 1, 1507339, 0, 1, 1507340, 0, 1, 1507341, 0, 1, 1507342, 0, 1, 1507343, 0, 1, 1507344, 0, 1, 1507345, 0, 1, 1507346, 0, 1, 1507347, 0, 1, 1507348, 0, 1, 1507349, 0, 1, 1507350, 0, 1, 1507351, 0, 1, 1507354, 0, 1, 1507355, 0, 1, 1507356, 0, 1, 1507357, 0, 1, 1507358, 0, 1, 1507359, 0, 1 )
[node name="Slime" parent="." instance=ExtResource( 10 )]
position = Vector2( 264, 168 )
@ -159,16 +158,6 @@ left_up_boundary = 4.0
right_down_boundary = 4.0
move_direction = 1
[node name="SuperSlime" parent="." instance=ExtResource( 1 )]
position = Vector2( 200, 168 )
left_boundary = 3.0
right_boundary = 4.0
speed = 100.0
jump_distance = 4.0
jump_speed = 100.0
bottom_jumps = [ 3.0 ]
top_jumps = [ 0.0 ]
[node name="CollapseBlock" parent="." instance=ExtResource( 8 )]
position = Vector2( 136, 128 )
@ -189,7 +178,18 @@ move_direction = 1
position = Vector2( -1.5, 12 )
scale = Vector2( 0.5, -1 )
[node name="2600Die" parent="." instance=ExtResource( 14 )]
position = Vector2( 68, 1 )
[node name="Death" type="TileMap" parent="." groups=["death"]]
tile_set = ExtResource( 1 )
cell_size = Vector2( 8, 8 )
collision_layer = 32
format = 1
tile_data = PoolIntArray( 1441799, 10, 0, 1441800, 10, 0, 1441816, 0, 0, 1441817, 0, 0, 1507335, 11, 0, 1507336, 11, 0, 1507352, 3, 0, 1507353, 3, 0 )
[node name="Death2" type="TileMap" parent="." groups=["death"]]
tile_set = ExtResource( 1 )
cell_size = Vector2( 8, 8 )
collision_layer = 32
format = 1
tile_data = PoolIntArray( 1179655, 12, 0, 1179656, 12, 0, 1179672, 12, 0, 1179673, 12, 0 )
[editable path="RollingFiend"]