[gd_scene load_steps=8 format=3 uid="uid://d2k8y13qfvch0"]

[ext_resource type="Script" uid="uid://cx1xj7esl03ui" path="res://main.gd" id="2_h2yge"]
[ext_resource type="Texture2D" uid="uid://6frn8lcwwehv" path="res://Assets/TextureAtlases/puppyfruit.png" id="2_lquwl"]
[ext_resource type="Script" uid="uid://p1ugbcmjuwxg" path="res://Scripts/boot_logo.gd" id="3_7mycd"]
[ext_resource type="Shader" uid="uid://dvvn4x6geogiv" path="res://Shaders/mightyduke.gdshader" id="6_7mycd"]

[sub_resource type="AtlasTexture" id="AtlasTexture_272bh"]
atlas = ExtResource("2_lquwl")
region = Rect2(0, 0, 256, 256)

[sub_resource type="ViewportTexture" id="ViewportTexture_1bvp3"]
viewport_path = NodePath("UI")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_272bh"]
shader = ExtResource("6_7mycd")
shader_parameter/color_depth = 5
shader_parameter/dithering = true
shader_parameter/resolution_scale = 1

[node name="Main" type="Node" node_paths=PackedStringArray("scene", "ui_viewport", "movies")]
script = ExtResource("2_h2yge")
scene = NodePath("Scene")
ui_viewport = NodePath("UI")
movies = NodePath("Movies")
metadata/_custom_type_script = "uid://cx1xj7esl03ui"

[node name="Movies" type="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.193592, 0.4164, 0.224909, 1)

[node name="TextureRect" type="TextureRect" parent="Movies" node_paths=PackedStringArray("color_rect")]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -128.0
offset_top = -147.0
offset_right = 128.0
offset_bottom = 109.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_272bh")
script = ExtResource("3_7mycd")
color_rect = NodePath("../ColorRect")

[node name="Label" type="Label" parent="Movies"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.77
anchor_right = 0.5
anchor_bottom = 0.77
grow_horizontal = 2
grow_vertical = 2
text = "puppyfruit"
horizontal_alignment = 1
vertical_alignment = 1

[node name="ColorRect" type="ColorRect" parent="Movies"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -165.0
offset_top = 50.0
offset_right = 190.0
offset_bottom = 135.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.192157, 0.415686, 0.223529, 1)

[node name="Scene" type="Node" parent="."]

[node name="UI" type="SubViewport" parent="."]
transparent_bg = true
size = Vector2i(320, 240)

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

[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
texture_filter = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = SubResource("ViewportTexture_1bvp3")
expand_mode = 1

[node name="ColorRect2" type="ColorRect" parent="CanvasLayer"]
material = SubResource("ShaderMaterial_272bh")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[connection signal="animation_finished" from="Movies/TextureRect" to="." method="load_main_menu"]
