diff --git a/assets/obstacle object/speiku.aseprite b/assets/obstacle object/speiku.aseprite index 80b74f3..7f29946 100644 Binary files a/assets/obstacle object/speiku.aseprite and b/assets/obstacle object/speiku.aseprite differ diff --git a/assets/obstacle object/speiku/speiku1.png b/assets/obstacle object/speiku/speiku1.png index d7b5e61..4a3e711 100644 Binary files a/assets/obstacle object/speiku/speiku1.png and b/assets/obstacle object/speiku/speiku1.png differ diff --git a/assets/obstacle object/speiku/speiku10.png b/assets/obstacle object/speiku/speiku10.png index ad77b81..f3d7d21 100644 Binary files a/assets/obstacle object/speiku/speiku10.png and b/assets/obstacle object/speiku/speiku10.png differ diff --git a/assets/obstacle object/speiku/speiku11.png b/assets/obstacle object/speiku/speiku11.png index cdce628..cf6b15a 100644 Binary files a/assets/obstacle object/speiku/speiku11.png and b/assets/obstacle object/speiku/speiku11.png differ diff --git a/assets/obstacle object/speiku/speiku12.png b/assets/obstacle object/speiku/speiku12.png index 2c8c7e9..d9cda9f 100644 Binary files a/assets/obstacle object/speiku/speiku12.png and b/assets/obstacle object/speiku/speiku12.png differ diff --git a/assets/obstacle object/speiku/speiku13.png b/assets/obstacle object/speiku/speiku13.png index 5df994d..ec0959a 100644 Binary files a/assets/obstacle object/speiku/speiku13.png and b/assets/obstacle object/speiku/speiku13.png differ diff --git a/assets/obstacle object/speiku/speiku14.png b/assets/obstacle object/speiku/speiku14.png index e6706cd..8d756d6 100644 Binary files a/assets/obstacle object/speiku/speiku14.png and b/assets/obstacle object/speiku/speiku14.png differ diff --git a/assets/obstacle object/speiku/speiku15.png b/assets/obstacle object/speiku/speiku15.png index 704b05f..04e8d14 100644 Binary files a/assets/obstacle object/speiku/speiku15.png and b/assets/obstacle object/speiku/speiku15.png differ diff --git a/assets/obstacle object/speiku/speiku16.png b/assets/obstacle object/speiku/speiku16.png index 227c28f..9f2eb23 100644 Binary files a/assets/obstacle object/speiku/speiku16.png and b/assets/obstacle object/speiku/speiku16.png differ diff --git a/assets/obstacle object/speiku/speiku17.png b/assets/obstacle object/speiku/speiku17.png index 37058a0..e02c296 100644 Binary files a/assets/obstacle object/speiku/speiku17.png and b/assets/obstacle object/speiku/speiku17.png differ diff --git a/assets/obstacle object/speiku/speiku18.png b/assets/obstacle object/speiku/speiku18.png index 89bbe84..ff164c2 100644 Binary files a/assets/obstacle object/speiku/speiku18.png and b/assets/obstacle object/speiku/speiku18.png differ diff --git a/assets/obstacle object/speiku/speiku19.png b/assets/obstacle object/speiku/speiku19.png index c141c2c..5238365 100644 Binary files a/assets/obstacle object/speiku/speiku19.png and b/assets/obstacle object/speiku/speiku19.png differ diff --git a/assets/obstacle object/speiku/speiku2.png b/assets/obstacle object/speiku/speiku2.png index 8d83b0b..0a595cf 100644 Binary files a/assets/obstacle object/speiku/speiku2.png and b/assets/obstacle object/speiku/speiku2.png differ diff --git a/assets/obstacle object/speiku/speiku20.png b/assets/obstacle object/speiku/speiku20.png index d6c3ffc..661085a 100644 Binary files a/assets/obstacle object/speiku/speiku20.png and b/assets/obstacle object/speiku/speiku20.png differ diff --git a/assets/obstacle object/speiku/speiku21.png b/assets/obstacle object/speiku/speiku21.png index 5df994d..ec0959a 100644 Binary files a/assets/obstacle object/speiku/speiku21.png and b/assets/obstacle object/speiku/speiku21.png differ diff --git a/assets/obstacle object/speiku/speiku22.png b/assets/obstacle object/speiku/speiku22.png index 2375ea0..0efdf79 100644 Binary files a/assets/obstacle object/speiku/speiku22.png and b/assets/obstacle object/speiku/speiku22.png differ diff --git a/assets/obstacle object/speiku/speiku23.png b/assets/obstacle object/speiku/speiku23.png index bb9b3f4..047ecce 100644 Binary files a/assets/obstacle object/speiku/speiku23.png and b/assets/obstacle object/speiku/speiku23.png differ diff --git a/assets/obstacle object/speiku/speiku24.png b/assets/obstacle object/speiku/speiku24.png index 8ae7d33..251e2a0 100644 Binary files a/assets/obstacle object/speiku/speiku24.png and b/assets/obstacle object/speiku/speiku24.png differ diff --git a/assets/obstacle object/speiku/speiku25.png b/assets/obstacle object/speiku/speiku25.png index cdce628..cf6b15a 100644 Binary files a/assets/obstacle object/speiku/speiku25.png and b/assets/obstacle object/speiku/speiku25.png differ diff --git a/assets/obstacle object/speiku/speiku26.png b/assets/obstacle object/speiku/speiku26.png index 05e8e16..c1e063d 100644 Binary files a/assets/obstacle object/speiku/speiku26.png and b/assets/obstacle object/speiku/speiku26.png differ diff --git a/assets/obstacle object/speiku/speiku27.png b/assets/obstacle object/speiku/speiku27.png index 704b05f..04e8d14 100644 Binary files a/assets/obstacle object/speiku/speiku27.png and b/assets/obstacle object/speiku/speiku27.png differ diff --git a/assets/obstacle object/speiku/speiku28.png b/assets/obstacle object/speiku/speiku28.png index e6706cd..8d756d6 100644 Binary files a/assets/obstacle object/speiku/speiku28.png and b/assets/obstacle object/speiku/speiku28.png differ diff --git a/assets/obstacle object/speiku/speiku29.png b/assets/obstacle object/speiku/speiku29.png index 5df994d..ec0959a 100644 Binary files a/assets/obstacle object/speiku/speiku29.png and b/assets/obstacle object/speiku/speiku29.png differ diff --git a/assets/obstacle object/speiku/speiku3.png b/assets/obstacle object/speiku/speiku3.png index 5df994d..ec0959a 100644 Binary files a/assets/obstacle object/speiku/speiku3.png and b/assets/obstacle object/speiku/speiku3.png differ diff --git a/assets/obstacle object/speiku/speiku30.png b/assets/obstacle object/speiku/speiku30.png index 2c8c7e9..d9cda9f 100644 Binary files a/assets/obstacle object/speiku/speiku30.png and b/assets/obstacle object/speiku/speiku30.png differ diff --git a/assets/obstacle object/speiku/speiku31.png b/assets/obstacle object/speiku/speiku31.png index cdce628..cf6b15a 100644 Binary files a/assets/obstacle object/speiku/speiku31.png and b/assets/obstacle object/speiku/speiku31.png differ diff --git a/assets/obstacle object/speiku/speiku32.png b/assets/obstacle object/speiku/speiku32.png index 4bd6042..5fd5f4c 100644 Binary files a/assets/obstacle object/speiku/speiku32.png and b/assets/obstacle object/speiku/speiku32.png differ diff --git a/assets/obstacle object/speiku/speiku4.png b/assets/obstacle object/speiku/speiku4.png index d87b0d1..37c39ff 100644 Binary files a/assets/obstacle object/speiku/speiku4.png and b/assets/obstacle object/speiku/speiku4.png differ diff --git a/assets/obstacle object/speiku/speiku5.png b/assets/obstacle object/speiku/speiku5.png index 37058a0..e02c296 100644 Binary files a/assets/obstacle object/speiku/speiku5.png and b/assets/obstacle object/speiku/speiku5.png differ diff --git a/assets/obstacle object/speiku/speiku6.png b/assets/obstacle object/speiku/speiku6.png index b6e3a79..c4885af 100644 Binary files a/assets/obstacle object/speiku/speiku6.png and b/assets/obstacle object/speiku/speiku6.png differ diff --git a/assets/obstacle object/speiku/speiku7.png b/assets/obstacle object/speiku/speiku7.png index d7b5e61..4a3e711 100644 Binary files a/assets/obstacle object/speiku/speiku7.png and b/assets/obstacle object/speiku/speiku7.png differ diff --git a/assets/obstacle object/speiku/speiku8.png b/assets/obstacle object/speiku/speiku8.png index 26a550d..b1bfc3f 100644 Binary files a/assets/obstacle object/speiku/speiku8.png and b/assets/obstacle object/speiku/speiku8.png differ diff --git a/assets/obstacle object/speiku/speiku9.png b/assets/obstacle object/speiku/speiku9.png index 8f89e52..aa71840 100644 Binary files a/assets/obstacle object/speiku/speiku9.png and b/assets/obstacle object/speiku/speiku9.png differ diff --git a/src/Actors/Blobby/BlobbyCam.gd b/src/Actors/Blobby/BlobbyCam.gd index b3a9a43..2641421 100644 --- a/src/Actors/Blobby/BlobbyCam.gd +++ b/src/Actors/Blobby/BlobbyCam.gd @@ -2,8 +2,9 @@ extends Camera2D var horizontal_facing = 0 var vertical_facing = 0 -var camera_horizontal_shift = 70 +var camera_horizontal_shift = 90 var camera_vertical_shift = 90 +var time: float = 0 onready var tween = $ShiftTween onready var original_x_zoom = zoom.x @@ -19,14 +20,14 @@ func _ready(): prev_camera_pos = get_camera_screen_center() offset.x = -camera_horizontal_shift if zoom.x == original_x_zoom else 0 -func _physics_process(_delta: float) -> void: +func _physics_process(delta: float) -> void: if(!GlobalState.is_dead): + time += delta _adapt_to_movement() #TODO Do this via a event or let it be to track blobbies movement better else: self.position = blobby.global_position _death_cam() - prev_camera_pos = get_camera_screen_center() func _set_boundaries(): # This is ok, because it only happens on initialization @@ -58,21 +59,26 @@ func _adapt_to_movement(): var target_offset: Vector2 = Vector2(0,0) var tween_v = false var tween_h = false - var new_h_facing = sign(get_camera_screen_center().x - prev_camera_pos.x) if abs(get_camera_screen_center().x - prev_camera_pos.x) >= 1 else 0.0 - if new_h_facing != 0 && horizontal_facing != new_h_facing: - horizontal_facing = new_h_facing - target_offset.x = camera_horizontal_shift * horizontal_facing - tween_h = true - - # var new_v_facing = sign(get_camera_position().y - prev_camera_pos.y) - # if new_v_facing != 0 && vertical_facing != new_v_facing: - # vertical_facing = new_v_facing - # target_offset.y = camera_vertical_shift * vertical_facing - # print(target_offset) - # tween_v = true + # TODO Make smarter + if(time > 0.1): + time = 0.0 + var cam_offset = get_camera_screen_center().x - prev_camera_pos.x + var new_h_facing = sign(cam_offset) + if new_h_facing != 0 && horizontal_facing != new_h_facing: + horizontal_facing = new_h_facing + target_offset.x = camera_horizontal_shift * horizontal_facing + tween_h = true + + # var new_v_facing = sign(get_camera_position().y - prev_camera_pos.y) + # if new_v_facing != 0 && vertical_facing != new_v_facing: + # vertical_facing = new_v_facing + # target_offset.y = camera_vertical_shift * vertical_facing + # print(target_offset) + # tween_v = true - if ((tween_h || tween_v ) && zoom == Vector2(original_x_zoom, original_y_zoom)): - #TODO Motion may be too complex + prev_camera_pos = get_camera_screen_center() + if ((tween_h || tween_v )): + #TODO Motion may be too complex tween.interpolate_property( self, "offset", @@ -82,8 +88,9 @@ func _adapt_to_movement(): Tween.TRANS_SINE, Tween.EASE_OUT ) + tween.start() - self.position = blobby.global_position + position = blobby.position func _death_cam(): $AnimationPlayer.play("deathCam") diff --git a/src/Actors/BlobbyCam.tscn b/src/Actors/BlobbyCam.tscn index 08abbf2..e0537c2 100644 --- a/src/Actors/BlobbyCam.tscn +++ b/src/Actors/BlobbyCam.tscn @@ -115,6 +115,30 @@ tracks/8/keys = { "update": 0, "values": [ Vector2( 0, 0 ) ] } +tracks/9/type = "value" +tracks/9/path = NodePath(".:drag_margin_h_enabled") +tracks/9/interp = 1 +tracks/9/loop_wrap = true +tracks/9/imported = false +tracks/9/enabled = true +tracks/9/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ true ] +} +tracks/10/type = "value" +tracks/10/path = NodePath(".:drag_margin_v_enabled") +tracks/10/interp = 1 +tracks/10/loop_wrap = true +tracks/10/imported = false +tracks/10/enabled = true +tracks/10/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ true ] +} [sub_resource type="Animation" id=6] resource_name = "deathCam" @@ -243,15 +267,12 @@ tracks/9/keys = { } [node name="BlobbyCam" type="Camera2D"] -scale = Vector2( 1.00291, 0.958333 ) rotating = true current = true zoom = Vector2( 0.75, 0.75 ) process_mode = 0 -drag_margin_left = 1.0 -drag_margin_top = 1.0 -drag_margin_right = 1.0 -drag_margin_bottom = 1.0 +drag_margin_h_enabled = true +drag_margin_v_enabled = true editor_draw_screen = false script = ExtResource( 1 ) diff --git a/src/Levels/01 Level.tscn b/src/Levels/01 Level.tscn index f4627f6..a2f2b1d 100644 --- a/src/Levels/01 Level.tscn +++ b/src/Levels/01 Level.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=2] +[gd_scene load_steps=14 format=2] [ext_resource path="res://src/Environment/AlienShipTileSet.tres" type="TileSet" id=1] [ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=2] @@ -10,12 +10,8 @@ [ext_resource path="res://src/Contraptions/Triggers/ThreeWhyButtons.tscn" type="PackedScene" id=8] [ext_resource path="res://src/Levels/Grass Test Level.tscn" type="PackedScene" id=9] [ext_resource path="res://src/Utilities/GameplaySignalManager.gd" type="Script" id=10] -[ext_resource path="res://src/Contraptions/Platform/DropThroughPlatform.tscn" type="PackedScene" id=11] [ext_resource path="res://src/Actors/BlobbyCam.tscn" type="PackedScene" id=12] [ext_resource path="res://src/Environment/ShaderGrass.tscn" type="PackedScene" id=13] -[ext_resource path="res://src/Contraptions/Platform/FlyingLaserCutter.tscn" type="PackedScene" id=14] -[ext_resource path="res://src/Contraptions/Platform/Spring.tscn" type="PackedScene" id=15] -[ext_resource path="res://src/Contraptions/Platform/FlyingPlatform.tscn" type="PackedScene" id=16] [sub_resource type="AnimationNodeStateMachinePlayback" id=4] @@ -31,10 +27,6 @@ __meta__ = { wait_time = 20.0 [node name="BlobbyCam" parent="." instance=ExtResource( 12 )] -drag_margin_left = 0.07 -drag_margin_top = 0.07 -drag_margin_right = 0.07 -drag_margin_bottom = 0.08 [node name="Blobby" parent="." instance=ExtResource( 2 )] unique_name_in_owner = true @@ -96,16 +88,6 @@ scale = Vector2( 0.133, 0.133 ) position = Vector2( 696, -48 ) scale = Vector2( 0.133, 0.133 ) -[node name="FlyingLaserCutter" parent="." instance=ExtResource( 14 )] -position = Vector2( 468, -132 ) -rotation = 1.5708 - -[node name="FlyingLaserCutter3" parent="." instance=ExtResource( 14 )] -position = Vector2( 588, -12 ) - -[node name="FlyingPlatform" parent="." instance=ExtResource( 16 )] -position = Vector2( 0, -41 ) - [node name="TileMap" type="TileMap" parent="."] tile_set = ExtResource( 1 ) cell_size = Vector2( 24, 24 ) @@ -114,7 +96,7 @@ cell_custom_transform = Transform2D( 24, 0, 0, 24, 0, 0 ) collision_layer = 8 collision_mask = 8 format = 1 -tile_data = PoolIntArray( -851975, 3, 0, -851974, 3, 0, -851973, 3, 0, -851972, 3, 0, -851971, 3, 0, -851970, 3, 0, -851969, 3, 0, -917504, 3, 0, -917503, 3, 0, -917502, 3, 0, -917501, 3, 0, -917500, 3, 0, -917499, 3, 0, -917498, 3, 0, -917497, 3, 0, -917496, 3, 0, -917495, 3, 0, -917494, 3, 0, -917493, 3, 0, -917492, 3, 0, -917491, 3, 0, -917490, 3, 0, -917489, 3, 0, -917488, 3, 0, -917487, 3, 0, -917486, 3, 0, -917485, 3, 0, -917484, 3, 0, -917483, 3, 0, -917482, 3, 0, -917481, 3, 0, -917480, 3, 0, -917479, 3, 0, -917478, 3, 0, -917477, 3, 0, -917476, 3, 0, -917475, 3, 0, -917474, 3, 0, -917473, 3, 0, -917472, 3, 0, -917471, 3, 0, -917470, 3, 0, -917469, 3, 0, -917468, 3, 0, -917467, 3, 0, -917466, 3, 0, -917465, 3, 0, -917464, 3, 0, -917463, 3, 0, -917462, 3, 0, -917461, 3, 0, -917460, 3, 0, -917459, 3, 0, -917458, 3, 0, -917457, 3, 0, -917456, 3, 0, -917455, 3, 0, -917454, 3, 0, -917453, 3, 0, -917452, 3, 0, -917451, 3, 0, -917450, 3, 0, -917449, 3, 0, -917448, 3, 0, -917447, 3, 0, -917446, 3, 0, -917445, 3, 0, -917444, 3, 0, -917443, 3, 0, -917442, 3, 0, -786439, 3, 0, -786438, -1610612735, 0, -786437, 1610612738, 0, -786436, 1610612738, 0, -786435, 1610612736, 0, -786434, 1610612738, 0, -786433, 1610612738, 0, -851968, 1610612736, 0, -851967, 1610612738, 0, -851966, 1610612738, 0, -851965, 1610612736, 0, -851964, 1610612738, 0, -851963, 1610612738, 0, -851962, 1610612736, 0, -851961, 1610612738, 0, -851960, 1610612738, 0, -851959, 1610612736, 0, -851958, 1610612738, 0, -851957, 1610612738, 0, -851956, 1610612736, 0, -851955, 1610612738, 0, -851954, 1610612738, 0, -851953, 1610612736, 0, -851952, 1610612738, 0, -851951, 1610612738, 0, -851950, 1610612736, 0, -851949, 1610612738, 0, -851948, 1610612738, 0, -851947, 1610612736, 0, -851946, 1610612738, 0, -851945, 1610612738, 0, -851944, 1610612736, 0, -851943, 1610612738, 0, -851942, 1610612738, 0, -851941, 1610612736, 0, -851940, 1610612738, 0, -851939, 1610612738, 0, -851938, 1610612736, 0, -851937, 1610612738, 0, -851936, 1610612738, 0, -851935, 3, 0, -851934, 1610612738, 0, -851933, 1610612738, 0, -851932, 1610612736, 0, -851931, 1610612738, 0, -851930, 1610612738, 0, -851929, 1610612736, 0, -851928, 1610612738, 0, -851927, 1610612738, 0, -851926, 1610612736, 0, -851925, 1610612738, 0, -851924, 1610612738, 0, -851923, 1610612736, 0, -851922, 1610612738, 0, -851921, 1610612738, 0, -851920, 1610612736, 0, -851919, 1610612738, 0, -851918, 1610612738, 0, -851917, 1610612736, 0, -851916, 1610612738, 0, -851915, 1610612738, 0, -851914, 1610612736, 0, -851913, 1610612738, 0, -851912, 1610612738, 0, -851911, 1610612736, 0, -851910, 1610612738, 0, -851909, 1610612738, 0, -851908, 1610612736, 0, -851907, 3, 0, -851906, 3, 0, -720903, 3, 0, -720902, -1610612734, 0, -786371, -1073741822, 0, -786370, 3, 0, -655367, 3, 0, -655366, -1610612734, 0, -720835, -1073741824, 0, -720834, 3, 0, -589831, 3, 0, -589830, -1610612736, 0, -655299, -1073741822, 0, -655298, 3, 0, -524295, 3, 0, -524294, -1610612734, 0, -589763, -1073741822, 0, -589762, 3, 0, -458759, 3, 0, -458758, -1610612734, 0, -524227, -1073741824, 0, -524226, 3, 0, -393223, 3, 0, -393222, -1610612736, 0, -458691, -1073741822, 0, -458690, 3, 0, -327687, 3, 0, -327686, -1610612734, 0, -393155, -1073741822, 0, -393154, 3, 0, -262151, 3, 0, -262150, -1610612734, 0, -327619, -1073741824, 0, -327618, 3, 0, -196615, 3, 0, -196614, -1610612736, 0, -262088, 0, 0, -262087, 2, 0, -262086, 2, 0, -262085, 0, 0, -262084, 2, 0, -262083, 1610612739, 0, -262082, 3, 0, -131079, 3, 0, -131078, -1610612734, 0, -196570, 6, 0, -196568, 0, 0, -196567, 2, 0, -196566, 2, 0, -196565, 0, 0, -196564, 2, 0, -196563, 2, 0, -196562, 0, 0, -196559, 2, 0, -196556, 2, 0, -196555, 0, 0, -196554, 2, 0, -196553, 2, 0, -196552, 1610612739, 0, -196551, 1610612739, 0, -196550, 1610612739, 0, -196549, 1610612739, 0, -196548, 1610612739, 0, -196547, 3, 0, -196546, 3, 0, -65543, 3, 0, -65542, -1610612734, 0, -131064, 0, 0, -131063, 2, 0, -131059, -1073741822, 0, -131058, -1610612734, 0, -131054, 2, 0, -131053, 2, 0, -131052, 0, 0, -131051, 2, 0, -131036, 6, 0, -131034, 4, 0, -131033, 4, 0, -131032, 1610612739, 0, -131031, 1610612739, 0, -131030, 1610612739, 0, -131029, 1610612739, 0, -131028, 1610612739, 0, -131027, 1610612739, 0, -131026, 1610612739, 0, -131020, 1610612739, 0, -131019, 1610612739, 0, -131018, 1610612739, 0, -131017, 1610612739, 0, -131016, 1, 0, -131015, 1610612739, 0, -131014, 1610612739, 0, -131013, 1, 0, -131012, 1610612739, 0, -131011, 3, 0, -131010, 3, 0, -7, 3, 0, -6, -1610612736, 0, -65532, 2, 0, -65531, 0, 0, -65530, 2, 0, -65529, 4, 0, -65528, 1610612739, 0, -65527, 1610612739, 0, -65526, 2, 0, -65519, 0, 0, -65518, 1610612739, 0, -65517, 1610612739, 0, -65516, 1610612739, 0, -65515, 1610612739, 0, -65514, 4, 0, -65513, 0, 0, -65502, 6, 0, -65500, 4, 0, -65499, 0, 0, -65498, 3, 0, -65497, 3, 0, -65496, 1, 0, -65495, 1610612739, 0, -65494, 1610612739, 0, -65493, 1, 0, -65492, 1610612739, 0, -65491, 1610612739, 0, -65490, 1, 0, -65489, 2, 0, -65488, 2, 0, -65487, 2, 0, -65486, 2, 0, -65485, 2, 0, -65484, 1610612739, 0, -65483, 1, 0, -65482, 1610612739, 0, -65481, 1610612739, 0, -65480, 1610612739, 0, -65479, 1610612739, 0, -65478, 1610612739, 0, -65477, 1610612739, 0, -65476, 1610612739, 0, -65475, 3, 0, -65474, 3, 0, 65529, 3, 0, 65530, 3, 0, 65531, 4, 0, 65532, 0, 0, 65533, 2, 0, 65534, 2, 0, 65535, 0, 0, 0, 2, 0, 1, 2, 0, 2, 0, 0, 3, 4, 0, 4, 1610612739, 0, 5, 1610612739, 0, 6, 1610612739, 0, 7, 1610612739, 0, 8, 1610612739, 0, 9, 1610612739, 0, 10, 1610612739, 0, 11, 0, 0, 12, 2, 0, 13, 2, 0, 14, 0, 0, 15, 2, 0, 16, 2, 0, 17, 1610612739, 0, 18, 1610612739, 0, 19, 1610612739, 0, 20, 1610612739, 0, 21, 1610612739, 0, 22, 1610612739, 0, 23, 3, 0, 24, 3, 0, 25, 3, 0, 26, 0, 0, 27, 2, 0, 30, 2, 0, 31, 0, 0, 32, 2, 0, 33, 2, 0, 34, 0, 0, 35, 4, 0, 36, 1610612739, 0, 37, 1610612739, 0, 38, 1610612739, 0, 39, 1610612739, 0, 40, 1610612739, 0, 41, 1610612739, 0, 42, 1610612739, 0, 43, 1610612739, 0, 44, 1610612739, 0, 45, 1610612739, 0, 46, 1610612739, 0, 47, 1610612739, 0, 48, 1610612739, 0, 49, 1610612739, 0, 50, 1610612739, 0, 51, 1610612739, 0, 52, 1610612739, 0, 53, 1610612739, 0, 54, 1610612739, 0, 55, 1610612739, 0, 56, 1, 0, 57, 1610612739, 0, 58, 1610612739, 0, 59, 1, 0, 60, 1610612739, 0, 61, 1610612739, 0, 62, 3, 0, 131065, 3, 0, 131066, 3, 0, 131067, 3, 0, 131068, 3, 0, 131069, 3, 0, 131070, 3, 0, 131071, 3, 0, 65536, 3, 0, 65537, 3, 0, 65538, 3, 0, 65539, 3, 0, 65540, 3, 0, 65541, 3, 0, 65542, 3, 0, 65543, 3, 0, 65544, 3, 0, 65545, 3, 0, 65546, 3, 0, 65547, 3, 0, 65548, 3, 0, 65549, 3, 0, 65550, 3, 0, 65551, 3, 0, 65552, 3, 0, 65553, 3, 0, 65554, 3, 0, 65555, 3, 0, 65556, 3, 0, 65557, 3, 0, 65558, 3, 0, 65559, 3, 0, 65560, 3, 0, 65561, 3, 0, 65562, 3, 0, 65563, 3, 0, 65564, 3, 0, 65565, 3, 0, 65566, 3, 0, 65567, 3, 0, 65568, 3, 0, 65569, 3, 0, 65570, 3, 0, 65571, 3, 0, 65572, 3, 0, 65573, 3, 0, 65574, 3, 0, 65575, 3, 0, 65576, 3, 0, 65577, 3, 0, 65578, 3, 0, 65579, 3, 0, 65580, 3, 0, 65581, 3, 0, 65582, 3, 0, 65583, 3, 0, 65584, 3, 0, 65585, 3, 0, 65586, 3, 0, 65587, 3, 0, 65588, 3, 0, 65589, 3, 0, 65590, 3, 0, 65591, 3, 0, 65592, 3, 0, 65593, 3, 0, 65594, 3, 0, 65595, 3, 0, 65596, 3, 0, 65597, 3, 0, 65598, 3, 0 ) +tile_data = PoolIntArray( -851975, 3, 0, -851974, 3, 0, -851973, 3, 0, -851972, 3, 0, -851971, 3, 0, -851970, 3, 0, -851969, 3, 0, -917504, 3, 0, -917503, 3, 0, -917502, 3, 0, -917501, 3, 0, -917500, 3, 0, -917499, 3, 0, -917498, 3, 0, -917497, 3, 0, -917496, 3, 0, -917495, 3, 0, -917494, 3, 0, -917493, 3, 0, -917492, 3, 0, -917491, 3, 0, -917490, 3, 0, -917489, 3, 0, -917488, 3, 0, -917487, 3, 0, -917486, 3, 0, -917485, 3, 0, -917484, 3, 0, -917483, 3, 0, -917482, 3, 0, -917481, 3, 0, -917480, 3, 0, -917479, 3, 0, -917478, 3, 0, -917477, 3, 0, -917476, 3, 0, -917475, 3, 0, -917474, 3, 0, -917473, 3, 0, -917472, 3, 0, -917471, 3, 0, -917470, 3, 0, -917469, 3, 0, -917468, 3, 0, -917467, 3, 0, -917466, 3, 0, -917465, 3, 0, -917464, 3, 0, -917463, 3, 0, -917462, 3, 0, -917461, 3, 0, -917460, 3, 0, -917459, 3, 0, -917458, 3, 0, -917457, 3, 0, -917456, 3, 0, -917455, 3, 0, -917454, 3, 0, -917453, 3, 0, -917452, 3, 0, -917451, 3, 0, -917450, 3, 0, -917449, 3, 0, -917448, 3, 0, -917447, 3, 0, -917446, 3, 0, -917445, 3, 0, -917444, 3, 0, -917443, 3, 0, -917442, 3, 0, -786439, 3, 0, -786438, -1610612735, 0, -786437, 1610612738, 0, -786436, 1610612738, 0, -786435, 1610612736, 0, -786434, 1610612738, 0, -786433, 1610612738, 0, -851968, 1610612736, 0, -851967, 1610612738, 0, -851966, 1610612738, 0, -851965, 1610612736, 0, -851964, 1610612738, 0, -851963, 1610612738, 0, -851962, 1610612736, 0, -851961, 1610612738, 0, -851960, 1610612738, 0, -851959, 1610612736, 0, -851958, 1610612738, 0, -851957, 1610612738, 0, -851956, 1610612736, 0, -851955, 1610612738, 0, -851954, 1610612738, 0, -851953, 1610612736, 0, -851952, 1610612738, 0, -851951, 1610612738, 0, -851950, 1610612736, 0, -851949, 1610612738, 0, -851948, 1610612738, 0, -851947, 1610612736, 0, -851946, 1610612738, 0, -851945, 1610612738, 0, -851944, 1610612736, 0, -851943, 1610612738, 0, -851942, 1610612738, 0, -851941, 1610612736, 0, -851940, 1610612738, 0, -851939, 1610612738, 0, -851938, 1610612736, 0, -851937, 1610612738, 0, -851936, 1610612738, 0, -851935, 3, 0, -851934, 1610612738, 0, -851933, 1610612738, 0, -851932, 1610612736, 0, -851931, 1610612738, 0, -851930, 1610612738, 0, -851929, 1610612736, 0, -851928, 1610612738, 0, -851927, 1610612738, 0, -851926, 1610612736, 0, -851925, 1610612738, 0, -851924, 1610612738, 0, -851923, 1610612736, 0, -851922, 1610612738, 0, -851921, 1610612738, 0, -851920, 1610612736, 0, -851919, 1610612738, 0, -851918, 1610612738, 0, -851917, 1610612736, 0, -851916, 1610612738, 0, -851915, 1610612738, 0, -851914, 1610612736, 0, -851913, 1610612738, 0, -851912, 1610612738, 0, -851911, 1610612736, 0, -851910, 1610612738, 0, -851909, 1610612738, 0, -851908, 1610612736, 0, -851907, 3, 0, -851906, 3, 0, -720903, 3, 0, -720902, -1610612734, 0, -786371, -1073741822, 0, -786370, 3, 0, -655367, 3, 0, -655366, -1610612734, 0, -720835, -1073741824, 0, -720834, 3, 0, -589831, 3, 0, -589830, -1610612736, 0, -655299, -1073741822, 0, -655298, 3, 0, -524295, 3, 0, -524294, -1610612734, 0, -589763, -1073741822, 0, -589762, 3, 0, -458759, 3, 0, -458758, -1610612734, 0, -524227, -1073741824, 0, -524226, 3, 0, -393223, 3, 0, -393222, -1610612736, 0, -458691, -1073741822, 0, -458690, 3, 0, -327687, 3, 0, -327686, -1610612734, 0, -393155, -1073741822, 0, -393154, 3, 0, -262151, 3, 0, -262150, -1610612734, 0, -327619, -1073741824, 0, -327618, 3, 0, -196615, 3, 0, -196614, -1610612736, 0, -262088, 0, 0, -262087, 2, 0, -262086, 2, 0, -262085, 0, 0, -262084, 2, 0, -262083, 1610612739, 0, -262082, 3, 0, -131079, 3, 0, -131078, -1610612734, 0, -196568, 0, 0, -196567, 2, 0, -196566, 2, 0, -196565, 0, 0, -196564, 2, 0, -196563, 2, 0, -196562, 0, 0, -196559, 2, 0, -196556, 2, 0, -196555, 0, 0, -196554, 2, 0, -196553, 2, 0, -196552, 1610612739, 0, -196551, 1610612739, 0, -196550, 1610612739, 0, -196549, 1610612739, 0, -196548, 1610612739, 0, -196547, 3, 0, -196546, 3, 0, -65543, 3, 0, -65542, -1610612734, 0, -131064, 0, 0, -131063, 2, 0, -131059, -1073741822, 0, -131058, -1610612734, 0, -131054, 2, 0, -131053, 2, 0, -131052, 0, 0, -131051, 2, 0, -131034, 2, 0, -131033, 2, 0, -131032, 1610612739, 0, -131031, 1610612739, 0, -131030, 1610612739, 0, -131029, 1610612739, 0, -131028, 1610612739, 0, -131027, 1610612739, 0, -131026, 1610612739, 0, -131020, 1610612739, 0, -131019, 1610612739, 0, -131018, 1610612739, 0, -131017, 1610612739, 0, -131016, 1, 0, -131015, 1610612739, 0, -131014, 1610612739, 0, -131013, 1, 0, -131012, 1610612739, 0, -131011, 3, 0, -131010, 3, 0, -7, 3, 0, -6, -1610612736, 0, -65532, 2, 0, -65531, 0, 0, -65530, 2, 0, -65529, 4, 0, -65528, 1610612739, 0, -65527, 1610612739, 0, -65526, 2, 0, -65519, 0, 0, -65518, 1610612739, 0, -65517, 1610612739, 0, -65516, 1610612739, 0, -65515, 1610612739, 0, -65514, 4, 0, -65513, 0, 0, -65500, 2, 0, -65499, 0, 0, -65498, 3, 0, -65497, 3, 0, -65496, 1, 0, -65495, 1610612739, 0, -65494, 1610612739, 0, -65493, 1, 0, -65492, 1610612739, 0, -65491, 1610612739, 0, -65490, 1, 0, -65489, 2, 0, -65488, 2, 0, -65487, 2, 0, -65486, 2, 0, -65485, 2, 0, -65484, 1610612739, 0, -65483, 1, 0, -65482, 1610612739, 0, -65481, 1610612739, 0, -65480, 1610612739, 0, -65479, 1610612739, 0, -65478, 1610612739, 0, -65477, 1610612739, 0, -65476, 1610612739, 0, -65475, 3, 0, -65474, 3, 0, 65529, 3, 0, 65530, 3, 0, 65531, 4, 0, 65532, 0, 0, 65533, 2, 0, 65534, 2, 0, 65535, 0, 0, 0, 2, 0, 1, 2, 0, 2, 0, 0, 3, 4, 0, 4, 1610612739, 0, 5, 1610612739, 0, 6, 1610612739, 0, 7, 1610612739, 0, 8, 1610612739, 0, 9, 1610612739, 0, 10, 1610612739, 0, 11, 0, 0, 12, 2, 0, 13, 2, 0, 14, 0, 0, 15, 2, 0, 16, 2, 0, 17, 1610612739, 0, 18, 1610612739, 0, 19, 1610612739, 0, 20, 1610612739, 0, 21, 1610612739, 0, 22, 1610612739, 0, 23, 3, 0, 24, 3, 0, 25, 3, 0, 26, 0, 0, 27, 2, 0, 30, 2, 0, 31, 0, 0, 32, 2, 0, 33, 2, 0, 34, 0, 0, 35, 2, 0, 36, 1610612739, 0, 37, 1610612739, 0, 38, 1610612739, 0, 39, 1610612739, 0, 40, 1610612739, 0, 41, 1610612739, 0, 42, 1610612739, 0, 43, 1610612739, 0, 44, 1610612739, 0, 45, 1610612739, 0, 46, 1610612739, 0, 47, 1610612739, 0, 48, 1610612739, 0, 49, 1610612739, 0, 50, 1610612739, 0, 51, 1610612739, 0, 52, 1610612739, 0, 53, 1610612739, 0, 54, 1610612739, 0, 55, 1610612739, 0, 56, 1, 0, 57, 1610612739, 0, 58, 1610612739, 0, 59, 1, 0, 60, 1610612739, 0, 61, 1610612739, 0, 62, 3, 0, 131065, 3, 0, 131066, 3, 0, 131067, 3, 0, 131068, 3, 0, 131069, 3, 0, 131070, 3, 0, 131071, 3, 0, 65536, 3, 0, 65537, 3, 0, 65538, 3, 0, 65539, 3, 0, 65540, 3, 0, 65541, 3, 0, 65542, 3, 0, 65543, 3, 0, 65544, 3, 0, 65545, 3, 0, 65546, 3, 0, 65547, 3, 0, 65548, 3, 0, 65549, 3, 0, 65550, 3, 0, 65551, 3, 0, 65552, 3, 0, 65553, 3, 0, 65554, 3, 0, 65555, 3, 0, 65556, 3, 0, 65557, 3, 0, 65558, 3, 0, 65559, 3, 0, 65560, 3, 0, 65561, 3, 0, 65562, 3, 0, 65563, 3, 0, 65564, 3, 0, 65565, 3, 0, 65566, 3, 0, 65567, 3, 0, 65568, 3, 0, 65569, 3, 0, 65570, 3, 0, 65571, 3, 0, 65572, 3, 0, 65573, 3, 0, 65574, 3, 0, 65575, 3, 0, 65576, 3, 0, 65577, 3, 0, 65578, 3, 0, 65579, 3, 0, 65580, 3, 0, 65581, 3, 0, 65582, 3, 0, 65583, 3, 0, 65584, 3, 0, 65585, 3, 0, 65586, 3, 0, 65587, 3, 0, 65588, 3, 0, 65589, 3, 0, 65590, 3, 0, 65591, 3, 0, 65592, 3, 0, 65593, 3, 0, 65594, 3, 0, 65595, 3, 0, 65596, 3, 0, 65597, 3, 0, 65598, 3, 0 ) [node name="Spikes" parent="TileMap" instance=ExtResource( 3 )] position = Vector2( 708, 12 ) @@ -144,9 +126,6 @@ rotation = 1.57079 position = Vector2( 684, 12 ) rotation = 1.57079 -[node name="DropThroughPlatform" parent="." instance=ExtResource( 11 )] -tile_data = PoolIntArray( -786315, 1, 0, -786314, 0, 0, -786312, 2, 0 ) - [node name="TreeWhyButtons" parent="." instance=ExtResource( 8 )] position = Vector2( -108, -7 ) @@ -177,9 +156,6 @@ next_scene = ExtResource( 9 ) [node name="GameplaySignalManager" type="Node2D" parent="."] script = ExtResource( 10 ) -[node name="Spring" parent="." instance=ExtResource( 15 )] -position = Vector2( 132, -74 ) - [connection signal="timeout" from="UserInterface/HUD/HUDOverlay/GetBackTimer/Timer" to="GameplaySignalManager" method="_on_Timer_timeout"] [connection signal="body_exited" from="Blobby/BlobbySkin" to="Blobby" method="_on_BlobbySkin_body_exited"] [connection signal="getback_timer_up" from="GameplaySignalManager" to="Blobby" method="_on_GameplaySignalManager_getback_timer_up"] @@ -189,7 +165,6 @@ position = Vector2( 132, -74 ) [editable path="UserInterface/HUD"] [editable path="BlobbyCam"] [editable path="Blobby"] -[editable path="FlyingPlatform"] [editable path="TreeWhyButtons"] [editable path="TreeWhyButtons/WhyButton1"] [editable path="TreeWhyButtons/WhyButton2"] diff --git a/src/Levels/02 Level.tscn b/src/Levels/02 Level.tscn new file mode 100644 index 0000000..0265f38 --- /dev/null +++ b/src/Levels/02 Level.tscn @@ -0,0 +1,175 @@ +[gd_scene load_steps=14 format=2] + +[ext_resource path="res://src/Environment/AlienShipTileSet.tres" type="TileSet" id=1] +[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=2] +[ext_resource path="res://src/ObstacleObjects/Spikes.tscn" type="PackedScene" id=3] +[ext_resource path="res://src/Contraptions/Triggers/ElevatorButton.tscn" type="PackedScene" id=4] +[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=5] +[ext_resource path="res://src/NeutralObjects/Coin.tscn" type="PackedScene" id=6] +[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=7] +[ext_resource path="res://src/Contraptions/Triggers/ThreeWhyButtons.tscn" type="PackedScene" id=8] +[ext_resource path="res://src/Levels/Grass Test Level.tscn" type="PackedScene" id=9] +[ext_resource path="res://src/Utilities/GameplaySignalManager.gd" type="Script" id=10] +[ext_resource path="res://src/Actors/BlobbyCam.tscn" type="PackedScene" id=12] +[ext_resource path="res://src/Environment/ShaderGrass.tscn" type="PackedScene" id=13] + +[sub_resource type="AnimationNodeStateMachinePlayback" id=4] + +[node name="LevelTemplate" type="Node2D"] +__meta__ = { +"_edit_horizontal_guides_": [ 464.0 ], +"_edit_vertical_guides_": [ 2880.0 ] +} + +[node name="UserInterface" parent="." instance=ExtResource( 7 )] + +[node name="Timer" parent="UserInterface/HUD/HUDOverlay/GetBackTimer" index="0"] +wait_time = 20.0 + +[node name="BlobbyCam" parent="." instance=ExtResource( 12 )] +drag_margin_left = 0.0 +drag_margin_top = 0.0 +drag_margin_right = 0.0 +drag_margin_bottom = 0.0 + +[node name="Blobby" parent="." instance=ExtResource( 2 )] +unique_name_in_owner = true +position = Vector2( -70, -1.90735e-06 ) +scale = Vector2( 0.878906, 0.936025 ) + +[node name="AnimationTree" parent="Blobby/BlobbySprite" index="0"] +parameters/playback = SubResource( 4 ) + +[node name="StateLabel" parent="Blobby" index="6"] +visible = false + +[node name="Decor" type="Node2D" parent="."] + +[node name="ShaderGrass" parent="Decor" instance=ExtResource( 13 )] +position = Vector2( 118, -35 ) + +[node name="ShaderGrass3" parent="Decor" instance=ExtResource( 13 )] +position = Vector2( 129, -35 ) + +[node name="ShaderGrass2" parent="Decor" instance=ExtResource( 13 )] +position = Vector2( 124, -36 ) +z_index = -1 + +[node name="ShaderGrass4" parent="Decor" instance=ExtResource( 13 )] +position = Vector2( 325, -11 ) + +[node name="ShaderGrass5" parent="Decor" instance=ExtResource( 13 )] +position = Vector2( 339, -11 ) + +[node name="ShaderGrass6" parent="Decor" instance=ExtResource( 13 )] +position = Vector2( 332, -12 ) +z_index = -1 + +[node name="Collectibles" type="Node2D" parent="."] +z_index = -1 + +[node name="Coin" parent="Collectibles" instance=ExtResource( 6 )] +position = Vector2( 336, -60 ) +scale = Vector2( 0.133, 0.133 ) + +[node name="Coin2" parent="Collectibles" instance=ExtResource( 6 )] +position = Vector2( 336, -7 ) +scale = Vector2( 0.133, 0.133 ) + +[node name="Coin3" parent="Collectibles" instance=ExtResource( 6 )] +position = Vector2( 1188, -84 ) +scale = Vector2( 0.133, 0.133 ) + +[node name="Coin4" parent="Collectibles" instance=ExtResource( 6 )] +position = Vector2( 1236, -108 ) +scale = Vector2( 0.133, 0.133 ) + +[node name="Coin5" parent="Collectibles" instance=ExtResource( 6 )] +position = Vector2( 1140, -108 ) +scale = Vector2( 0.133, 0.133 ) + +[node name="Coin6" parent="Collectibles" instance=ExtResource( 6 )] +position = Vector2( 696, -48 ) +scale = Vector2( 0.133, 0.133 ) + +[node name="TileMap" type="TileMap" parent="."] +tile_set = ExtResource( 1 ) +cell_size = Vector2( 24, 24 ) +cell_quadrant_size = 3 +cell_custom_transform = Transform2D( 24, 0, 0, 24, 0, 0 ) +collision_layer = 8 +collision_mask = 8 +format = 1 +tile_data = PoolIntArray( -851975, 3, 0, -851974, 3, 0, -851973, 3, 0, -851972, 3, 0, -851971, 3, 0, -851970, 3, 0, -851969, 3, 0, -917504, 3, 0, -917503, 3, 0, -917502, 3, 0, -917501, 3, 0, -917500, 3, 0, -917499, 3, 0, -917498, 3, 0, -917497, 3, 0, -917496, 3, 0, -917495, 3, 0, -917494, 3, 0, -917493, 3, 0, -917492, 3, 0, -917491, 3, 0, -917490, 3, 0, -917489, 3, 0, -917488, 3, 0, -917487, 3, 0, -917486, 3, 0, -917485, 3, 0, -917484, 3, 0, -917483, 3, 0, -917482, 3, 0, -917481, 3, 0, -917480, 3, 0, -917479, 3, 0, -917478, 3, 0, -917477, 3, 0, -917476, 3, 0, -917475, 3, 0, -917474, 3, 0, -917473, 3, 0, -917472, 3, 0, -917471, 3, 0, -917470, 3, 0, -917469, 3, 0, -917468, 3, 0, -917467, 3, 0, -917466, 3, 0, -917465, 3, 0, -917464, 3, 0, -917463, 3, 0, -917462, 3, 0, -917461, 3, 0, -917460, 3, 0, -917459, 3, 0, -917458, 3, 0, -917457, 3, 0, -917456, 3, 0, -917455, 3, 0, -917454, 3, 0, -917453, 3, 0, -917452, 3, 0, -917451, 3, 0, -917450, 3, 0, -917449, 3, 0, -917448, 3, 0, -917447, 3, 0, -917446, 3, 0, -917445, 3, 0, -917444, 3, 0, -917443, 3, 0, -917442, 3, 0, -786439, 3, 0, -786438, -1610612735, 0, -786437, 1610612738, 0, -786436, 1610612738, 0, -786435, 1610612736, 0, -786434, 1610612738, 0, -786433, 1610612738, 0, -851968, 1610612736, 0, -851967, 1610612738, 0, -851966, 1610612738, 0, -851965, 1610612736, 0, -851964, 1610612738, 0, -851963, 1610612738, 0, -851962, 1610612736, 0, -851961, 1610612738, 0, -851960, 1610612738, 0, -851959, 1610612736, 0, -851958, 1610612738, 0, -851957, 1610612738, 0, -851956, 1610612736, 0, -851955, 1610612738, 0, -851954, 1610612738, 0, -851953, 1610612736, 0, -851952, 1610612738, 0, -851951, 1610612738, 0, -851950, 1610612736, 0, -851949, 1610612738, 0, -851948, 1610612738, 0, -851947, 1610612736, 0, -851946, 1610612738, 0, -851945, 1610612738, 0, -851944, 1610612736, 0, -851943, 1610612738, 0, -851942, 1610612738, 0, -851941, 1610612736, 0, -851940, 1610612738, 0, -851939, 1610612738, 0, -851938, 1610612736, 0, -851937, 1610612738, 0, -851936, 1610612738, 0, -851935, 3, 0, -851934, 1610612738, 0, -851933, 1610612738, 0, -851932, 1610612736, 0, -851931, 1610612738, 0, -851930, 1610612738, 0, -851929, 1610612736, 0, -851928, 1610612738, 0, -851927, 1610612738, 0, -851926, 1610612736, 0, -851925, 1610612738, 0, -851924, 1610612738, 0, -851923, 1610612736, 0, -851922, 1610612738, 0, -851921, 1610612738, 0, -851920, 1610612736, 0, -851919, 1610612738, 0, -851918, 1610612738, 0, -851917, 1610612736, 0, -851916, 1610612738, 0, -851915, 1610612738, 0, -851914, 1610612736, 0, -851913, 1610612738, 0, -851912, 1610612738, 0, -851911, 1610612736, 0, -851910, 1610612738, 0, -851909, 1610612738, 0, -851908, 1610612736, 0, -851907, 3, 0, -851906, 3, 0, -720903, 3, 0, -720902, -1610612734, 0, -786371, -1073741822, 0, -786370, 3, 0, -655367, 3, 0, -655366, -1610612734, 0, -720835, -1073741824, 0, -720834, 3, 0, -589831, 3, 0, -589830, -1610612736, 0, -655299, -1073741822, 0, -655298, 3, 0, -524295, 3, 0, -524294, -1610612734, 0, -589763, -1073741822, 0, -589762, 3, 0, -458759, 3, 0, -458758, -1610612734, 0, -524227, -1073741824, 0, -524226, 3, 0, -393223, 3, 0, -393222, -1610612736, 0, -458691, -1073741822, 0, -458690, 3, 0, -327687, 3, 0, -327686, -1610612734, 0, -393155, -1073741822, 0, -393154, 3, 0, -262151, 3, 0, -262150, -1610612734, 0, -327619, -1073741824, 0, -327618, 3, 0, -196615, 3, 0, -196614, -1610612736, 0, -262088, 0, 0, -262087, 2, 0, -262086, 2, 0, -262085, 0, 0, -262084, 2, 0, -262083, 1610612739, 0, -262082, 3, 0, -131079, 3, 0, -131078, -1610612734, 0, -196568, 0, 0, -196567, 2, 0, -196566, 2, 0, -196565, 0, 0, -196564, 2, 0, -196563, 2, 0, -196562, 0, 0, -196559, 2, 0, -196556, 2, 0, -196555, 0, 0, -196554, 2, 0, -196553, 2, 0, -196552, 1610612739, 0, -196551, 1610612739, 0, -196550, 1610612739, 0, -196549, 1610612739, 0, -196548, 1610612739, 0, -196547, 3, 0, -196546, 3, 0, -65543, 3, 0, -65542, -1610612734, 0, -131064, 0, 0, -131063, 2, 0, -131059, -1073741822, 0, -131058, -1610612734, 0, -131054, 2, 0, -131053, 2, 0, -131052, 0, 0, -131051, 2, 0, -131034, 2, 0, -131033, 2, 0, -131032, 1610612739, 0, -131031, 1610612739, 0, -131030, 1610612739, 0, -131029, 1610612739, 0, -131028, 1610612739, 0, -131027, 1610612739, 0, -131026, 1610612739, 0, -131020, 1610612739, 0, -131019, 1610612739, 0, -131018, 1610612739, 0, -131017, 1610612739, 0, -131016, 1, 0, -131015, 1610612739, 0, -131014, 1610612739, 0, -131013, 1, 0, -131012, 1610612739, 0, -131011, 3, 0, -131010, 3, 0, -7, 3, 0, -6, -1610612736, 0, -65532, 2, 0, -65531, 0, 0, -65530, 2, 0, -65529, 4, 0, -65528, 1610612739, 0, -65527, 1610612739, 0, -65526, 2, 0, -65519, 0, 0, -65518, 1610612739, 0, -65517, 1610612739, 0, -65516, 1610612739, 0, -65515, 1610612739, 0, -65514, 4, 0, -65513, 0, 0, -65500, 2, 0, -65499, 0, 0, -65498, 3, 0, -65497, 3, 0, -65496, 1, 0, -65495, 1610612739, 0, -65494, 1610612739, 0, -65493, 1, 0, -65492, 1610612739, 0, -65491, 1610612739, 0, -65490, 1, 0, -65489, 2, 0, -65488, 2, 0, -65487, 2, 0, -65486, 2, 0, -65485, 2, 0, -65484, 1610612739, 0, -65483, 1, 0, -65482, 1610612739, 0, -65481, 1610612739, 0, -65480, 1610612739, 0, -65479, 1610612739, 0, -65478, 1610612739, 0, -65477, 1610612739, 0, -65476, 1610612739, 0, -65475, 3, 0, -65474, 3, 0, 65529, 3, 0, 65530, 3, 0, 65531, 4, 0, 65532, 0, 0, 65533, 2, 0, 65534, 2, 0, 65535, 0, 0, 0, 2, 0, 1, 2, 0, 2, 0, 0, 3, 4, 0, 4, 1610612739, 0, 5, 1610612739, 0, 6, 1610612739, 0, 7, 1610612739, 0, 8, 1610612739, 0, 9, 1610612739, 0, 10, 1610612739, 0, 11, 0, 0, 12, 2, 0, 13, 2, 0, 14, 0, 0, 15, 2, 0, 16, 2, 0, 17, 1610612739, 0, 18, 1610612739, 0, 19, 1610612739, 0, 20, 1610612739, 0, 21, 1610612739, 0, 22, 1610612739, 0, 23, 3, 0, 24, 3, 0, 25, 3, 0, 26, 0, 0, 27, 2, 0, 30, 2, 0, 31, 0, 0, 32, 2, 0, 33, 2, 0, 34, 0, 0, 35, 2, 0, 36, 1610612739, 0, 37, 1610612739, 0, 38, 1610612739, 0, 39, 1610612739, 0, 40, 1610612739, 0, 41, 1610612739, 0, 42, 1610612739, 0, 43, 1610612739, 0, 44, 1610612739, 0, 45, 1610612739, 0, 46, 1610612739, 0, 47, 1610612739, 0, 48, 1610612739, 0, 49, 1610612739, 0, 50, 1610612739, 0, 51, 1610612739, 0, 52, 1610612739, 0, 53, 1610612739, 0, 54, 1610612739, 0, 55, 1610612739, 0, 56, 1, 0, 57, 1610612739, 0, 58, 1610612739, 0, 59, 1, 0, 60, 1610612739, 0, 61, 1610612739, 0, 62, 3, 0, 131065, 3, 0, 131066, 3, 0, 131067, 3, 0, 131068, 3, 0, 131069, 3, 0, 131070, 3, 0, 131071, 3, 0, 65536, 3, 0, 65537, 3, 0, 65538, 3, 0, 65539, 3, 0, 65540, 3, 0, 65541, 3, 0, 65542, 3, 0, 65543, 3, 0, 65544, 3, 0, 65545, 3, 0, 65546, 3, 0, 65547, 3, 0, 65548, 3, 0, 65549, 3, 0, 65550, 3, 0, 65551, 3, 0, 65552, 3, 0, 65553, 3, 0, 65554, 3, 0, 65555, 3, 0, 65556, 3, 0, 65557, 3, 0, 65558, 3, 0, 65559, 3, 0, 65560, 3, 0, 65561, 3, 0, 65562, 3, 0, 65563, 3, 0, 65564, 3, 0, 65565, 3, 0, 65566, 3, 0, 65567, 3, 0, 65568, 3, 0, 65569, 3, 0, 65570, 3, 0, 65571, 3, 0, 65572, 3, 0, 65573, 3, 0, 65574, 3, 0, 65575, 3, 0, 65576, 3, 0, 65577, 3, 0, 65578, 3, 0, 65579, 3, 0, 65580, 3, 0, 65581, 3, 0, 65582, 3, 0, 65583, 3, 0, 65584, 3, 0, 65585, 3, 0, 65586, 3, 0, 65587, 3, 0, 65588, 3, 0, 65589, 3, 0, 65590, 3, 0, 65591, 3, 0, 65592, 3, 0, 65593, 3, 0, 65594, 3, 0, 65595, 3, 0, 65596, 3, 0, 65597, 3, 0, 65598, 3, 0 ) + +[node name="Spikes" parent="TileMap" instance=ExtResource( 3 )] +position = Vector2( 708, 12 ) +rotation = 1.57079 + +[node name="Spikes2" parent="TileMap" instance=ExtResource( 3 )] +position = Vector2( 1140, -36 ) +rotation = 1.57079 + +[node name="Spikes4" parent="TileMap" instance=ExtResource( 3 )] +position = Vector2( 1164, -36 ) +rotation = 1.57079 + +[node name="Spikes5" parent="TileMap" instance=ExtResource( 3 )] +position = Vector2( 1188, -36 ) +rotation = 1.57079 + +[node name="Spikes6" parent="TileMap" instance=ExtResource( 3 )] +position = Vector2( 1212, -36 ) +rotation = 1.57079 + +[node name="Spikes7" parent="TileMap" instance=ExtResource( 3 )] +position = Vector2( 1236, -36 ) +rotation = 1.57079 + +[node name="Spikes3" parent="TileMap" instance=ExtResource( 3 )] +position = Vector2( 684, 12 ) +rotation = 1.57079 + +[node name="TreeWhyButtons" parent="." instance=ExtResource( 8 )] +position = Vector2( -108, -7 ) + +[node name="WhyButton1" parent="TreeWhyButtons" index="0"] +position = Vector2( -12, -49 ) +rotation = 1.5708 + +[node name="WhyButton2" parent="TreeWhyButtons" index="1"] +position = Vector2( 444, -17 ) +rotation = 3.14159 + +[node name="ButtonBody" parent="TreeWhyButtons/WhyButton2" index="5"] +collision_layer = 16 + +[node name="WhyButton3" parent="TreeWhyButtons" index="2"] +position = Vector2( 1452, -77 ) +rotation = -1.5708 + +[node name="ElevatorButton" parent="." instance=ExtResource( 4 )] +position = Vector2( 1452, -96 ) + +[node name="Portal" parent="ElevatorButton" instance=ExtResource( 5 )] +visible = false +position = Vector2( -1464, 84 ) +monitoring = false +next_scene = ExtResource( 9 ) + +[node name="GameplaySignalManager" type="Node2D" parent="."] +script = ExtResource( 10 ) + +[connection signal="timeout" from="UserInterface/HUD/HUDOverlay/GetBackTimer/Timer" to="GameplaySignalManager" method="_on_Timer_timeout"] +[connection signal="body_exited" from="Blobby/BlobbySkin" to="Blobby" method="_on_BlobbySkin_body_exited"] +[connection signal="getback_timer_up" from="GameplaySignalManager" to="Blobby" method="_on_GameplaySignalManager_getback_timer_up"] +[connection signal="terminal_activated" from="GameplaySignalManager" to="UserInterface/HUD" method="_on_SignalManager_terminal_activated"] + +[editable path="UserInterface"] +[editable path="UserInterface/HUD"] +[editable path="BlobbyCam"] +[editable path="Blobby"] +[editable path="TreeWhyButtons"] +[editable path="TreeWhyButtons/WhyButton1"] +[editable path="TreeWhyButtons/WhyButton2"] +[editable path="TreeWhyButtons/WhyButton3"] diff --git a/src/ObstacleObjects/Spikes.tscn b/src/ObstacleObjects/Spikes.tscn index 5ea2f93..7ddae45 100644 --- a/src/ObstacleObjects/Spikes.tscn +++ b/src/ObstacleObjects/Spikes.tscn @@ -48,5 +48,5 @@ animations = [ { [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 1 ) -frame = 19 +frame = 17 playing = true