One_Eleven_Android/scenes/InGameLoadSave.tscn
2024-11-10 03:34:28 +03:00

208 lines
6 KiB
Text

[gd_scene load_steps=18 format=2]
[ext_resource path="res://resources/Themes/EmptyFocusTheme.tres" type="StyleBox" id=1]
[ext_resource path="res://resources/effects/blur.gdshader" type="Shader" id=2]
[ext_resource path="res://scripts/InGameLoadSave.gd" type="Script" id=3]
[ext_resource path="res://resources/graphics/GUI/kadark.webp" type="Texture" id=4]
[ext_resource path="res://resources/fonts/OneEleven.ttf" type="DynamicFontData" id=5]
[ext_resource path="res://resources/customControls/GalleryControls/GalleryPaginationButton.tscn" type="PackedScene" id=6]
[sub_resource type="ShaderMaterial" id=19]
shader = ExtResource( 2 )
shader_param/blur_amount = 2.0
[sub_resource type="DynamicFont" id=42]
size = 55
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 5 )
[sub_resource type="DynamicFontData" id=30]
font_path = "res://resources/fonts/OneEleven.ttf"
[sub_resource type="DynamicFont" id=35]
size = 60
outline_color = Color( 0, 0, 0, 1 )
use_mipmaps = true
font_data = SubResource( 30 )
[sub_resource type="DynamicFontData" id=32]
font_path = "res://resources/fonts/OneEleven.ttf"
[sub_resource type="DynamicFont" id=36]
size = 56
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
use_mipmaps = true
font_data = SubResource( 32 )
[sub_resource type="DynamicFontData" id=34]
font_path = "res://resources/fonts/OneEleven.ttf"
[sub_resource type="DynamicFont" id=37]
size = 56
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = SubResource( 34 )
[sub_resource type="DynamicFontData" id=39]
resource_local_to_scene = true
font_path = "res://resources/fonts/OneEleven.ttf"
[sub_resource type="DynamicFont" id=41]
size = 55
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = SubResource( 39 )
[sub_resource type="DynamicFont" id=40]
resource_local_to_scene = true
size = 55
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = SubResource( 39 )
[node name="Node2D" type="Control"]
script = ExtResource( 3 )
[node name="Blur" type="Polygon2D" parent="."]
material = SubResource( 19 )
z_index = 7
polygon = PoolVector2Array( 0, 0, 1920, 0, 1920, 1080, 0, 1080 )
[node name="LoadGame" type="Node2D" parent="."]
z_index = 7
[node name="Label" type="Label" parent="LoadGame"]
margin_top = 25.0
margin_right = 1920.0
margin_bottom = 97.0
custom_fonts/font = SubResource( 42 )
align = 1
[node name="VBoxContainer" type="VBoxContainer" parent="LoadGame"]
margin_left = 96.0
margin_top = 96.0
margin_right = 1596.0
margin_bottom = 362.0
custom_constants/separation = 280
[node name="Overwrite" type="Node2D" parent="."]
visible = false
position = Vector2( 0, 100 )
z_index = 7
[node name="TextureRect" type="TextureRect" parent="Overwrite"]
modulate = Color( 1, 1, 1, 0.705882 )
margin_left = 360.0
margin_top = 139.0
margin_right = 1544.0
margin_bottom = 258.0
texture = ExtResource( 4 )
[node name="RichTextLabel" type="RichTextLabel" parent="Overwrite"]
margin_left = 360.0
margin_top = 160.0
margin_right = 1610.0
margin_bottom = 760.0
custom_fonts/normal_font = SubResource( 35 )
bbcode_enabled = true
[node name="ButtonYES" type="Button" parent="Overwrite"]
margin_left = 700.0
margin_top = 290.0
margin_right = 733.0
margin_bottom = 310.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 36 )
custom_styles/focus = ExtResource( 1 )
text = "YES"
flat = true
[node name="ButtonNO" type="Button" parent="Overwrite"]
margin_left = 1160.0
margin_top = 290.0
margin_right = 1193.0
margin_bottom = 310.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 37 )
custom_styles/focus = ExtResource( 1 )
text = "NO"
flat = true
[node name="ButtonsContainer" type="Node2D" parent="."]
z_index = 7
[node name="Pagination" type="HBoxContainer" parent="ButtonsContainer"]
margin_top = 645.0
margin_right = 1920.0
margin_bottom = 749.0
custom_constants/separation = 50
alignment = 1
[node name="Page1" parent="ButtonsContainer/Pagination" instance=ExtResource( 6 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 773.0
margin_right = 819.0
margin_bottom = 104.0
[node name="Page2" parent="ButtonsContainer/Pagination" instance=ExtResource( 6 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 869.0
margin_right = 934.0
margin_bottom = 104.0
text = "2"
[node name="Page3" parent="ButtonsContainer/Pagination" instance=ExtResource( 6 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 984.0
margin_right = 1040.0
margin_bottom = 104.0
text = "3"
[node name="Page4" parent="ButtonsContainer/Pagination" instance=ExtResource( 6 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 1090.0
margin_right = 1147.0
margin_bottom = 104.0
text = "4"
[node name="HBoxContainer" type="HBoxContainer" parent="ButtonsContainer"]
margin_top = 772.0
margin_right = 1920.0
margin_bottom = 846.0
custom_constants/separation = 500
alignment = 1
[node name="LoadAutoSave" type="Button" parent="ButtonsContainer/HBoxContainer"]
margin_left = 327.0
margin_right = 677.0
margin_bottom = 74.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 41 )
custom_styles/focus = ExtResource( 1 )
text = "Load autosave"
flat = true
[node name="BackToMenu" type="Button" parent="ButtonsContainer/HBoxContainer"]
margin_left = 1177.0
margin_right = 1593.0
margin_bottom = 74.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 40 )
custom_styles/focus = ExtResource( 1 )
text = "Back to the game"
flat = true
[connection signal="pressed" from="Overwrite/ButtonYES" to="." method="_on_ButtonYES_pressed"]
[connection signal="pressed" from="Overwrite/ButtonNO" to="." method="_on_ButtonNO_pressed"]
[connection signal="pressed" from="ButtonsContainer/HBoxContainer/LoadAutoSave" to="." method="_on_LoadAutoSave_pressed"]
[connection signal="pressed" from="ButtonsContainer/HBoxContainer/BackToMenu" to="." method="_on_BackToMenu_pressed"]