[gd_scene load_steps=20 format=2]

[ext_resource path="res://display/Sky.gd" type="Script" id=1]
[ext_resource path="res://display/display.shader" type="Shader" id=2]
[ext_resource path="res://textures/noise.png" type="Texture" id=3]
[ext_resource path="res://display/Viewport.gd" type="Script" id=4]
[ext_resource path="res://default_env.tres" type="Environment" id=5]
[ext_resource path="res://shaders/Sky.shader" type="Shader" id=6]
[ext_resource path="res://scene.tscn" type="PackedScene" id=7]
[ext_resource path="res://display/display_pp.gd" type="Script" id=8]
[ext_resource path="res://Sky.tscn" type="PackedScene" id=9]
[ext_resource path="res://font/kenpixel_future_square.ttf" type="DynamicFontData" id=10]
[ext_resource path="res://gui.tscn" type="PackedScene" id=11]
[ext_resource path="res://scripts/score.gd" type="Script" id=12]

[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 6 )
shader_param/iTime = null
shader_param/iFrame = null
shader_param/disable_panorama = false
shader_param/sun_pos = null
shader_param/iChannel0 = ExtResource( 3 )

[sub_resource type="ImageTexture" id=2]
size = Vector2( 1280, 720 )

[sub_resource type="ViewportTexture" id=3]
viewport_path = NodePath("Sky_p")

[sub_resource type="ShaderMaterial" id=4]
resource_local_to_scene = true
shader = ExtResource( 2 )
shader_param/iTime = 100.0
shader_param/conf_click = null
shader_param/iFrame = null
shader_param/minif = false
shader_param/minif2 = false
shader_param/play_click = 0.0
shader_param/ppoff = false
shader_param/sval = 0.25
shader_param/ssval = 0.75
shader_param/msval = null
shader_param/psval = null
shader_param/iChannel1 = ExtResource( 3 )
shader_param/iChannel2 = SubResource( 3 )

[sub_resource type="World" id=5]
environment = ExtResource( 5 )

[sub_resource type="StyleBoxFlat" id=6]
bg_color = Color( 0, 0, 0, 0 )
border_width_bottom = 4
border_color = Color( 0, 0, 0, 0.294118 )
shadow_color = Color( 0, 0, 0, 0.219608 )

[sub_resource type="DynamicFont" id=7]
size = 35
font_data = ExtResource( 10 )

[node name="scene" type="Node2D"]
pause_mode = 2

[node name="Sky" type="Viewport" parent="."]
pause_mode = 2
size = Vector2( 1280, 720 )
handle_input_locally = false
hdr = false
disable_3d = true
usage = 0
render_target_update_mode = 3
gui_disable_input = true

[node name="Sprite" type="Sprite" parent="Sky"]
pause_mode = 2
material = SubResource( 1 )
texture = SubResource( 2 )
centered = false
script = ExtResource( 1 )

[node name="Sky_p" type="Viewport" parent="."]
pause_mode = 2
size = Vector2( 1280, 720 )
own_world = true
handle_input_locally = false
hdr = false
render_target_update_mode = 3
gui_disable_input = true

[node name="scene" parent="Sky_p" instance=ExtResource( 9 )]
pause_mode = 2

[node name="main_screen" type="ViewportContainer" parent="."]
pause_mode = 2
material = SubResource( 4 )
margin_left = 0.489258
margin_top = 1.04951
margin_right = 1280.49
margin_bottom = 721.049
stretch = true
script = ExtResource( 8 )

[node name="main_vp" type="Viewport" parent="main_screen"]
pause_mode = 2
size = Vector2( 1280, 720 )
own_world = true
world = SubResource( 5 )
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 3
script = ExtResource( 4 )

[node name="scene" parent="main_screen/main_vp" instance=ExtResource( 7 )]

[node name="gui_c" type="ViewportContainer" parent="."]
pause_mode = 2
visible = false
margin_left = 368.018
margin_top = 61.575
margin_right = 868.018
margin_bottom = 661.575

[node name="vp" type="Viewport" parent="gui_c"]
pause_mode = 2
size = Vector2( 750, 900 )
transparent_bg = true
handle_input_locally = false
hdr = false
disable_3d = true
render_target_update_mode = 0
gui_disable_input = true

[node name="gui" parent="gui_c/vp" instance=ExtResource( 11 )]

[node name="score" type="Label" parent="."]
visible = false
margin_left = 987.0
margin_top = 11.0
margin_right = 1162.0
margin_bottom = 59.0
custom_styles/normal = SubResource( 6 )
custom_fonts/font = SubResource( 7 )
custom_colors/font_color = Color( 0, 0.698039, 1, 0.380392 )
text = "99999"
align = 1
valign = 2
script = ExtResource( 12 )
