171 lines
7.0 KiB
Plaintext
171 lines
7.0 KiB
Plaintext
[gd_scene load_steps=19 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/Contraptions/Portal/Portal.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://src/Environment/DropThroughPlatforms.tres" type="TileSet" id=6]
|
|
[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=7]
|
|
[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://src/Levels/Templates/LevelTemplate.gd" type="Script" id=9]
|
|
[ext_resource path="res://assets/environment/decor/platform-plants.png" type="Texture" id=10]
|
|
[ext_resource path="res://src/Contraptions/Triggers/ElevatorButton.tscn" type="PackedScene" id=11]
|
|
[ext_resource path="res://src/Environment/GlassAndRoots.tscn" type="PackedScene" id=12]
|
|
[ext_resource path="res://src/Utilities/SceneAudio.tscn" type="PackedScene" id=13]
|
|
[ext_resource path="res://src/Environment/Plants/DecorPlant.tscn" type="PackedScene" id=14]
|
|
|
|
[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( 10 )
|
|
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( 9 )
|
|
__meta__ = {
|
|
"_edit_horizontal_guides_": [ 464.0 ],
|
|
"_edit_vertical_guides_": [ 2880.0 ]
|
|
}
|
|
|
|
[node name="SignalManager" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="SceneAudio" parent="." instance=ExtResource( 13 )]
|
|
|
|
[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( 8 )]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="BlobbyCam" parent="." instance=ExtResource( 4 )]
|
|
unique_name_in_owner = true
|
|
drag_margin_bottom = 0.3
|
|
|
|
[node name="Blobby" parent="." instance=ExtResource( 7 )]
|
|
unique_name_in_owner = true
|
|
position = Vector2( -1, 112 )
|
|
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, 1610612741, 65539, -393229, 1610612741, 3, -393228, 1610612741, 3, -393227, 1610612741, 3, -393226, 1610612741, 3, -393225, 1610612741, 3, -393224, 1610612741, 3, -393223, 1610612741, 3, -393222, 1610612741, 3, -393221, 1610612741, 3, -393220, 1610612741, 3, -393219, 1610612741, 3, -393218, 1610612741, 3, -393217, 1610612741, 3, -458752, 1610612741, 3, -458751, 1610612741, 3, -458750, 1610612741, 3, -458749, 1610612741, 3, -458748, 1610612741, 3, -458747, 1610612741, 3, -458746, 1610612741, 3, -458745, 1610612741, 3, -458744, 1610612741, 3, -458743, 1610612741, 3, -458742, 1610612741, 3, -458741, 1610612741, 3, -458740, 1610612741, 3, -458739, 1610612741, 3, -458738, 1610612741, 3, -458737, 1610612741, 3, -458736, 1610612741, 3, -458735, 1610612741, 3, -458734, 1610612741, 3, -458733, 1610612741, 65538, -327694, 5, 7, -393197, 5, 6, -262158, 5, 7, -327661, 5, 6, -196622, 5, 7, -262125, 5, 6, -131086, 5, 7, -196589, 5, 6, -65550, 5, 7, -131053, 5, 6, -14, 5, 7, -65517, 5, 6, 65522, 5, 7, 19, 5, 6, 131058, 5, 7, 65555, 5, 6, 196594, 5, 7, 131091, 5, 6, 262130, 5, 7, 196627, 5, 6, 327666, 5, 7, 262163, 5, 6, 393202, 5, 7, 327699, 5, 6, 458738, 5, 7, 393235, 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, 65539 )
|
|
|
|
[node name="DropThroughPlatforms" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 6 )
|
|
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="DecorPlants" parent="." instance=ExtResource( 14 )]
|
|
|
|
[node name="GlassAndRoots" parent="." instance=ExtResource( 12 )]
|
|
|
|
[node name="ElevatorButton" parent="." instance=ExtResource( 11 )]
|
|
position = Vector2( 208, 102 )
|
|
elevator_time = 10
|
|
|
|
[node name="Portal" parent="." instance=ExtResource( 5 )]
|
|
position = Vector2( 288, 96 )
|
|
next_scene = "res://src/Levels/Actual Level 1.tscn"
|
|
|
|
[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"]
|