diff --git a/media/image/crate_tiles.png b/media/image/crate_tiles.png index cc223cc..a13334a 100644 Binary files a/media/image/crate_tiles.png and b/media/image/crate_tiles.png differ diff --git a/media/image/dither1.png b/media/image/dither1.png new file mode 100644 index 0000000..3abd635 Binary files /dev/null and b/media/image/dither1.png differ diff --git a/media/image/glove.png b/media/image/glove.png new file mode 100644 index 0000000..523706f Binary files /dev/null and b/media/image/glove.png differ diff --git a/media/image/lift.png b/media/image/lift.png new file mode 100644 index 0000000..7bd32cf Binary files /dev/null and b/media/image/lift.png differ diff --git a/project.godot b/project.godot index 8135241..feb2748 100644 --- a/project.godot +++ b/project.godot @@ -49,6 +49,11 @@ _global_script_classes=[ { "language": "GDScript", "path": "res://src/actor/Passthrough.gd" }, { +"base": "Actor", +"class": "Powerup", +"language": "GDScript", +"path": "res://src/actor/powerup/Powerup.gd" +}, { "base": "Node2D", "class": "Stage", "language": "GDScript", @@ -78,6 +83,7 @@ _global_script_class_icons={ "EditorTheme": "", "Exit": "", "Passthrough": "", +"Powerup": "", "Stage": "", "Switch": "", "SwitchBlock": "", diff --git a/src/actor/Player.gd b/src/actor/Player.gd index d30a4e4..d217af4 100644 --- a/src/actor/Player.gd +++ b/src/actor/Player.gd @@ -39,6 +39,11 @@ var scene_box = preload("res://src/actor/Box.tscn") var scene_explosion = preload("res://src/fx/Explosion.tscn") var scene_explosion2 = preload("res://src/fx/Explosion2.tscn") +# powerups +var is_powerup_push := false +var is_powerup_lift := false + + # Called when the node enters the scene tree for the first time. func _ready(): if Engine.editor_hint: @@ -87,6 +92,10 @@ func _process(delta): if is_pickup: pass + # collect powerup + for a in check_area_actors("powerup"): + collect_powerup(a) + # open door if btn.p("up"): for a in check_area_actors("door"): @@ -149,7 +158,7 @@ func _process(delta): is_jump = false # box pickup / throw - if btn.p("action"): + if is_powerup_lift and btn.p("action"): if is_pickup: if btn.d("down"): box_release(speed_drop.x * dir, speed_drop.y) @@ -166,10 +175,9 @@ func _process(delta): box_pickup(0, 1) else: box_pickup(dir * 4, 0) - # push box - if is_on_floor and move_get_dist().x != 0 and not is_pickup: + if is_powerup_push and is_on_floor and move_get_dist().x != 0 and not is_pickup: for a in check_area_actors("box", position.x + dir): a.push(dir) # slow movement when pushing @@ -178,6 +186,14 @@ func _process(delta): move_x(dir) break +func collect_powerup(arg : Actor): + match arg.powerup_name: + "push": + is_powerup_push = true + "lift": + is_powerup_lift = true + arg.collect() + func box_release(sx := 0.0, sy := 0.0): is_pickup = false pickup_box.speed = Vector2(sx, sy) diff --git a/src/actor/powerup/Powerup.gd b/src/actor/powerup/Powerup.gd new file mode 100644 index 0000000..d44e53e --- /dev/null +++ b/src/actor/powerup/Powerup.gd @@ -0,0 +1,12 @@ +tool +extends Actor +class_name Powerup + +export var powerup_name = "push" + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + +func collect(): + queue_free() diff --git a/src/actor/powerup/PowerupLift.tscn b/src/actor/powerup/PowerupLift.tscn new file mode 100644 index 0000000..137c826 --- /dev/null +++ b/src/actor/powerup/PowerupLift.tscn @@ -0,0 +1,15 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://media/image/lift.png" type="Texture" id=1] +[ext_resource path="res://src/actor/powerup/Powerup.gd" type="Script" id=2] + +[node name="PowerupLift" type="Node2D" groups=[ +"actor", +"powerup", +]] +script = ExtResource( 2 ) +powerup_name = "lift" + +[node name="lift" type="Sprite" parent="."] +position = Vector2( 4, 4 ) +texture = ExtResource( 1 ) diff --git a/src/actor/powerup/PowerupPush.tscn b/src/actor/powerup/PowerupPush.tscn new file mode 100644 index 0000000..e3ef702 --- /dev/null +++ b/src/actor/powerup/PowerupPush.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://media/image/glove.png" type="Texture" id=1] +[ext_resource path="res://src/actor/powerup/Powerup.gd" type="Script" id=2] + +[node name="PowerupPush" type="Node2D" groups=[ +"actor", +"powerup", +]] +script = ExtResource( 2 ) + +[node name="glove" type="Sprite" parent="."] +position = Vector2( 4, 4 ) +texture = ExtResource( 1 ) diff --git a/src/map/A01.tscn b/src/map/A01.tscn index 39878de..06dee98 100644 --- a/src/map/A01.tscn +++ b/src/map/A01.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=2] +[gd_scene load_steps=13 format=2] [ext_resource path="res://src/stage/Stage.gd" type="Script" id=1] [ext_resource path="res://src/actor/Player.tscn" type="PackedScene" id=2] @@ -9,19 +9,23 @@ [ext_resource path="res://src/actor/Box.tscn" type="PackedScene" id=7] [ext_resource path="res://src/map/Room.gd" type="Script" id=8] [ext_resource path="res://src/map/RoomManager.gd" type="Script" id=9] +[ext_resource path="res://media/image/dither1.png" type="Texture" id=10] +[ext_resource path="res://src/actor/powerup/PowerupPush.tscn" type="PackedScene" id=11] +[ext_resource path="res://src/actor/powerup/PowerupLift.tscn" type="PackedScene" id=12] [node name="Stage" type="Node2D"] script = ExtResource( 1 ) stage_name = "1-1" [node name="SolidTileMap" parent="." instance=ExtResource( 3 )] -tile_data = PoolIntArray( -1048604, 0, 0, -1048603, 0, 0, -1048602, 0, 0, -1048601, 0, 0, -1048600, 0, 0, -1048599, 0, 0, -1048598, 0, 0, -1048597, 0, 0, -1048596, 0, 0, -1048595, 0, 0, -1048594, 0, 0, -1048593, 0, 0, -1048592, 0, 0, -1048591, 0, 0, -1048590, 0, 0, -1048589, 0, 0, -1048588, 0, 0, -1048587, 0, 0, -1048586, 0, 0, -1048585, 0, 0, -1048584, 0, 0, -1048583, 0, 0, -1048582, 0, 0, -1048581, 0, 0, -1048580, 0, 0, -1048579, 0, 0, -1048578, 0, 0, -1048577, 0, 0, -983068, 0, 0, -983041, 0, 0, -917532, 0, 0, -917505, 0, 0, -851996, 0, 0, -851969, 0, 0, -786460, 0, 0, -786433, 0, 0, -720924, 0, 0, -720897, 0, 0, -655388, 0, 0, -655361, 0, 0, -589852, 0, 0, -589825, 0, 0, -524316, 0, 0, -524289, 0, 0, -458780, 0, 0, -458779, 0, 0, -458778, 0, 0, -458753, 0, 0, -393244, 0, 0, -393217, 0, 0, -327708, 0, 0, -327681, 0, 0, -262172, 0, 0, -262169, 0, 0, -262168, 0, 0, -262145, 0, 0, -196636, 0, 0, -196629, 0, 0, -196628, 0, 0, -196609, 0, 0, -131100, 0, 0, -131073, 0, 0, -65564, 0, 0, -65559, 0, 0, -65558, 0, 0, -65538, 0, 0, -65537, 0, 0, -28, 0, 0, -3, 0, 0, -2, 0, 0, -1, 0, 0, 65508, 0, 0, 65511, 0, 0, 65512, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 14, 0, 0, 15, 0, 0, 16, 0, 0, 17, 0, 0, 18, 0, 0, 19, 0, 0, 20, 0, 0, 21, 0, 0, 22, 0, 0, 23, 0, 0, 24, 0, 0, 25, 0, 0, 26, 0, 0, 27, 0, 0, 28, 0, 0, 29, 0, 0, 30, 0, 0, 31, 0, 0, 32, 0, 0, 33, 0, 0, 34, 0, 0, 35, 0, 0, 36, 0, 0, 37, 0, 0, 38, 0, 0, 39, 0, 0, 40, 0, 0, 41, 0, 0, 42, 0, 0, 43, 0, 0, 44, 0, 0, 45, 0, 0, 46, 0, 0, 47, 0, 0, 48, 0, 0, 49, 0, 0, 50, 0, 0, 51, 0, 0, 52, 0, 0, 53, 0, 0, 54, 0, 0, 55, 0, 0, 56, 0, 0, 57, 0, 0, 58, 0, 0, 59, 0, 0, 60, 0, 0, 61, 0, 0, 62, 0, 0, 63, 0, 0, 64, 0, 0, 65, 0, 0, 66, 0, 0, 67, 0, 0, 68, 0, 0, 69, 0, 0, 70, 0, 0, 131044, 0, 0, 65563, 0, 0, 65564, 0, 0, 65606, 0, 0, 196580, 0, 0, 196581, 0, 0, 131099, 0, 0, 131100, 0, 0, 131142, 0, 0, 262116, 0, 0, 196635, 0, 0, 196636, 0, 0, 196678, 0, 0, 327652, 0, 0, 262171, 0, 0, 262172, 0, 0, 262214, 0, 0, 393188, 0, 0, 393189, 0, 0, 393190, 0, 0, 393191, 0, 0, 393194, 0, 0, 393195, 0, 0, 393196, 0, 0, 393197, 0, 0, 393200, 0, 0, 393201, 0, 0, 393202, 0, 0, 393205, 0, 0, 393206, 0, 0, 393207, 0, 0, 393208, 0, 0, 393212, 0, 0, 393213, 0, 0, 393214, 0, 0, 393215, 0, 0, 327680, 0, 0, 327681, 0, 0, 327682, 0, 0, 327707, 0, 0, 327708, 0, 0, 327750, 0, 0, 458724, 0, 0, 458749, 0, 0, 458750, 0, 0, 458751, 0, 0, 393216, 0, 0, 393217, 0, 0, 393218, 0, 0, 393243, 0, 0, 393244, 0, 0, 393286, 0, 0, 524260, 0, 0, 524286, 0, 0, 524287, 0, 0, 458752, 0, 0, 458753, 0, 0, 458754, 0, 0, 458755, 0, 0, 458756, 0, 0, 458779, 0, 0, 458780, 0, 0, 458822, 0, 0, 589796, 0, 0, 589823, 0, 0, 524288, 0, 0, 524289, 0, 0, 524290, 0, 0, 524291, 0, 0, 524292, 0, 0, 524315, 0, 0, 524316, 0, 0, 524358, 0, 0, 655332, 0, 0, 655359, 0, 0, 589824, 0, 0, 589825, 0, 0, 589826, 0, 0, 589827, 0, 0, 589828, 0, 0, 589851, 0, 0, 589852, 0, 0, 589894, 0, 0, 720868, 0, 0, 720895, 0, 0, 655360, 0, 0, 655361, 0, 0, 655362, 0, 0, 655363, 0, 0, 655364, 0, 0, 655365, 0, 0, 655366, 0, 0, 655430, 0, 0, 786404, 0, 0, 786431, 0, 0, 720896, 0, 0, 720897, 0, 0, 720898, 0, 0, 720899, 0, 0, 720900, 0, 0, 720901, 0, 0, 720902, 0, 0, 720966, 0, 0, 851940, 0, 0, 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786448, 0, 0, 786449, 0, 0, 786450, 0, 0, 786451, 0, 0, 786452, 0, 0, 786453, 0, 0, 786454, 0, 0, 786502, 0, 0, 917476, 0, 0, 917503, 0, 0, 851968, 0, 0, 852038, 0, 0, 983012, 0, 0, 983039, 0, 0, 917504, 0, 0, 917574, 0, 0, 1048548, 0, 0, 1048575, 0, 0, 983040, 0, 0, 983041, 0, 0, 983042, 0, 0, 983043, 0, 0, 983044, 0, 0, 983045, 0, 0, 983046, 0, 0, 983047, 0, 0, 983048, 0, 0, 983049, 0, 0, 983050, 0, 0, 983051, 0, 0, 983052, 0, 0, 983053, 0, 0, 983054, 0, 0, 983055, 0, 0, 983056, 0, 0, 983057, 0, 0, 983058, 0, 0, 983059, 0, 0, 983060, 0, 0, 983061, 0, 0, 983062, 0, 0, 983063, 0, 0, 983064, 0, 0, 983065, 0, 0, 983066, 0, 0, 983067, 0, 0, 983068, 0, 0, 983069, 0, 0, 983070, 0, 0, 983071, 0, 0, 983072, 0, 0, 983073, 0, 0, 983074, 0, 0, 983075, 0, 0, 983076, 0, 0, 983077, 0, 0, 983078, 0, 0, 983079, 0, 0, 983080, 0, 0, 983085, 0, 0, 983086, 0, 0, 983087, 0, 0, 983088, 0, 0, 983089, 0, 0, 983090, 0, 0, 983091, 0, 0, 983092, 0, 0, 983093, 0, 0, 983094, 0, 0, 983095, 0, 0, 983096, 0, 0, 983097, 0, 0, 983098, 0, 0, 983099, 0, 0, 983100, 0, 0, 983101, 0, 0, 983102, 0, 0, 983103, 0, 0, 983104, 0, 0, 983105, 0, 0, 983106, 0, 0, 983107, 0, 0, 983108, 0, 0, 983109, 0, 0, 983110, 0, 0, 1114084, 0, 0, 1114111, 0, 0, 1048605, 0, 0, 1048606, 0, 0, 1048607, 0, 0, 1048608, 0, 0, 1048609, 0, 0, 1048610, 0, 0, 1048611, 0, 0, 1048612, 0, 0, 1048613, 0, 0, 1048614, 0, 0, 1048615, 0, 0, 1048616, 0, 0, 1048621, 0, 0, 1048622, 0, 0, 1048623, 0, 0, 1048624, 0, 0, 1048625, 0, 0, 1048626, 0, 0, 1048627, 0, 0, 1048628, 0, 0, 1048629, 0, 0, 1048630, 0, 0, 1048631, 0, 0, 1048632, 0, 0, 1179620, 0, 0, 1179647, 0, 0, 1114141, 0, 0, 1114168, 0, 0, 1245156, 0, 0, 1245183, 0, 0, 1179677, 0, 0, 1179690, 0, 0, 1179691, 0, 0, 1179704, 0, 0, 1310692, 0, 0, 1310719, 0, 0, 1245213, 0, 0, 1245222, 0, 0, 1245223, 0, 0, 1245224, 0, 0, 1245225, 0, 0, 1245226, 0, 0, 1245227, 0, 0, 1245228, 0, 0, 1245229, 0, 0, 1245230, 0, 0, 1245231, 0, 0, 1245240, 0, 0, 1376228, 0, 0, 1376255, 0, 0, 1310749, 0, 0, 1310751, 0, 0, 1310753, 0, 0, 1310755, 0, 0, 1310758, 0, 0, 1310767, 0, 0, 1310770, 0, 0, 1310772, 0, 0, 1310774, 0, 0, 1310776, 0, 0, 1441764, 0, 0, 1441791, 0, 0, 1376285, 0, 0, 1376294, 0, 0, 1376303, 0, 0, 1376312, 0, 0, 1507300, 0, 0, 1507327, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1441824, 0, 0, 1441825, 0, 0, 1441826, 0, 0, 1441827, 0, 0, 1441828, 0, 0, 1441829, 0, 0, 1441830, 0, 0, 1441839, 0, 0, 1441840, 0, 0, 1441841, 0, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 0, 0, 1441846, 0, 0, 1441847, 0, 0, 1441848, 0, 0, 1572836, 0, 0, 1572863, 0, 0, 1507357, 0, 0, 1507384, 0, 0, 1638372, 0, 0, 1638399, 0, 0, 1572893, 0, 0, 1572920, 0, 0, 1703908, 0, 0, 1703935, 0, 0, 1638429, 0, 0, 1638456, 0, 0, 1769444, 0, 0, 1769471, 0, 0, 1703965, 0, 0, 1703992, 0, 0, 1834980, 0, 0, 1835007, 0, 0, 1769501, 0, 0, 1769528, 0, 0, 1900516, 0, 0, 1900517, 0, 0, 1900518, 0, 0, 1900519, 0, 0, 1900520, 0, 0, 1900521, 0, 0, 1900522, 0, 0, 1900523, 0, 0, 1900524, 0, 0, 1900525, 0, 0, 1900526, 0, 0, 1900527, 0, 0, 1900528, 0, 0, 1900529, 0, 0, 1900530, 0, 0, 1900531, 0, 0, 1900532, 0, 0, 1900533, 0, 0, 1900534, 0, 0, 1900535, 0, 0, 1900536, 0, 0, 1900537, 0, 0, 1900538, 0, 0, 1900539, 0, 0, 1900540, 0, 0, 1900541, 0, 0, 1900542, 0, 0, 1900543, 0, 0, 1835037, 0, 0, 1835064, 0, 0, 1900573, 0, 0, 1900600, 0, 0, 1966109, 0, 0, 1966136, 0, 0, 2031645, 0, 0, 2031646, 0, 0, 2031647, 0, 0, 2031648, 0, 0, 2031649, 0, 0, 2031650, 0, 0, 2031651, 0, 0, 2031652, 0, 0, 2031653, 0, 0, 2031654, 0, 0, 2031655, 0, 0, 2031656, 0, 0, 2031657, 0, 0, 2031658, 0, 0, 2031659, 0, 0, 2031660, 0, 0, 2031661, 0, 0, 2031662, 0, 0, 2031663, 0, 0, 2031664, 0, 0, 2031665, 0, 0, 2031666, 0, 0, 2031667, 0, 0, 2031668, 0, 0, 2031669, 0, 0, 2031670, 0, 0, 2031671, 0, 0, 2031672, 0, 0 ) +tile_data = PoolIntArray( -1048520, 0, 0, -982984, 0, 0, -917448, 0, 0, -851912, 0, 0, -786376, 0, 0, -720840, 0, 0, -655304, 0, 0, -589768, 0, 0, -524232, 0, 0, -524180, 0, 0, -524179, 0, 0, -524178, 0, 0, -524177, 0, 0, -524176, 0, 0, -524175, 0, 0, -524174, 0, 0, -524173, 0, 0, -524172, 0, 0, -524171, 0, 0, -524170, 0, 0, -524169, 0, 0, -524168, 0, 0, -524167, 0, 0, -524166, 0, 0, -524165, 0, 0, -524164, 0, 0, -524163, 0, 0, -524162, 0, 0, -524161, 0, 0, -524160, 0, 0, -524159, 0, 0, -524158, 0, 0, -524157, 0, 0, -458696, 0, 0, -458644, 0, 0, -393160, 0, 0, -393108, 0, 0, -327624, 0, 0, -327572, 0, 0, -262088, 0, 0, -262079, 0, 0, -262078, 0, 0, -262040, 0, 0, -262039, 0, 0, -262038, 0, 0, -262037, 0, 0, -262036, 0, 0, -196552, 0, 0, -196545, 0, 0, -196544, 0, 0, -196543, 0, 0, -196542, 0, 0, -196541, 0, 0, -196540, 0, 0, -196504, 0, 0, -131016, 0, 0, -131011, 0, 0, -131010, 0, 0, -131009, 0, 0, -131008, 0, 0, -131007, 0, 0, -131006, 0, 0, -131005, 0, 0, -131004, 0, 0, -131003, 0, 0, -131002, 0, 0, -130968, 0, 0, -65480, 0, 0, -65479, 0, 0, -65478, 0, 0, -65477, 0, 0, -65476, 0, 0, -65475, 0, 0, -65474, 0, 0, -65473, 0, 0, -65472, 0, 0, -65471, 0, 0, -65470, 0, 0, -65469, 0, 0, -65468, 0, 0, -65467, 0, 0, -65466, 0, 0, -65465, 0, 0, -65464, 0, 0, -65463, 0, 0, -65462, 0, 0, -65461, 0, 0, -65460, 0, 0, -65459, 0, 0, -65458, 0, 0, -65457, 0, 0, -65456, 0, 0, -65455, 0, 0, -65454, 0, 0, -65453, 0, 0, -65452, 0, 0, -65451, 0, 0, -65450, 0, 0, -65449, 0, 0, -65448, 0, 0, -65447, 0, 0, -65446, 0, 0, -65445, 0, 0, -65444, 0, 0, -65439, 0, 0, -65438, 0, 0, -65437, 0, 0, -65436, 0, 0, -65435, 0, 0, -65434, 0, 0, -65433, 0, 0, -65432, 0, 0, 65507, 0, 0, 88, 0, 0, 89, 0, 0, 90, 0, 0, 91, 0, 0, 92, 0, 0, 97, 0, 0, 98, 0, 0, 99, 0, 0, 100, 0, 0, 101, 0, 0, 102, 0, 0, 103, 0, 0, 104, 0, 0, 105, 0, 0, 106, 0, 0, 107, 0, 0, 108, 0, 0, 109, 0, 0, 110, 0, 0, 111, 0, 0, 131043, 0, 0, 65623, 0, 0, 65624, 0, 0, 65631, 0, 0, 65632, 0, 0, 65633, 0, 0, 65647, 0, 0, 196579, 0, 0, 131158, 0, 0, 131159, 0, 0, 131167, 0, 0, 131168, 0, 0, 131183, 0, 0, 262115, 0, 0, 196693, 0, 0, 196694, 0, 0, 196701, 0, 0, 196702, 0, 0, 196703, 0, 0, 196719, 0, 0, 327651, 0, 0, 262228, 0, 0, 262229, 0, 0, 262237, 0, 0, 262238, 0, 0, 262255, 0, 0, 393187, 0, 0, 327707, 0, 0, 327741, 0, 0, 327742, 0, 0, 327743, 0, 0, 327744, 0, 0, 327745, 0, 0, 327746, 0, 0, 327747, 0, 0, 327748, 0, 0, 327749, 0, 0, 327750, 0, 0, 327751, 0, 0, 327752, 0, 0, 327753, 0, 0, 327754, 0, 0, 327755, 0, 0, 327756, 0, 0, 327757, 0, 0, 327758, 0, 0, 327759, 0, 0, 327760, 0, 0, 327761, 0, 0, 327762, 0, 0, 327763, 0, 0, 327764, 0, 0, 327771, 0, 0, 327772, 0, 0, 327773, 0, 0, 327791, 0, 0, 458723, 0, 0, 393242, 0, 0, 393243, 0, 0, 393276, 0, 0, 393277, 0, 0, 393307, 0, 0, 393308, 0, 0, 393327, 0, 0, 524259, 0, 0, 458777, 0, 0, 458778, 0, 0, 458779, 0, 0, 458811, 0, 0, 458812, 0, 0, 458841, 0, 0, 458842, 0, 0, 458843, 0, 0, 458863, 0, 0, 589795, 0, 0, 524312, 0, 0, 524313, 0, 0, 524314, 0, 0, 524315, 0, 0, 524346, 0, 0, 524347, 0, 0, 524377, 0, 0, 524378, 0, 0, 524399, 0, 0, 655331, 0, 0, 589847, 0, 0, 589848, 0, 0, 589849, 0, 0, 589850, 0, 0, 589851, 0, 0, 589881, 0, 0, 589882, 0, 0, 589895, 0, 0, 589896, 0, 0, 589897, 0, 0, 589898, 0, 0, 589899, 0, 0, 589900, 0, 0, 589901, 0, 0, 589902, 0, 0, 589903, 0, 0, 589904, 0, 0, 589905, 0, 0, 589906, 0, 0, 589907, 0, 0, 589908, 0, 0, 589909, 0, 0, 589910, 0, 0, 589911, 0, 0, 589912, 0, 0, 589913, 0, 0, 589935, 0, 0, 720867, 0, 0, 655382, 0, 0, 655383, 0, 0, 655384, 0, 0, 655385, 0, 0, 655386, 0, 0, 655387, 0, 0, 655390, 0, 0, 655391, 0, 0, 655392, 0, 0, 655393, 0, 0, 655394, 0, 0, 655398, 0, 0, 655399, 0, 0, 655400, 0, 0, 655401, 0, 0, 655402, 0, 0, 655406, 0, 0, 655407, 0, 0, 655408, 0, 0, 655409, 0, 0, 655410, 0, 0, 655414, 0, 0, 655415, 0, 0, 655416, 0, 0, 655417, 0, 0, 655431, 0, 0, 655471, 0, 0, 786403, 0, 0, 720918, 0, 0, 720919, 0, 0, 720920, 0, 0, 720921, 0, 0, 720922, 0, 0, 720923, 0, 0, 720924, 0, 0, 720925, 0, 0, 720926, 0, 0, 720930, 0, 0, 720931, 0, 0, 720932, 0, 0, 720933, 0, 0, 720934, 0, 0, 720938, 0, 0, 720939, 0, 0, 720940, 0, 0, 720941, 0, 0, 720942, 0, 0, 720946, 0, 0, 720947, 0, 0, 720948, 0, 0, 720949, 0, 0, 720950, 0, 0, 720958, 0, 0, 720959, 0, 0, 720960, 0, 0, 720961, 0, 0, 720962, 0, 0, 720963, 0, 0, 720964, 0, 0, 720965, 0, 0, 720966, 0, 0, 720967, 0, 0, 721007, 0, 0, 851939, 0, 0, 851942, 0, 0, 851943, 0, 0, 851944, 0, 0, 851945, 0, 0, 786534, 0, 0, 786535, 0, 0, 786543, 0, 0, 917475, 0, 0, 917477, 0, 0, 917478, 0, 0, 917479, 0, 0, 917480, 0, 0, 917481, 0, 0, 917482, 0, 0, 852067, 0, 0, 852068, 0, 0, 852069, 0, 0, 852070, 0, 0, 852071, 0, 0, 852072, 0, 0, 852073, 0, 0, 852074, 0, 0, 852079, 0, 0, 983011, 0, 0, 983014, 0, 0, 983017, 0, 0, 917601, 0, 0, 917602, 0, 0, 917603, 0, 0, 917604, 0, 0, 917605, 0, 0, 917606, 0, 0, 917607, 0, 0, 917608, 0, 0, 917609, 0, 0, 917610, 0, 0, 917611, 0, 0, 917612, 0, 0, 917615, 0, 0, 1048547, 0, 0, 1048548, 0, 0, 1048549, 0, 0, 1048550, 0, 0, 1048551, 0, 0, 1048552, 0, 0, 1048553, 0, 0, 1048554, 0, 0, 1048555, 0, 0, 1048556, 0, 0, 1048557, 0, 0, 1048558, 0, 0, 1048559, 0, 0, 1048560, 0, 0, 1048561, 0, 0, 1048562, 0, 0, 1048563, 0, 0, 1048564, 0, 0, 1048565, 0, 0, 1048566, 0, 0, 1048567, 0, 0, 1048568, 0, 0, 1048569, 0, 0, 1048570, 0, 0, 1048571, 0, 0, 1048572, 0, 0, 1048573, 0, 0, 1048574, 0, 0, 1048575, 0, 0, 983040, 0, 0, 983041, 0, 0, 983042, 0, 0, 983043, 0, 0, 983044, 0, 0, 983045, 0, 0, 983046, 0, 0, 983047, 0, 0, 983048, 0, 0, 983049, 0, 0, 983050, 0, 0, 983051, 0, 0, 983052, 0, 0, 983053, 0, 0, 983054, 0, 0, 983055, 0, 0, 983056, 0, 0, 983057, 0, 0, 983058, 0, 0, 983059, 0, 0, 983060, 0, 0, 983061, 0, 0, 983062, 0, 0, 983063, 0, 0, 983064, 0, 0, 983065, 0, 0, 983066, 0, 0, 983067, 0, 0, 983068, 0, 0, 983069, 0, 0, 983070, 0, 0, 983071, 0, 0, 983072, 0, 0, 983073, 0, 0, 983074, 0, 0, 983075, 0, 0, 983076, 0, 0, 983077, 0, 0, 983078, 0, 0, 983079, 0, 0, 983080, 0, 0, 983081, 0, 0, 983082, 0, 0, 983083, 0, 0, 983084, 0, 0, 983085, 0, 0, 983086, 0, 0, 983087, 0, 0, 983088, 0, 0, 983089, 0, 0, 983090, 0, 0, 983091, 0, 0, 983092, 0, 0, 983093, 0, 0, 983094, 0, 0, 983095, 0, 0, 983096, 0, 0, 983097, 0, 0, 983098, 0, 0, 983099, 0, 0, 983100, 0, 0, 983101, 0, 0, 983102, 0, 0, 983103, 0, 0, 983104, 0, 0, 983105, 0, 0, 983106, 0, 0, 983107, 0, 0, 983108, 0, 0, 983109, 0, 0, 983110, 0, 0, 983111, 0, 0, 983112, 0, 0, 983113, 0, 0, 983114, 0, 0, 983115, 0, 0, 983116, 0, 0, 983117, 0, 0, 983118, 0, 0, 983119, 0, 0, 983120, 0, 0, 983121, 0, 0, 983122, 0, 0, 983123, 0, 0, 983124, 0, 0, 983125, 0, 0, 983126, 0, 0, 983127, 0, 0, 983128, 0, 0, 983129, 0, 0, 983130, 0, 0, 983131, 0, 0, 983132, 0, 0, 983133, 0, 0, 983134, 0, 0, 983135, 0, 0, 983136, 0, 0, 983137, 0, 0, 983138, 0, 0, 983139, 0, 0, 983140, 0, 0, 983141, 0, 0, 983142, 0, 0, 983143, 0, 0, 983144, 0, 0, 983145, 0, 0, 983146, 0, 0, 983147, 0, 0, 983148, 0, 0, 983149, 0, 0, 983150, 0, 0, 983151, 0, 0 ) [node name="SpikeTileMap" parent="." instance=ExtResource( 4 )] z_as_relative = false [node name="DetailTileMap" parent="." instance=ExtResource( 5 )] z_index = -11 +tile_data = PoolIntArray( 655349, 0, 0, 655350, 0, 0, 655351, 0, 0, 720885, 0, 0, 720886, 0, 0, 720887, 0, 0, 786421, 0, 0, 786422, 0, 0, 786423, 0, 0, 851958, 1, 0, 786456, 1, 0, 917494, 1, 0, 851976, -1073741822, 0, 851977, 0, 0, 851978, -1610612734, 0, 851992, 1073741824, 0, 983030, 1, 0, 983037, 2, 0, 983038, 0, 0, 983039, 0, 0, 917504, 0, 0, 917505, 0, 0, 917506, 536870914, 0, 917513, 1, 0 ) [node name="GameCamera" parent="." instance=ExtResource( 6 )] position = Vector2( 112, 64 ) @@ -46,18 +50,73 @@ draw_color = Color( 1, 1, 1, 0.501961 ) [node name="Room2" type="ColorRect" parent="Rooms"] margin_left = 224.0 -margin_right = 568.0 +margin_right = 448.0 margin_bottom = 128.0 color = Color( 1, 1, 0, 0.298039 ) __meta__ = { "_edit_use_anchors_": false } -[node name="Room3" type="ColorRect" parent="Rooms"] -margin_left = 232.0 +[node name="Room5" type="ColorRect" parent="Rooms"] +margin_left = 448.0 margin_top = 128.0 -margin_right = 456.0 +margin_right = 672.0 margin_bottom = 256.0 +color = Color( 1, 1, 0, 0.298039 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Room6" type="ColorRect" parent="Rooms"] +margin_left = 672.0 +margin_right = 896.0 +margin_bottom = 128.0 +color = Color( 1, 1, 0, 0.298039 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Room9" type="ColorRect" parent="Rooms"] +margin_left = 448.0 +margin_top = -128.0 +margin_right = 672.0 +color = Color( 1, 1, 0, 0.298039 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Room10" type="ColorRect" parent="Rooms"] +margin_left = 896.0 +margin_top = -128.0 +margin_right = 1120.0 +color = Color( 1, 1, 0, 0.298039 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Room3" type="ColorRect" parent="Rooms"] +margin_left = 448.0 +margin_right = 672.0 +margin_bottom = 128.0 +color = Color( 1, 0, 1, 0.298039 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Room7" type="ColorRect" parent="Rooms"] +margin_left = 672.0 +margin_top = 128.0 +margin_right = 896.0 +margin_bottom = 256.0 +color = Color( 1, 0, 1, 0.298039 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Room8" type="ColorRect" parent="Rooms"] +margin_left = 672.0 +margin_top = -128.0 +margin_right = 896.0 color = Color( 1, 0, 1, 0.298039 ) __meta__ = { "_edit_use_anchors_": false @@ -65,17 +124,49 @@ __meta__ = { [node name="Room4" type="ColorRect" parent="Rooms"] margin_left = -224.0 -margin_top = -136.0 -margin_bottom = 232.0 +margin_bottom = 128.0 color = Color( 1, 1, 0, 0.298039 ) __meta__ = { "_edit_use_anchors_": false } +[node name="Backgrounds" type="Node2D" parent="."] +z_index = -100 +z_as_relative = false + +[node name="ColorRect" type="ColorRect" parent="Backgrounds"] +margin_left = -224.0 +margin_right = 224.0 +margin_bottom = 128.0 +color = Color( 0.160784, 0.678431, 1, 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="dither1" type="Sprite" parent="Backgrounds"] +position = Vector2( 288, 100 ) +texture = ExtResource( 10 ) +region_enabled = true +region_rect = Rect2( 0, 0, 128, 8 ) + +[node name="dither2" type="Sprite" parent="Backgrounds"] +position = Vector2( 288, 112 ) +texture = ExtResource( 10 ) +region_rect = Rect2( 0, 0, 128, 32 ) + [node name="Actors" type="Node2D" parent="."] [node name="Player" parent="Actors" instance=ExtResource( 2 )] -position = Vector2( 61, 79 ) +position = Vector2( 208, 107 ) [node name="Box" parent="Actors" instance=ExtResource( 7 )] -position = Vector2( 148, 62 ) +position = Vector2( 559, 112 ) + +[node name="Box2" parent="Actors" instance=ExtResource( 7 )] +position = Vector2( 811, -16 ) + +[node name="PowerupPush" parent="Actors" instance=ExtResource( 11 )] +position = Vector2( 820, 80 ) + +[node name="PowerupLift" parent="Actors" instance=ExtResource( 12 )] +position = Vector2( 524, -48 )