[gd_scene load_steps=16 format=2]

[ext_resource path="res://JuiceMaster/Intro.gd" type="Script" id=1]
[ext_resource path="res://JuiceMaster/fonts/SpaceMono-Bold.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://JuiceMaster/materials/RenderingScene.tres" type="Environment" id=3]
[ext_resource path="res://JuiceMaster/materials/invertnboost.material" type="Material" id=4]
[ext_resource path="res://JuiceMaster/audio/60hz_appliance_humm.ogg" type="AudioStream" id=5]
[ext_resource path="res://JuiceMaster/audio/upclick.wav" type="AudioStream" id=6]
[ext_resource path="res://JuiceMaster/audio/fridge_humm_short.ogg" type="AudioStream" id=7]
[ext_resource path="res://JuiceMaster/audio/downclick.wav" type="AudioStream" id=8]
[ext_resource path="res://JuiceMaster/color_adjustment/shader overlay.tscn" type="PackedScene" id=9]

[sub_resource type="DynamicFont" id=1]
size = 40
outline_size = 2
outline_color = Color( 1, 0, 0, 1 )
font_data = ExtResource( 2 )

[sub_resource type="DynamicFont" id=2]
size = 17
outline_color = Color( 1, 0, 0, 1 )
font_data = ExtResource( 2 )

[sub_resource type="StyleBoxFlat" id=3]
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2

[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 1, 0, 0.501961, 1 )
border_width_left = 6
border_width_top = 6
border_width_right = 6
border_width_bottom = 6

[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0.6, 0.6, 0.6, 0 )
draw_center = false
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 3
corner_detail = 1

[sub_resource type="DynamicFont" id=6]
font_data = ExtResource( 2 )

[node name="Intro" type="Node2D"]
script = ExtResource( 1 )
game_scene_path = "res://JuiceMaster/RenderingScene.tscn"

[node name="ColorRect" type="ColorRect" parent="."]
margin_left = -17.0
margin_top = -12.0
margin_right = 409.0
margin_bottom = 239.0
color = Color( 0.0627451, 0, 0.619608, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="WorldEnvironment" type="WorldEnvironment" parent="ColorRect"]
environment = ExtResource( 3 )

[node name="Label" type="Label" parent="ColorRect"]
margin_left = 127.0
margin_top = 12.0
margin_right = 295.0
margin_bottom = 72.0
custom_fonts/font = SubResource( 1 )
text = "Warning"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label2" type="Label" parent="ColorRect"]
margin_left = 69.0
margin_top = 72.0
margin_right = 345.0
margin_bottom = 159.0
custom_fonts/font = SubResource( 2 )
text = "game contains
intense flashing lights
press and hold to proceed"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Button" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = 116.0
margin_top = 159.0
margin_right = 272.0
margin_bottom = 209.0
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/normal = SubResource( 5 )
custom_fonts/font = SubResource( 6 )
text = "understood"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ColorRect" type="ColorRect" parent="Button"]
visible = false
material = ExtResource( 4 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 6.0
margin_top = 6.0
margin_right = -6.0
margin_bottom = -6.0
rect_scale = Vector2( 1e-05, 1 )
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Timer" type="Timer" parent="."]
wait_time = 0.05
autostart = true

[node name="fridge" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
autoplay = true

[node name="buzz" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -80.0
autoplay = true

[node name="upclick" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )

[node name="downclick" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )

[node name="CanvasLayer" type="CanvasLayer" parent="."]

[node name="ColorPaletteSquasher" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = -378.0
margin_top = -304.0
margin_right = 1104.99
margin_bottom = 732.0

[connection signal="button_down" from="Button" to="." method="_on_Button_button_down"]
[connection signal="button_up" from="Button" to="." method="_on_Button_button_up"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
