Blobby/src/Levels/02 Level.tscn
Jakob Feldmann 4238855751 Many added feats:
Invincibility Shader (simple)
New Death Shader dissolving
Pit Areas
Invincibility fixes for spikes and flying laser cutters
Vending Machine
Better global and level stats tracking
2023-04-04 16:45:38 +02:00

223 lines
15 KiB
Plaintext

[gd_scene load_steps=19 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/Levels/03 Level.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/Platforms/FlyingPlatform.gd" type="Script" id=5]
[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=6]
[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=7]
[ext_resource path="res://src/Contraptions/Triggers/ElevatorButton.tscn" type="PackedScene" id=8]
[ext_resource path="res://assets/contraption/FlyingPlatformClean.png" type="Texture" id=9]
[ext_resource path="res://src/Utilities/SignalManager.tscn" type="PackedScene" id=10]
[ext_resource path="res://src/Utilities/LevelState.tscn" type="PackedScene" id=11]
[ext_resource path="res://src/Actors/BlobbyCam.tscn" type="PackedScene" id=12]
[ext_resource path="res://src/ObstacleObjects/Mine.tscn" type="PackedScene" id=13]
[sub_resource type="AnimationNodeStateMachinePlayback" id=4]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 24, 6 )
[sub_resource type="Animation" id=2]
resource_name = "Horizontal"
length = 6.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("KinematicBody2D:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 3 ),
"transitions": PoolRealArray( 1.33, 1.33 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, 72 ) ]
}
[sub_resource type="Animation" id=5]
resource_name = "Horizontal"
length = 7.5
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("KinematicBody2D:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 3.75 ),
"transitions": PoolRealArray( 1.33, 1.33 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 96, 0 ) ]
}
[sub_resource type="Animation" id=6]
resource_name = "Horizontal"
length = 7.5
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("KinematicBody2D:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 3.75 ),
"transitions": PoolRealArray( 1.33, 1.33 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( -96, 0 ) ]
}
[node name="02 Level" type="Node2D"]
__meta__ = {
"_edit_horizontal_guides_": [ 464.0 ],
"_edit_vertical_guides_": [ 2880.0 ]
}
[node name="SignalManager" parent="." instance=ExtResource( 10 )]
[node name="LevelState" parent="." instance=ExtResource( 11 )]
unique_name_in_owner = true
[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 )]
[node name="AnimatedSprite" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="4"]
frame = 6
[node name="AnimatedSprite2" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="5"]
frame = 11
[node name="Blobby" parent="." instance=ExtResource( 2 )]
unique_name_in_owner = true
position = Vector2( 36, -24 )
scale = Vector2( 0.878906, 0.936025 )
[node name="AnimationTree" parent="Blobby/BlobbySprite" index="0"]
parameters/playback = SubResource( 4 )
[node name="Terminal" parent="." instance=ExtResource( 8 )]
position = Vector2( 648, -264 )
[node name="Portal" parent="Terminal" instance=ExtResource( 6 )]
visible = false
position = Vector2( 96, -24 )
next_scene = ExtResource( 4 )
[node name="FlyingPlatform" type="Node2D" parent="."]
position = Vector2( 72, -168 )
script = ExtResource( 5 )
[node name="KinematicBody2D" type="KinematicBody2D" parent="FlyingPlatform"]
collision_layer = 16
collision_mask = 0
motion/sync_to_physics = true
[node name="Sprite" type="Sprite" parent="FlyingPlatform/KinematicBody2D"]
texture = ExtResource( 9 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="FlyingPlatform/KinematicBody2D"]
shape = SubResource( 1 )
[node name="anim" type="AnimationPlayer" parent="FlyingPlatform"]
pause_mode = 2
playback_process_mode = 0
anims/Horizontal = SubResource( 2 )
[node name="FlyingPlatform2" type="Node2D" parent="."]
position = Vector2( 264, -234 )
script = ExtResource( 5 )
[node name="KinematicBody2D" type="KinematicBody2D" parent="FlyingPlatform2"]
collision_layer = 16
collision_mask = 0
motion/sync_to_physics = true
[node name="Sprite" type="Sprite" parent="FlyingPlatform2/KinematicBody2D"]
texture = ExtResource( 9 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="FlyingPlatform2/KinematicBody2D"]
shape = SubResource( 1 )
[node name="anim" type="AnimationPlayer" parent="FlyingPlatform2"]
pause_mode = 2
playback_process_mode = 0
anims/Horizontal = SubResource( 5 )
[node name="FlyingPlatform3" type="Node2D" parent="."]
position = Vector2( 552, -234 )
script = ExtResource( 5 )
[node name="KinematicBody2D" type="KinematicBody2D" parent="FlyingPlatform3"]
collision_layer = 16
collision_mask = 0
motion/sync_to_physics = true
[node name="Sprite" type="Sprite" parent="FlyingPlatform3/KinematicBody2D"]
texture = ExtResource( 9 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="FlyingPlatform3/KinematicBody2D"]
shape = SubResource( 1 )
[node name="anim" type="AnimationPlayer" parent="FlyingPlatform3"]
pause_mode = 2
playback_process_mode = 0
anims/Horizontal = SubResource( 6 )
[node name="Mine" parent="." instance=ExtResource( 13 )]
position = Vector2( 39, -192 )
[node name="Mine2" parent="." instance=ExtResource( 13 )]
position = Vector2( 75, -192 )
[node name="Mine3" parent="." instance=ExtResource( 13 )]
position = Vector2( 108, -192 )
[node name="TileMap" type="TileMap" parent="."]
unique_name_in_owner = true
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( -1114113, 1610612751, 0, -1179648, 1610612746, 0, -1179647, 1610612746, 0, -1179646, 1610612746, 0, -1179645, 1610612746, 0, -1179644, 1610612746, 0, -1179643, 1610612746, 0, -1179642, 1610612746, 0, -1179641, 1610612746, 0, -1179640, 1610612746, 0, -1179639, 1610612746, 0, -1179638, 1610612746, 0, -1179637, 1610612746, 0, -1179636, 1610612746, 0, -1179635, 1610612746, 0, -1179634, 1610612746, 0, -1179633, 1610612746, 0, -1179632, 1610612746, 0, -1179631, 1610612746, 0, -1179630, 1610612746, 0, -1179629, 1610612746, 0, -1179628, 1610612746, 0, -1179627, 1610612746, 0, -1179626, 1610612746, 0, -1179625, 1610612746, 0, -1179624, 1610612746, 0, -1179623, 1610612746, 0, -1179622, 1610612746, 0, -1179621, 1610612746, 0, -1179620, 1610612746, 0, -1179619, 1610612746, 0, -1179618, 1610612746, 0, -1179617, 1610612746, 0, -1179616, 1610612746, 0, -1179615, -1073741809, 0, -1048577, -1610612726, 0, -1114112, -2147483645, 0, -1114111, 1610612738, 0, -1114110, 1610612738, 0, -1114109, 1610612738, 0, -1114108, 1610612738, 0, -1114107, 1610612738, 0, -1114106, 1610612738, 0, -1114105, 1610612738, 0, -1114104, 1610612738, 0, -1114103, 1610612738, 0, -1114102, 1610612738, 0, -1114101, 1610612738, 0, -1114100, 1610612738, 0, -1114099, 1610612738, 0, -1114098, 1610612738, 0, -1114097, 1610612738, 0, -1114096, 1610612738, 0, -1114095, 1610612738, 0, -1114094, 1610612738, 0, -1114093, 1610612738, 0, -1114092, 1610612738, 0, -1114091, 1610612738, 0, -1114090, 1610612738, 0, -1114089, 1610612738, 0, -1114088, 1610612738, 0, -1114087, 1610612738, 0, -1114086, 1610612738, 0, -1114085, 1610612738, 0, -1114084, 1610612738, 0, -1114083, 1073741827, 0, -1114082, 1073741827, 0, -1114081, 1073741827, 0, -1114080, 1073741827, 0, -1114079, -1073741814, 0, -983041, -1610612726, 0, -1048576, -1610612734, 0, -1048547, -1073741822, 0, -1048546, 1073741827, 0, -1048545, 1073741827, 0, -1048544, 1073741827, 0, -1048543, -1073741814, 0, -917505, -1610612726, 0, -983040, -1610612734, 0, -983011, -1073741822, 0, -983010, 1073741827, 0, -983009, 1073741827, 0, -983008, 1073741827, 0, -983007, -1073741814, 0, -851969, -1610612726, 0, -917504, -1610612734, 0, -917475, -1073741817, 0, -917474, 1073741826, 0, -917473, 1073741826, 0, -917472, 1610612739, 0, -917471, -1073741814, 0, -786433, -1610612726, 0, -851968, -1610612734, 0, -851936, -2147483646, 0, -851935, -1073741814, 0, -720897, -1610612726, 0, -786432, -1610612734, 0, -786400, -2147483646, 0, -786399, -1073741814, 0, -655361, -1610612726, 0, -720896, -1610612734, 0, -720871, 7, 0, -720870, 2, 0, -720869, 2, 0, -720868, 2, 0, -720867, 2, 0, -720866, 2, 0, -720865, 2, 0, -720864, 1610612739, 0, -720863, -1073741814, 0, -589825, -1610612726, 0, -655360, -1610612734, 0, -655353, 7, 0, -655352, 536870919, 0, -655335, -1073741822, 0, -655334, 3, 0, -655333, 3, 0, -655332, 3, 0, -655331, 1073741827, 0, -655330, 1073741827, 0, -655329, 1073741827, 0, -655328, 1073741827, 0, -655327, -1073741814, 0, -524289, -1610612726, 0, -589824, -1610612734, 0, -589819, 7, 0, -589818, 2, 0, -589817, 3, 0, -589816, -1610612734, 0, -589799, -1073741822, 0, -589798, 3, 0, -589797, -1073741810, 0, -589796, 10, 0, -589795, 10, 0, -589794, 10, 0, -589793, 10, 0, -589792, 10, 0, -589791, 15, 0, -458753, -1610612726, 0, -524288, -1610612734, 0, -524283, -1073741817, 0, -524282, 1610612738, 0, -524281, -1073741822, 0, -524280, 3, 0, -524279, 2, 0, -524278, 536870919, 0, -524263, -1073741822, 0, -524262, 3, 0, -524261, -1073741814, 0, -524260, 11, 0, -524259, 11, 0, -524258, 11, 0, -524257, 11, 0, -524256, 11, 0, -524255, 11, 0, -393217, -1610612726, 0, -458752, -1610612734, 0, -458745, -1073741822, 0, -458744, 3, 0, -458743, 3, 0, -458742, 3, 0, -458741, 2, 0, -458740, 2, 0, -458739, 2, 0, -458738, 2, 0, -458737, 2, 0, -458736, 536870919, 0, -458727, -2147483646, 0, -458726, 3, 0, -458725, -1073741814, 0, -458724, 11, 0, -458723, 11, 0, -458722, 11, 0, -458721, 11, 0, -458720, 11, 0, -458719, 11, 0, -327681, -1610612726, 0, -393216, -1610612734, 0, -393209, -1073741822, 0, -393208, 536870915, 0, -393207, 536870915, 0, -393206, 536870915, 0, -393205, 536870915, 0, -393204, 536870915, 0, -393203, 536870915, 0, -393202, 536870915, 0, -393201, 536870915, 0, -393200, 536870915, 0, -393199, 2, 0, -393198, 2, 0, -393197, 2, 0, -393196, 2, 0, -393195, 2, 0, -393194, 2, 0, -393193, 2, 0, -393192, 2, 0, -393191, 536870915, 0, -393190, 536870915, 0, -393189, -1073741814, 0, -393188, 11, 0, -393187, 11, 0, -393186, 11, 0, -393185, 11, 0, -393184, 11, 0, -393183, 11, 0, -262145, -1610612726, 0, -327680, -1610612734, 0, -327673, -1073741822, 0, -327672, 536870915, 0, -327671, 536870915, 0, -327670, 536870915, 0, -327669, 536870915, 0, -327668, 536870915, 0, -327667, 536870915, 0, -327666, 536870915, 0, -327665, 536870915, 0, -327664, 536870915, 0, -327663, 536870915, 0, -327662, 536870915, 0, -327661, 536870915, 0, -327660, 536870915, 0, -327659, 536870915, 0, -327658, 536870915, 0, -327657, 536870915, 0, -327656, 536870915, 0, -327655, 536870915, 0, -327654, 536870915, 0, -327653, -1073741814, 0, -327652, 11, 0, -327651, 11, 0, -327650, 11, 0, -327649, 11, 0, -327648, 11, 0, -327647, 11, 0, -196609, -1610612726, 0, -262144, -1610612734, 0, -262137, -1073741822, 0, -262136, 536870915, 0, -262135, 536870915, 0, -262134, -1073741810, 0, -262133, 10, 0, -262132, 10, 0, -262131, 10, 0, -262130, 10, 0, -262129, 10, 0, -262128, 10, 0, -262127, 10, 0, -262126, 10, 0, -262125, 10, 0, -262124, 10, 0, -262123, 10, 0, -262122, 10, 0, -262121, 10, 0, -262120, 10, 0, -262119, 10, 0, -262118, 10, 0, -262117, 15, 0, -262116, 11, 0, -262115, 11, 0, -262114, 11, 0, -262113, 11, 0, -262112, 11, 0, -262111, 11, 0, -131073, -1610612726, 0, -196608, -1610612734, 0, -196601, -1073741822, 0, -196600, 536870915, 0, -196599, 536870915, 0, -196598, -1073741814, 0, -196597, 11, 0, -196596, 11, 0, -196595, 11, 0, -196594, 11, 0, -196593, 11, 0, -196592, 11, 0, -196591, 11, 0, -196590, 11, 0, -196589, 11, 0, -196588, 11, 0, -196587, 11, 0, -196586, 11, 0, -196585, 11, 0, -196584, 11, 0, -196583, 11, 0, -196582, 11, 0, -196581, 11, 0, -196580, 11, 0, -196579, 11, 0, -196578, 11, 0, -196577, 11, 0, -196576, 11, 0, -196575, 11, 0, -65537, -1610612726, 0, -131072, -1610612734, 0, -131067, 7, 0, -131066, 2, 0, -131065, 1610612739, 0, -131064, 536870915, 0, -131063, 536870915, 0, -131062, -1073741814, 0, -131061, 11, 0, -131060, 11, 0, -131059, 11, 0, -131058, 11, 0, -131057, 11, 0, -131056, 11, 0, -131055, 11, 0, -131054, 11, 0, -131053, 11, 0, -131052, 11, 0, -131051, 11, 0, -131050, 11, 0, -131049, 11, 0, -131048, 11, 0, -131047, 11, 0, -131046, 11, 0, -131045, 11, 0, -131044, 11, 0, -131043, 11, 0, -131042, 11, 0, -131041, 11, 0, -131040, 11, 0, -131039, 11, 0, -1, -1610612726, 0, -65536, 1610612739, 0, -65535, 2, 0, -65534, 2, 0, -65533, 2, 0, -65532, 2, 0, -65531, 3, 0, -65530, 1610612739, 0, -65529, 1610612739, 0, -65528, 536870915, 0, -65527, 536870915, 0, -65526, -1073741814, 0, -65525, 11, 0, -65524, 11, 0, -65523, 11, 0, -65522, 11, 0, -65521, 11, 0, -65520, 11, 0, -65519, 11, 0, -65518, 11, 0, -65517, 11, 0, -65516, 11, 0, -65515, 11, 0, -65514, 11, 0, -65513, 11, 0, -65512, 11, 0, -65511, 11, 0, -65510, 11, 0, -65509, 11, 0, -65508, 11, 0, -65507, 11, 0, -65506, 11, 0, -65505, 11, 0, -65504, 11, 0, -65503, 11, 0, 65535, -1610612721, 0, 0, 10, 0, 1, 10, 0, 2, 10, 0, 3, 10, 0, 4, 10, 0, 5, 10, 0, 6, 10, 0, 7, 10, 0, 8, 10, 0, 9, 10, 0, 10, 15, 0, 11, 11, 0, 12, 11, 0, 13, 11, 0, 14, 11, 0, 15, 11, 0, 16, 11, 0, 17, 11, 0, 18, 11, 0, 19, 11, 0, 20, 11, 0, 21, 11, 0, 22, 11, 0, 23, 11, 0, 24, 11, 0, 25, 11, 0, 26, 11, 0, 27, 11, 0, 28, 11, 0, 29, 11, 0, 30, 11, 0, 31, 11, 0, 32, 11, 0, 33, 11, 0 )
[node name="Spikes5" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 540, -156 )
[node name="Spikes6" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 516, -156 )
[node name="Spikes7" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 588, -156 )
[node name="Spikes8" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 564, -156 )
[node name="Spikes2" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 444, -156 )
[node name="Spikes" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 420, -156 )
[node name="Spikes3" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 492, -156 )
[node name="Spikes4" parent="TileMap" instance=ExtResource( 3 )]
position = Vector2( 468, -156 )
[connection signal="body_exited" from="Blobby/BlobbySkin" to="Blobby" method="_on_BlobbySkin_body_exited"]
[editable path="UserInterface"]
[editable path="UserInterface/HUD"]
[editable path="BlobbyCam"]
[editable path="Blobby"]