hero-mark-2/menus/file_select.tscn
pennyrigate 6a8eab1eb7 stuff'
2024-07-07 21:23:35 -04:00

187 lines
6.7 KiB
Text

[gd_scene load_steps=18 format=2]
[ext_resource path="res://menus/file_select_panel.tscn" type="PackedScene" id=1]
[ext_resource path="res://menus/level_select_scholar.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=3]
[ext_resource path="res://ui/theme.tres" type="Theme" id=4]
[ext_resource path="res://menus/back_button.tscn" type="PackedScene" id=5]
[ext_resource path="res://graphics/hud/delete_dim.png" type="Texture" id=6]
[ext_resource path="res://graphics/hud/delete.png" type="Texture" id=7]
[ext_resource path="res://graphics/borders/skaborder.png" type="Texture" id=8]
[ext_resource path="res://graphics/hud/file_select_arrow.png" type="Texture" id=9]
[ext_resource path="res://menus/file_select.gd" type="Script" id=10]
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=11]
[ext_resource path="res://menus/DeleteButton.gd" type="Script" id=12]
[ext_resource path="res://menus/main_menu.tscn" type="PackedScene" id=13]
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=14]
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 11 )
shader_param/color_1 = Color( 0.2, 0.294118, 1, 1 )
shader_param/color_2 = Color( 0, 0.0352941, 0.329412, 1 )
shader_param/checker_size = Vector2( 16, 16 )
shader_param/pan_speed = Vector2( 0, 0 )
shader_param/cycle_speed = Vector2( 0, 16 )
shader_param/cycle_alternation = Vector2( 0, 0 )
shader_param/uv_transform = Transform2D( 1, 1, 2, 1, 0, 0 )
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 11 )
shader_param/color_1 = Color( 0.960784, 0.2, 0.258824, 1 )
shader_param/color_2 = Color( 0.286275, 0.0745098, 0.12549, 1 )
shader_param/checker_size = Vector2( 16, 16 )
shader_param/pan_speed = Vector2( 32, 1 )
shader_param/cycle_speed = Vector2( -8, 32 )
shader_param/cycle_alternation = Vector2( 0, 0 )
shader_param/uv_transform = Transform2D( 1, 1.582, 1, 2, 0, 0 )
[sub_resource type="SpriteFrames" id=4]
animations = [ {
"frames": [ ExtResource( 7 ), ExtResource( 6 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="FileSelect" type="Node"]
script = ExtResource( 10 )
next_scene = ExtResource( 2 )
[node name="TextureRect2" type="TextureRect" parent="."]
modulate = Color( 0, 0.109804, 1, 1 )
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 8 )
expand = true
stretch_mode = 2
[node name="Background" type="ColorRect" parent="."]
material = SubResource( 2 )
margin_right = 256.0
margin_bottom = 192.0
[node name="DeleteBackground" type="ColorRect" parent="."]
visible = false
material = SubResource( 3 )
margin_right = 256.0
margin_bottom = 192.0
[node name="Panel" parent="." instance=ExtResource( 1 )]
margin_left = 12.0
margin_top = 48.0
margin_right = 84.0
margin_bottom = 136.0
[node name="Panel2" parent="." instance=ExtResource( 1 )]
margin_left = 92.0
margin_top = 48.0
margin_right = 164.0
margin_bottom = 136.0
number = 2
[node name="Panel3" parent="." instance=ExtResource( 1 )]
margin_left = 172.0
margin_top = 48.0
margin_right = 244.0
margin_bottom = 136.0
number = 3
[node name="SelectFile1" type="TextureButton" parent="."]
material = ExtResource( 3 )
margin_left = 12.0
margin_top = 138.0
margin_right = 84.0
margin_bottom = 146.0
focus_neighbour_left = NodePath("../SelectFile3")
focus_neighbour_right = NodePath("../SelectFile2")
focus_neighbour_bottom = NodePath("../Back")
texture_focused = ExtResource( 9 )
expand = true
stretch_mode = 3
[node name="SelectFile2" type="TextureButton" parent="."]
material = ExtResource( 3 )
margin_left = 92.0
margin_top = 138.0
margin_right = 164.0
margin_bottom = 146.0
focus_neighbour_left = NodePath("../SelectFile1")
focus_neighbour_right = NodePath("../SelectFile3")
focus_neighbour_bottom = NodePath("../Back")
texture_focused = ExtResource( 9 )
expand = true
stretch_mode = 3
[node name="SelectFile3" type="TextureButton" parent="."]
material = ExtResource( 3 )
margin_left = 172.0
margin_top = 138.0
margin_right = 244.0
margin_bottom = 146.0
focus_neighbour_left = NodePath("../SelectFile2")
focus_neighbour_right = NodePath("../SelectFile1")
focus_neighbour_bottom = NodePath("../Back")
texture_focused = ExtResource( 9 )
expand = true
stretch_mode = 3
[node name="Back" parent="." instance=ExtResource( 5 )]
margin_left = 8.0
margin_top = 144.0
margin_right = 60.0
margin_bottom = 177.0
focus_neighbour_top = NodePath("../SelectFile1")
focus_neighbour_right = NodePath("../DeleteButton")
next_scene = ExtResource( 13 )
[node name="Description" type="Label" parent="."]
material = ExtResource( 3 )
margin_top = 8.0
margin_right = 256.0
margin_bottom = 22.0
theme = ExtResource( 4 )
text = "Select your destiny"
align = 1
[node name="DeleteButton" type="TextureButton" parent="."]
margin_left = 212.0
margin_top = 144.0
margin_right = 237.0
margin_bottom = 178.0
focus_neighbour_left = NodePath("../Back")
focus_neighbour_top = NodePath("../SelectFile1")
texture_normal = ExtResource( 7 )
script = ExtResource( 12 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="DeleteButton"]
position = Vector2( 13, 17 )
frames = SubResource( 4 )
[node name="FlavorText" type="Label" parent="."]
material = ExtResource( 3 )
margin_left = 40.0
margin_top = 152.0
margin_right = 208.0
margin_bottom = 168.0
theme = ExtResource( 4 )
text = "Adventure awaits"
align = 1
[node name="MenuSounds" parent="." instance=ExtResource( 14 )]
[connection signal="file_loaded" from="Panel" to="." method="_on_file_loaded"]
[connection signal="file_loaded" from="Panel2" to="." method="_on_file_loaded"]
[connection signal="file_loaded" from="Panel3" to="." method="_on_file_loaded"]
[connection signal="button_down" from="SelectFile1" to="Panel" method="select"]
[connection signal="button_down" from="SelectFile1" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="SelectFile1" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="SelectFile2" to="Panel2" method="select"]
[connection signal="button_down" from="SelectFile2" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="SelectFile2" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="SelectFile3" to="Panel3" method="select"]
[connection signal="button_down" from="SelectFile3" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="SelectFile3" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="Back" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Back" to="MenuSounds" method="play_select_sound"]
[connection signal="button_down" from="DeleteButton" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="DeleteButton" to="MenuSounds" method="play_select_sound"]