[gd_scene load_steps=46 format=2]

[ext_resource path="res://src/Utilities/GameplaySignalManager.gd" type="Script" id=1]
[ext_resource path="res://src/Environment/AlienShipTileSet.tres" type="TileSet" id=2]
[ext_resource path="res://src/Contraptions/Platform/DropThroughPlatform.tscn" type="PackedScene" id=3]
[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/Contraptions/Platform/SpringPhysics.gd" type="Script" id=5]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder2.png" type="Texture" id=6]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder17.png" type="Texture" id=7]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder13.png" type="Texture" id=8]
[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=9]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder27.png" type="Texture" id=10]
[ext_resource path="res://src/Actors/BlobbyCam.tscn" type="PackedScene" id=11]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder5.png" type="Texture" id=12]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder31.png" type="Texture" id=13]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder14.png" type="Texture" id=14]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder4.png" type="Texture" id=15]
[ext_resource path="res://assets/contraption/SpringPlatform.png" type="Texture" id=16]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder15.png" type="Texture" id=17]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder22.png" type="Texture" id=18]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder23.png" type="Texture" id=19]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder28.png" type="Texture" id=20]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder1.png" type="Texture" id=21]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder32.png" type="Texture" id=22]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder30.png" type="Texture" id=23]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder3.png" type="Texture" id=24]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder11.png" type="Texture" id=25]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder10.png" type="Texture" id=26]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder21.png" type="Texture" id=27]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder6.png" type="Texture" id=28]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder24.png" type="Texture" id=29]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder8.png" type="Texture" id=30]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder29.png" type="Texture" id=31]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder19.png" type="Texture" id=32]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder9.png" type="Texture" id=33]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder7.png" type="Texture" id=34]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder18.png" type="Texture" id=35]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder20.png" type="Texture" id=36]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder12.png" type="Texture" id=37]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder26.png" type="Texture" id=38]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder16.png" type="Texture" id=39]
[ext_resource path="res://assets/contraption/SpringHolder/SpringHolder25.png" type="Texture" id=40]

[sub_resource type="AnimationNodeStateMachinePlayback" id=4]

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 11.4863, 2.10568 )

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 11.925, 0.0109166 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 11.9158, 2.06284 )

[sub_resource type="SpriteFrames" id=5]
animations = [ {
"frames": [ ExtResource( 21 ), ExtResource( 6 ), ExtResource( 24 ), ExtResource( 15 ), ExtResource( 12 ), ExtResource( 28 ), ExtResource( 34 ), ExtResource( 30 ), ExtResource( 33 ), ExtResource( 26 ), ExtResource( 25 ), ExtResource( 37 ), ExtResource( 8 ), ExtResource( 14 ), ExtResource( 17 ), ExtResource( 39 ), ExtResource( 7 ), ExtResource( 35 ), ExtResource( 32 ), ExtResource( 36 ), ExtResource( 27 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 29 ), ExtResource( 40 ), ExtResource( 38 ), ExtResource( 10 ), ExtResource( 20 ), ExtResource( 31 ), ExtResource( 23 ), ExtResource( 13 ), ExtResource( 22 ) ],
"loop": true,
"name": "default",
"speed": 6.0
} ]

[node name="LevelTemplate" type="Node2D"]
__meta__ = {
"_edit_horizontal_guides_": [ 464.0 ],
"_edit_vertical_guides_": [ 2880.0 ]
}

[node name="UserInterface" parent="." instance=ExtResource( 9 )]

[node name="Timer" parent="UserInterface/HUD/HUDOverlay/GetBackTimer" index="0"]
wait_time = 20.0

[node name="PauseScreen" parent="UserInterface" index="1"]
margin_left = 3.15372
margin_top = 0.456848
margin_right = 3.15375
margin_bottom = 0.456848

[node name="BlobbyCam" parent="." instance=ExtResource( 11 )]

[node name="Blobby" parent="." instance=ExtResource( 4 )]
unique_name_in_owner = true
position = Vector2( 59, 112 )
scale = Vector2( 0.878906, 0.936025 )

[node name="AnimationTree" parent="Blobby/BlobbySprite" index="0"]
parameters/playback = SubResource( 4 )

[node name="Spring" type="Node2D" parent="."]
position = Vector2( 60, 296 )

[node name="SpringPlatform" type="Node2D" parent="Spring"]
scale = Vector2( 2.5, 1 )
script = ExtResource( 5 )

[node name="Platform" type="Sprite" parent="Spring/SpringPlatform"]
texture = ExtResource( 16 )

[node name="SpringSkin" type="Area2D" parent="Spring/SpringPlatform"]
collision_layer = 32
collision_mask = 3

[node name="CollisionShape2D" type="CollisionShape2D" parent="Spring/SpringPlatform/SpringSkin"]
position = Vector2( -0.0412841, -1.27843 )
shape = SubResource( 2 )

[node name="SpringBody" type="KinematicBody2D" parent="Spring/SpringPlatform"]
collision_layer = 32
collision_mask = 41

[node name="CollisionShape2D" type="CollisionShape2D" parent="Spring/SpringPlatform/SpringBody"]
position = Vector2( 0.0109062, -1.5689 )
shape = SubResource( 1 )
one_way_collision = true

[node name="EnteringVelocityDetector" type="Area2D" parent="Spring/SpringPlatform"]
position = Vector2( 0, -3.04889 )
collision_layer = 32
collision_mask = 41

[node name="CollisionShape2D" type="CollisionShape2D" parent="Spring/SpringPlatform/EnteringVelocityDetector"]
position = Vector2( 0.00395775, -1.07744 )
shape = SubResource( 3 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Spring"]
position = Vector2( 0, 1.5 )
z_index = -1
frames = SubResource( 5 )
frame = 9
playing = true

[node name="TileMap" type="TileMap" parent="."]
tile_set = ExtResource( 2 )
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( 1, 1610612738, 0, 2, 1610612738, 0, 3, 1610612738, 0, 65536, -1610612732, 0, 65540, -1073741822, 0, 65569, 2, 0, 131072, -1610612732, 0, 131076, -1073741822, 0, 131105, 2, 0, 196608, -1610612732, 0, 196612, -1073741822, 0, 196641, 2, 0, 262144, -1610612732, 0, 262148, -1073741822, 0, 262177, 2, 0, 327680, -1610612732, 0, 327684, -1073741822, 0, 327713, 2, 0, 393216, -1610612732, 0, 393220, -1073741822, 0, 393249, 2, 0, 458752, -1610612732, 0, 458785, 2, 0, 524288, -1610612732, 0, 524321, 2, 0, 589824, -1610612732, 0, 589828, 2, 0, 589829, 2, 0, 589857, 2, 0, 655360, -1610612732, 0, 655364, -1073741822, 0, 655365, -1610612734, 0, 655393, 2, 0, 720896, -1610612732, 0, 720900, -1073741822, 0, 720901, -1610612734, 0, 720929, 2, 0, 786432, -1610612732, 0, 786436, -1073741822, 0, 786437, -1610612734, 0, 786465, 2, 0, 851968, -1610612732, 0, 851972, -1073741822, 0, 851973, -1610612734, 0, 852001, 2, 0, 917504, 2, 0, 917505, 2, 0, 917506, 2, 0, 917507, 2, 0, 917508, 2, 0, 917509, 2, 0, 917510, 2, 0, 917511, 2, 0, 917512, 2, 0, 917513, 4, 0, 917514, 4, 0, 917515, 4, 0, 917516, 4, 0, 917517, 4, 0, 917518, 4, 0, 917519, 4, 0, 917520, 4, 0, 917521, 4, 0, 917522, 4, 0, 917523, 4, 0, 917524, 4, 0, 917525, 4, 0, 917526, 4, 0, 917527, 4, 0, 917528, 4, 0, 917529, 4, 0, 917530, 4, 0, 917531, 4, 0, 917532, 4, 0, 917533, 4, 0, 917534, 4, 0, 917535, 4, 0, 917536, 4, 0, 917537, 4, 0 )

[node name="GameplaySignalManager" type="Node2D" parent="."]
script = ExtResource( 1 )

[node name="DropThroughPlatform" parent="." instance=ExtResource( 3 )]
tile_data = PoolIntArray( 851970, 1, 0, 851971, 0, 0, 851973, 0, 0, 851975, 2, 0 )

[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="area_exited" from="Spring/SpringPlatform/SpringSkin" to="Spring/SpringPlatform" method="_on_SpringSkin_area_exited"]
[connection signal="area_entered" from="Spring/SpringPlatform/EnteringVelocityDetector" to="Spring/SpringPlatform" method="_on_EnteringVelocityDetector_area_entered"]
[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="Blobby"]
