[gd_scene load_steps=14 format=2] [ext_resource path="res://scripts/scaling.gd" type="Script" id=1] [ext_resource path="res://graphics/borders/prideborder.png" type="Texture" id=2] [ext_resource path="res://maps/level_select.tscn" type="PackedScene" id=3] [ext_resource path="res://shaders/lcd.gdshader" type="Shader" id=4] [ext_resource path="res://ui/2ndpuberty_no_dropshadow.tres" type="Theme" id=5] [ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=6] [ext_resource path="res://graphics/fade_patterns/diamonds2.png" type="Texture" id=7] [ext_resource path="res://scripts/fade.gd" type="Script" id=8] [ext_resource path="res://shaders/fade.gdshader" type="Shader" id=9] [sub_resource type="ShaderMaterial" id=1] shader = ExtResource( 4 ) shader_param/enabled = false shader_param/resolution = Vector2( 256, 192 ) shader_param/curvature = Vector2( inf, inf ) shader_param/scanline_opacity = Vector2( 0.125, 0.125 ) shader_param/brightness = 1.1 [sub_resource type="ShaderMaterial" id=6] shader = ExtResource( 9 ) shader_param/color = Color( 0, 0, 0, 1 ) shader_param/smooth_mode = false shader_param/reverse = false shader_param/opacity = 0.0 [sub_resource type="Animation" id=7] resource_name = "FadeIn" tracks/0/type = "value" tracks/0/path = NodePath("TextureRect:material:shader_param/opacity") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ 1.0, 0.0 ] } [sub_resource type="Animation" id=8] resource_name = "FadeOut" tracks/0/type = "value" tracks/0/path = NodePath("TextureRect:material:shader_param/opacity") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ 0.0, 1.0 ] } [node name="Control" type="Control"] pause_mode = 2 anchor_right = 1.0 anchor_bottom = 1.0 margin_right = -16.0 margin_bottom = -48.0 rect_pivot_offset = Vector2( 128, 96 ) size_flags_horizontal = 2 size_flags_vertical = 2 script = ExtResource( 1 ) [node name="TextureRect" type="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 texture = ExtResource( 2 ) expand = true [node name="ViewportContainer" type="ViewportContainer" parent="."] material = SubResource( 1 ) anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -120.0 margin_top = -72.0 margin_right = 136.0 margin_bottom = 120.0 rect_pivot_offset = Vector2( 128, 96 ) mouse_filter = 1 [node name="Viewport" type="Viewport" parent="ViewportContainer"] size = Vector2( 256, 192 ) handle_input_locally = false render_target_update_mode = 3 [node name="LevelSelect" parent="ViewportContainer/Viewport" instance=ExtResource( 3 )] [node name="CheatLayer" type="CanvasLayer" parent="ViewportContainer/Viewport"] layer = 120 [node name="CheatLabel" type="Label" parent="ViewportContainer/Viewport/CheatLayer"] material = ExtResource( 6 ) anchor_right = 1.0 anchor_bottom = 1.0 margin_right = -1.0 margin_bottom = -5.0 theme = ExtResource( 5 ) align = 2 valign = 2 [node name="FadeLayer" type="CanvasLayer" parent="ViewportContainer/Viewport"] pause_mode = 2 layer = 125 script = ExtResource( 8 ) [node name="TextureRect" type="TextureRect" parent="ViewportContainer/Viewport/FadeLayer"] material = SubResource( 6 ) margin_right = 256.0 margin_bottom = 192.0 texture = ExtResource( 7 ) expand = true stretch_mode = 6 [node name="AnimationPlayer" type="AnimationPlayer" parent="ViewportContainer/Viewport/FadeLayer"] anims/FadeIn = SubResource( 7 ) anims/FadeOut = SubResource( 8 ) [connection signal="animation_finished" from="ViewportContainer/Viewport/FadeLayer/AnimationPlayer" to="ViewportContainer/Viewport/FadeLayer" method="_fade_finished"]