175 lines
13 KiB
Plaintext
175 lines
13 KiB
Plaintext
[gd_scene load_steps=18 format=2]
|
|
|
|
[ext_resource path="res://src/Environment/GreenHouseTiles.tres" type="TileSet" id=1]
|
|
[ext_resource path="res://src/Utilities/SignalManager.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://src/Utilities/LevelState.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://src/Actors/BlobbyCam.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://src/Environment/DropThroughPlatforms.tres" type="TileSet" id=5]
|
|
[ext_resource path="res://src/Utilities/SceneAudio.tscn" type="PackedScene" id=6]
|
|
[ext_resource path="res://src/Contraptions/Triggers/ElevatorButton.tscn" type="PackedScene" id=7]
|
|
[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=9]
|
|
[ext_resource path="res://src/Levels/Templates/LevelTemplate.gd" type="Script" id=10]
|
|
[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=11]
|
|
[ext_resource path="res://assets/environment/decor/platform-plants.png" type="Texture" id=12]
|
|
[ext_resource path="res://src/Platforms/FlyingLaserCutter.tscn" type="PackedScene" id=13]
|
|
|
|
[sub_resource type="Shader" id=15]
|
|
code = "shader_type canvas_item;
|
|
|
|
uniform vec4 in_color:hint_color;
|
|
uniform vec4 out_color:hint_color;
|
|
|
|
uniform float in_out:hint_range(0.,1.)=0.;
|
|
|
|
uniform float position:hint_range(-1.5,1.) = 0.856;
|
|
uniform vec2 size = vec2(16., 16.);
|
|
|
|
void fragment(){
|
|
|
|
vec2 a = (1./SCREEN_PIXEL_SIZE) / size;
|
|
|
|
vec2 uv=UV;
|
|
uv *= a;
|
|
|
|
vec2 i_uv = floor(uv);
|
|
vec2 f_uv = fract(uv);
|
|
|
|
float wave = max(0.,i_uv.x/(a.x) - position);
|
|
|
|
vec2 center = f_uv*2.-1.;
|
|
float circle = length(center);
|
|
circle = 1. - step(wave,circle);
|
|
|
|
vec4 color = mix(in_color, out_color, step(0.5, in_out));
|
|
|
|
COLOR=vec4(circle) * color;
|
|
}"
|
|
|
|
[sub_resource type="ShaderMaterial" id=16]
|
|
shader = SubResource( 15 )
|
|
shader_param/in_color = Color( 0, 0, 0, 1 )
|
|
shader_param/out_color = Color( 0, 0, 0, 0.568627 )
|
|
shader_param/in_out = 0.0
|
|
shader_param/position = -1.5
|
|
shader_param/size = Vector2( 32, 32 )
|
|
|
|
[sub_resource type="AnimationNodeStateMachinePlayback" id=6]
|
|
|
|
[sub_resource type="TileSet" id=5]
|
|
0/name = "platform-plants.png 0"
|
|
0/texture = ExtResource( 12 )
|
|
0/tex_offset = Vector2( 0, 0 )
|
|
0/modulate = Color( 1, 1, 1, 1 )
|
|
0/region = Rect2( 16, 0, 256, 16 )
|
|
0/tile_mode = 2
|
|
0/autotile/icon_coordinate = Vector2( 5, 0 )
|
|
0/autotile/tile_size = Vector2( 16, 16 )
|
|
0/autotile/spacing = 0
|
|
0/autotile/occluder_map = [ ]
|
|
0/autotile/navpoly_map = [ ]
|
|
0/autotile/priority_map = [ ]
|
|
0/autotile/z_index_map = [ ]
|
|
0/occluder_offset = Vector2( 0, 0 )
|
|
0/navigation_offset = Vector2( 0, 0 )
|
|
0/shape_offset = Vector2( 0, 0 )
|
|
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
0/shape_one_way = false
|
|
0/shape_one_way_margin = 0.0
|
|
0/shapes = [ ]
|
|
0/z_index = 0
|
|
|
|
[node name="LevelTemplate" type="Node2D"]
|
|
script = ExtResource( 10 )
|
|
__meta__ = {
|
|
"_edit_horizontal_guides_": [ 464.0 ],
|
|
"_edit_vertical_guides_": [ 2880.0 ]
|
|
}
|
|
|
|
[node name="SignalManager" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="SceneAudio" parent="." instance=ExtResource( 6 )]
|
|
|
|
[node name="LevelState" parent="." instance=ExtResource( 3 )]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="TransitionLayer" type="CanvasLayer" parent="."]
|
|
visible = false
|
|
|
|
[node name="SceneTransition" type="ColorRect" parent="TransitionLayer"]
|
|
material = SubResource( 16 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="UserInterface" parent="." instance=ExtResource( 9 )]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="Timer" parent="UserInterface/HUD/HUDOverlay/GetBackTimer" index="0"]
|
|
wait_time = 20.0
|
|
|
|
[node name="BlobbyCam" parent="." instance=ExtResource( 4 )]
|
|
unique_name_in_owner = true
|
|
drag_margin_bottom = 0.3
|
|
|
|
[node name="Blobby" parent="." instance=ExtResource( 8 )]
|
|
unique_name_in_owner = true
|
|
position = Vector2( -70, -1.90735e-06 )
|
|
scale = Vector2( 0.878906, 0.936025 )
|
|
|
|
[node name="BlobbySprite" parent="Blobby" index="5"]
|
|
frame = 7
|
|
|
|
[node name="BlobbymationTree" parent="Blobby/BlobbySprite" index="0"]
|
|
parameters/playback = SubResource( 6 )
|
|
|
|
[node name="TileMap" type="TileMap" parent="."]
|
|
unique_name_in_owner = true
|
|
tile_set = ExtResource( 1 )
|
|
cell_size = Vector2( 16, 16 )
|
|
cell_quadrant_size = 3
|
|
cell_custom_transform = Transform2D( 24, 0, 0, 24, 0, 0 )
|
|
collision_layer = 8
|
|
collision_mask = 8
|
|
bake_navigation = true
|
|
format = 1
|
|
tile_data = PoolIntArray( -393230, 5, 65540, -393229, 5, 10, -393228, 5, 10, -393227, 5, 10, -393226, 5, 10, -393225, 5, 10, -393224, 5, 10, -393223, 5, 10, -393222, 5, 10, -393221, 5, 10, -393220, 5, 10, -393219, 5, 10, -393218, 5, 10, -393217, 5, 10, -458752, 5, 10, -458751, 5, 10, -458750, 5, 10, -458749, 5, 10, -458748, 5, 10, -458747, 5, 10, -458746, 5, 10, -458745, 5, 10, -458744, 5, 10, -458743, 5, 10, -458742, 5, 10, -458741, 5, 10, -458740, 5, 10, -458739, 5, 10, -458738, 5, 10, -458737, 5, 10, -458736, 5, 10, -458735, 5, 10, -458734, 5, 10, -458733, 5, 10, -458732, 5, 10, -458731, 5, 10, -458730, 5, 10, -458729, 5, 10, -458728, 5, 10, -458727, 5, 10, -458726, 5, 10, -458725, 5, 10, -458724, 5, 10, -458723, 5, 10, -458722, 5, 10, -458721, 5, 10, -458720, 5, 10, -458719, 5, 10, -458718, 5, 10, -458717, 5, 10, -458716, 5, 10, -458715, 5, 10, -458714, 5, 10, -458713, 5, 10, -458712, 5, 10, -458711, 5, 10, -458710, 5, 10, -458709, 5, 10, -458708, 5, 10, -458707, 5, 65541, -327694, 5, 7, -327693, 7, 0, -327692, 7, 0, -327691, 7, 0, -327690, 7, 0, -327689, 7, 0, -327688, 7, 0, -327687, 7, 0, -327686, 7, 0, -327685, 7, 0, -327684, 7, 0, -327683, 7, 0, -327682, 7, 0, -327681, 7, 0, -393216, 7, 0, -393215, 7, 0, -393214, 7, 0, -393213, 7, 0, -393212, 7, 0, -393211, 7, 0, -393210, 7, 0, -393209, 7, 0, -393208, 7, 0, -393207, 7, 0, -393206, 7, 0, -393205, 7, 0, -393204, 7, 0, -393203, 7, 0, -393202, 7, 0, -393201, 7, 0, -393200, 7, 0, -393199, 7, 0, -393198, 7, 0, -393171, 5, 6, -262158, 5, 7, -262157, 7, 0, -262156, 7, 0, -262155, 7, 0, -262154, 7, 0, -262153, 7, 0, -262152, 7, 0, -262151, 7, 0, -262150, 7, 0, -262149, 7, 0, -262148, 7, 0, -262147, 7, 0, -262146, 7, 0, -262145, 7, 0, -327680, 7, 0, -327679, 7, 0, -327678, 7, 0, -327677, 7, 0, -327676, 7, 0, -327675, 7, 0, -327674, 7, 0, -327673, 7, 0, -327672, 7, 0, -327671, 7, 0, -327670, 7, 0, -327669, 7, 0, -327668, 7, 0, -327667, 7, 0, -327666, 7, 0, -327665, 7, 0, -327664, 7, 0, -327663, 7, 0, -327662, 7, 0, -327635, 5, 6, -196622, 5, 7, -196621, 7, 0, -196620, 7, 0, -196619, 7, 0, -196618, 7, 0, -196617, 7, 0, -196616, 7, 0, -196615, 7, 0, -196614, 7, 0, -196613, 7, 0, -196612, 7, 0, -196611, 7, 0, -196610, 7, 0, -196609, 7, 0, -262144, 7, 0, -262143, 7, 0, -262142, 7, 0, -262141, 7, 0, -262140, 7, 0, -262139, 7, 0, -262138, 7, 0, -262137, 7, 0, -262136, 7, 0, -262135, 7, 0, -262134, 7, 0, -262133, 7, 0, -262132, 7, 0, -262131, 7, 0, -262130, 7, 0, -262129, 7, 0, -262128, 7, 0, -262127, 7, 0, -262126, 7, 0, -262099, 5, 6, -131086, 5, 7, -131085, 7, 0, -131084, 7, 0, -131083, 7, 0, -131082, 7, 0, -131081, 7, 0, -131080, 7, 0, -131079, 7, 0, -131078, 7, 0, -131077, 7, 0, -131076, 7, 0, -131075, 7, 0, -131074, 7, 0, -131073, 7, 0, -196608, 7, 0, -196607, 7, 0, -196606, 7, 0, -196605, 7, 0, -196604, 7, 0, -196603, 7, 0, -196602, 7, 0, -196601, 7, 0, -196600, 7, 0, -196599, 7, 0, -196598, 7, 0, -196597, 7, 0, -196596, 7, 0, -196595, 7, 0, -196594, 7, 0, -196593, 7, 0, -196592, 7, 0, -196591, 7, 0, -196590, 7, 0, -196563, 5, 6, -65550, 5, 7, -65549, 7, 0, -65548, 7, 0, -65547, 7, 0, -65546, 7, 0, -65545, 7, 0, -65544, 7, 0, -65543, 7, 0, -65542, 7, 0, -65541, 7, 0, -65540, 7, 0, -65539, 7, 0, -65538, 7, 0, -65537, 7, 0, -131072, 7, 0, -131071, 7, 0, -131070, 7, 0, -131069, 7, 0, -131068, 7, 0, -131067, 7, 0, -131066, 7, 0, -131065, 7, 0, -131064, 7, 0, -131063, 7, 0, -131062, 7, 0, -131061, 7, 0, -131060, 7, 0, -131059, 7, 0, -131058, 7, 0, -131057, 7, 0, -131056, 7, 0, -131055, 7, 0, -131054, 7, 0, -131027, 5, 6, -14, 5, 7, -13, 7, 0, -12, 7, 0, -11, 7, 0, -10, 7, 0, -9, 7, 0, -8, 7, 0, -7, 7, 0, -6, 7, 0, -5, 7, 0, -4, 7, 0, -3, 7, 0, -2, 7, 0, -1, 7, 0, -65536, 7, 0, -65535, 7, 0, -65534, 7, 0, -65533, 7, 0, -65532, 7, 0, -65531, 7, 0, -65530, 7, 0, -65529, 7, 0, -65528, 7, 0, -65527, 7, 0, -65526, 7, 0, -65525, 7, 0, -65524, 7, 0, -65523, 7, 0, -65522, 7, 0, -65521, 7, 0, -65520, 7, 0, -65519, 7, 0, -65518, 7, 0, -65491, 5, 6, 65522, 5, 7, 65523, 7, 0, 65524, 7, 0, 65525, 7, 0, 65526, 7, 0, 65527, 7, 0, 65528, 7, 0, 65529, 7, 0, 65530, 7, 0, 65531, 7, 0, 65532, 7, 0, 65533, 7, 0, 65534, 7, 0, 65535, 7, 0, 0, 7, 0, 1, 7, 0, 2, 7, 0, 3, 7, 0, 4, 7, 0, 5, 7, 0, 6, 7, 0, 7, 7, 0, 8, 7, 0, 9, 7, 0, 10, 7, 0, 11, 7, 0, 12, 7, 0, 13, 7, 0, 14, 7, 0, 15, 7, 0, 16, 7, 0, 17, 7, 0, 18, 7, 0, 45, 5, 6, 131058, 5, 7, 131059, 7, 0, 131060, 7, 0, 131061, 7, 0, 131062, 7, 0, 131063, 7, 0, 131064, 7, 0, 131065, 7, 0, 131066, 7, 0, 131067, 7, 0, 131068, 7, 0, 131069, 7, 0, 131070, 7, 0, 131071, 7, 0, 65536, 7, 0, 65537, 7, 0, 65538, 7, 0, 65539, 7, 0, 65540, 7, 0, 65541, 7, 0, 65542, 7, 0, 65543, 7, 0, 65544, 7, 0, 65545, 7, 0, 65546, 7, 0, 65547, 7, 0, 65548, 7, 0, 65549, 7, 0, 65550, 7, 0, 65551, 7, 0, 65552, 7, 0, 65553, 7, 0, 65554, 7, 0, 65581, 5, 6, 196594, 5, 7, 196595, 7, 0, 196596, 7, 0, 196597, 7, 0, 196598, 7, 0, 196599, 7, 0, 196600, 7, 0, 196601, 7, 0, 196602, 7, 0, 196603, 7, 0, 196604, 7, 0, 196605, 7, 0, 196606, 7, 0, 196607, 7, 0, 131072, 7, 0, 131073, 7, 0, 131074, 7, 0, 131075, 7, 0, 131076, 7, 0, 131077, 7, 0, 131078, 7, 0, 131079, 7, 0, 131080, 7, 0, 131081, 7, 0, 131082, 7, 0, 131083, 7, 0, 131084, 7, 0, 131085, 7, 0, 131086, 7, 0, 131087, 7, 0, 131088, 7, 0, 131089, 7, 0, 131090, 7, 0, 131117, 5, 6, 262130, 5, 7, 262131, 7, 0, 262132, 7, 0, 262133, 7, 0, 262134, 7, 0, 262135, 7, 0, 262136, 7, 0, 262137, 7, 0, 262138, 7, 0, 262139, 7, 0, 262140, 7, 0, 262141, 7, 0, 262142, 7, 0, 262143, 7, 0, 196608, 7, 0, 196609, 7, 0, 196610, 7, 0, 196611, 7, 0, 196612, 7, 0, 196613, 7, 0, 196614, 7, 0, 196615, 7, 0, 196616, 7, 0, 196617, 7, 0, 196618, 7, 0, 196619, 7, 0, 196620, 7, 0, 196621, 7, 0, 196622, 7, 0, 196623, 7, 0, 196624, 7, 0, 196625, 7, 0, 196626, 7, 0, 196653, 5, 6, 327666, 5, 7, 327667, 7, 0, 327668, 7, 0, 327669, 7, 0, 327670, 7, 0, 327671, 7, 0, 327672, 7, 0, 327673, 7, 0, 327674, 7, 0, 327675, 7, 0, 327676, 7, 0, 327677, 7, 0, 327678, 7, 0, 327679, 7, 0, 262144, 7, 0, 262145, 7, 0, 262146, 7, 0, 262147, 7, 0, 262148, 7, 0, 262149, 7, 0, 262150, 7, 0, 262151, 7, 0, 262152, 7, 0, 262153, 7, 0, 262154, 7, 0, 262155, 7, 0, 262156, 7, 0, 262157, 7, 0, 262158, 7, 0, 262159, 7, 0, 262160, 7, 0, 262161, 7, 0, 262162, 7, 0, 262189, 5, 6, 393202, 5, 7, 393203, 7, 0, 393204, 7, 0, 393205, 7, 0, 393206, 7, 0, 393207, 7, 0, 393208, 7, 0, 393209, 7, 0, 393210, 7, 0, 393211, 7, 0, 393212, 7, 0, 393213, 7, 0, 393214, 7, 0, 393215, 7, 0, 327680, 7, 0, 327681, 7, 0, 327682, 7, 0, 327683, 7, 0, 327684, 7, 0, 327685, 7, 0, 327686, 7, 0, 327687, 7, 0, 327688, 7, 0, 327689, 7, 0, 327690, 7, 0, 327691, 7, 0, 327692, 7, 0, 327693, 7, 0, 327694, 7, 0, 327695, 7, 0, 327696, 7, 0, 327697, 7, 0, 327698, 7, 0, 327725, 5, 6, 458738, 5, 7, 458739, 7, 0, 458740, 7, 0, 458741, 7, 0, 458742, 7, 0, 458743, 7, 0, 458744, 7, 0, 458745, 7, 0, 458746, 7, 0, 458747, 7, 0, 458748, 7, 0, 458749, 7, 0, 458750, 7, 0, 458751, 7, 0, 393216, 7, 0, 393217, 7, 0, 393218, 7, 0, 393219, 7, 0, 393220, 7, 0, 393221, 7, 0, 393222, 7, 0, 393223, 7, 0, 393224, 7, 0, 393225, 7, 0, 393226, 7, 0, 393227, 7, 0, 393228, 7, 0, 393229, 7, 0, 393230, 7, 0, 393231, 7, 0, 393232, 7, 0, 393233, 7, 0, 393234, 7, 0, 393261, 5, 6, 524274, 5, 65538, 524275, 5, 2, 524276, 5, 2, 524277, 5, 2, 524278, 5, 2, 524279, 5, 2, 524280, 5, 2, 524281, 5, 2, 524282, 5, 2, 524283, 5, 2, 524284, 5, 2, 524285, 5, 2, 524286, 5, 2, 524287, 5, 2, 458752, 5, 2, 458753, 5, 2, 458754, 5, 2, 458755, 5, 2, 458756, 5, 2, 458757, 5, 2, 458758, 5, 2, 458759, 5, 2, 458760, 5, 2, 458761, 5, 2, 458762, 5, 2, 458763, 5, 2, 458764, 5, 2, 458765, 5, 2, 458766, 5, 2, 458767, 5, 2, 458768, 5, 2, 458769, 5, 2, 458770, 5, 2, 458771, 5, 2, 458772, 5, 2, 458773, 5, 2, 458774, 5, 2, 458775, 5, 2, 458776, 5, 2, 458777, 5, 2, 458778, 5, 2, 458779, 5, 2, 458780, 5, 2, 458781, 5, 2, 458782, 5, 2, 458783, 5, 2, 458784, 5, 2, 458785, 5, 2, 458786, 5, 2, 458787, 5, 2, 458788, 5, 2, 458789, 5, 2, 458790, 5, 2, 458791, 5, 2, 458792, 5, 2, 458793, 5, 2, 458794, 5, 2, 458795, 5, 2, 458796, 5, 2, 458797, 5, 65539 )
|
|
|
|
[node name="DropThroughPlatforms" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 5 )
|
|
cell_size = Vector2( 16, 16 )
|
|
collision_layer = 128
|
|
collision_mask = 128
|
|
format = 1
|
|
|
|
[node name="PlatformPlants" type="TileMap" parent="."]
|
|
tile_set = SubResource( 5 )
|
|
cell_size = Vector2( 16, 16 )
|
|
format = 1
|
|
|
|
[node name="ElevatorButton" parent="." instance=ExtResource( 7 )]
|
|
position = Vector2( 158, -124 )
|
|
elevator_time = 10
|
|
|
|
[node name="Portal" parent="ElevatorButton" instance=ExtResource( 11 )]
|
|
position = Vector2( 36, -8 )
|
|
scale = Vector2( 0.5, 0.5 )
|
|
next_scene = "res://src/Levels/Actual Level 1.tscn"
|
|
|
|
[node name="FlyingLaserCutter" parent="." instance=ExtResource( 13 )]
|
|
position = Vector2( 80, 47 )
|
|
rotation = 1.57079
|
|
scale = Vector2( 1, 1.00162 )
|
|
|
|
[connection signal="body_exited" from="Blobby/BlobbySkin" to="Blobby" method="_on_BlobbySkin_body_exited"]
|
|
|
|
[editable path="SignalManager"]
|
|
[editable path="LevelState"]
|
|
[editable path="UserInterface"]
|
|
[editable path="UserInterface/HUD"]
|
|
[editable path="BlobbyCam"]
|
|
[editable path="Blobby"]
|