[gd_scene load_steps=28 format=2]

[ext_resource path="res://images/game1/Herbert-01.tres" type="SpriteFrames" id=1]
[ext_resource path="res://images/game1/opening2bg.tres" type="SpriteFrames" id=2]
[ext_resource path="res://scripts/game1/Game1Script.gd" type="Script" id=3]
[ext_resource path="res://scenes/SidePlayer.tscn" type="PackedScene" id=4]
[ext_resource path="res://scripts/game1/opening2_next_step_trigger.gd" type="Script" id=5]
[ext_resource path="res://images/goo/goo5.tres" type="Resource" id=6]
[ext_resource path="res://images/goo/goo8.tres" type="Resource" id=7]
[ext_resource path="res://scripts/ControlIndicator.gd" type="Script" id=8]
[ext_resource path="res://scripts/game1/ControlIndicators1.gd" type="Script" id=9]
[ext_resource path="res://scenes/dialogue.tscn" type="PackedScene" id=10]
[ext_resource path="res://fonts/dialog_default_font.tres" type="DynamicFont" id=11]
[ext_resource path="res://images/game1/Herbert-01_mask.tres" type="SpriteFrames" id=12]
[ext_resource path="res://images/goo/goo4.tres" type="Resource" id=29]
[ext_resource path="res://images/goo/BigGoo2.tres" type="Resource" id=30]
[ext_resource path="res://images/goo/goo2.tres" type="Resource" id=31]
[ext_resource path="res://images/goo/goo7.tres" type="Resource" id=32]
[ext_resource path="res://images/goo/goo6.tres" type="Resource" id=33]
[ext_resource path="res://images/goo/BigGoo1.tres" type="Resource" id=34]
[ext_resource path="res://scripts/GooEmitter.gd" type="Script" id=35]
[ext_resource path="res://images/goo/goo1.tres" type="Resource" id=36]
[ext_resource path="res://images/goo/goo3.tres" type="Resource" id=37]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 114.063, 10 )

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 117.734, 10 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 13.4499, 41.9587 )

[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 6.44203, 23.0973 )

[sub_resource type="Shader" id=14]
code = "shader_type canvas_item;
uniform sampler2D tex_frg_3;
uniform sampler2D tex_frg_7;



void vertex() {
// Output:0

}

void fragment() {
// Input:5

// Input:2

// Texture:3
	vec4 tex_frg_3_read = texture(SCREEN_TEXTURE, SCREEN_UV);
	vec3 n_out3p0 = tex_frg_3_read.rgb;
	float n_out3p1 = tex_frg_3_read.a;

// VectorDecompose:10
	float n_out10p0 = n_out3p0.x;
	float n_out10p1 = n_out3p0.y;
	float n_out10p2 = n_out3p0.z;

// Input:8
	vec3 n_out8p0 = vec3(UV, 0.0);

// Input:6

// Texture:7
	vec4 tex_frg_7_read = texture(TEXTURE, n_out8p0.xy);
	vec3 n_out7p0 = tex_frg_7_read.rgb;
	float n_out7p1 = tex_frg_7_read.a;

// If:9
	float n_in9p1 = 1.00000;
	float n_in9p2 = 0.05000;
	vec3 n_out9p0;
	if(abs(n_out10p0 - n_in9p1) < n_in9p2)
	{
		n_out9p0 = n_out7p0;
	}
	else if(n_out10p0 < n_in9p1)
	{
		n_out9p0 = n_out3p0;
	}
	else
	{
		n_out9p0 = n_out3p0;
	}

// Output:0
	COLOR.rgb = n_out9p0;

}

void light() {
// Output:0

}
"
custom_defines = ""

[sub_resource type="ShaderMaterial" id=13]
shader = SubResource( 14 )

[node name="Node2D" type="Node2D"]
script = ExtResource( 3 )
dialogue = "res://dialogues/game1.json"

[node name="Game" type="Node2D" parent="."]

[node name="Opening2" type="Node2D" parent="."]

[node name="Opening2Bg" type="AnimatedSprite" parent="Opening2"]
frames = ExtResource( 2 )
playing = true
centered = false

[node name="Player" parent="Opening2" instance=ExtResource( 4 )]
position = Vector2( -6.22136, 83.6906 )

[node name="walls" type="Node2D" parent="Opening2"]

[node name="StaticBody2D" type="StaticBody2D" parent="Opening2/walls"]
position = Vector2( -6.22136, 83.6906 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D"]
position = Vector2( 99.7793, 36.875 )
shape = SubResource( 1 )

[node name="StaticBody2D2" type="StaticBody2D" parent="Opening2/walls"]
position = Vector2( -6.22136, 83.6906 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D2"]
position = Vector2( 101.948, -20.3563 )
shape = SubResource( 2 )

[node name="StaticBody2D3" type="StaticBody2D" parent="Opening2/walls"]
position = Vector2( -6.22136, 83.6906 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D3"]
position = Vector2( -25.6957, 6 )
shape = SubResource( 3 )

[node name="StaticBody2D4" type="StaticBody2D" parent="Opening2/walls"]
position = Vector2( -6.22136, 83.6906 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D4"]
position = Vector2( 224.921, 6 )
shape = SubResource( 3 )

[node name="next_step_trigger" type="Area2D" parent="Opening2"]
position = Vector2( -6.22136, 83.6906 )
script = ExtResource( 5 )
root_path = NodePath("../..")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/next_step_trigger"]
position = Vector2( 210.738, 5 )
shape = SubResource( 4 )

[node name="GooEmitter" type="Node2D" parent="Opening2"]
position = Vector2( 218.7, 26.2372 )
script = ExtResource( 35 )
__meta__ = {
"_editor_description_": ""
}
goo_particles = [ ExtResource( 34 ), ExtResource( 30 ), ExtResource( 36 ), ExtResource( 31 ), ExtResource( 37 ), ExtResource( 29 ), ExtResource( 6 ), ExtResource( 33 ), ExtResource( 32 ), ExtResource( 7 ) ]
direction = Vector2( -1, 0 )
spawn_rate = 2

[node name="ControlIndicators" type="Node2D" parent="Opening2"]
position = Vector2( 37.7092, 95.9416 )
script = ExtResource( 9 )

[node name="ControlIndicatorLeft" type="AnimatedSprite" parent="Opening2/ControlIndicators"]
position = Vector2( -7.50846, 0 )
script = ExtResource( 8 )

[node name="ControlIndicatorRight" type="AnimatedSprite" parent="Opening2/ControlIndicators"]
position = Vector2( 7.84219, 0 )
script = ExtResource( 8 )

[node name="Opening1" type="AnimatedSprite" parent="."]
frames = ExtResource( 1 )
centered = false

[node name="Label" type="Label" parent="Opening1"]
margin_left = 54.0011
margin_top = 30.8309
margin_right = 157.001
margin_bottom = 77.8309
custom_fonts/font = ExtResource( 11 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "As I was on my daily morning walk, I saw something strange."
align = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Mask" type="AnimatedSprite" parent="Opening1"]
frames = ExtResource( 12 )
centered = false

[node name="OpeningOver" type="AnimatedSprite" parent="Opening1"]
material = SubResource( 13 )
frames = ExtResource( 1 )
centered = false

[node name="UI" type="Control" parent="."]
margin_right = 192.0
margin_bottom = 108.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Dialog" parent="UI" instance=ExtResource( 10 )]
