Initial Android commit

This commit is contained in:
OleSTEEP 2024-11-10 03:34:28 +03:00
commit 1e2b80c13d
8521 changed files with 231475 additions and 0 deletions

370
scenes/Gallery.tscn Normal file
View file

@ -0,0 +1,370 @@
[gd_scene load_steps=32 format=2]
[ext_resource path="res://scripts/Gallery.gd" type="Script" id=1]
[ext_resource path="res://resources/graphics/clouds/Cloud_2_1.webp" type="Texture" id=2]
[ext_resource path="res://resources/graphics/gameMenu/background/3Ground.webp" type="Texture" id=3]
[ext_resource path="res://resources/graphics/clouds/Clouds_Menu_1.webp" type="Texture" id=4]
[ext_resource path="res://resources/effects/blur.gdshader" type="Shader" id=5]
[ext_resource path="res://resources/effects/MovingBackground.gdshader" type="Shader" id=6]
[ext_resource path="res://resources/fonts/OneEleven.ttf" type="DynamicFontData" id=7]
[ext_resource path="res://resources/Themes/TabTheme.tres" type="Theme" id=8]
[ext_resource path="res://resources/graphics/GUI/Menu/MENYu1.webp" type="Texture" id=9]
[ext_resource path="res://resources/Themes/EmptyFocusTheme.tres" type="StyleBox" id=10]
[ext_resource path="res://resources/graphics/GUI/InGameMenu/eye.webp" type="Texture" id=11]
[ext_resource path="res://resources/graphics/GUI/InGameMenu/eye_lighted.webp" type="Texture" id=12]
[ext_resource path="res://resources/graphics/gameMenu/background/1Sky.webp" type="Texture" id=13]
[ext_resource path="res://resources/AlternativeChoices/Timeline_5/Arrow.webp" type="Texture" id=14]
[ext_resource path="res://resources/graphics/GUI/CheckBox/unchecked-32.webp" type="Texture" id=15]
[ext_resource path="res://resources/graphics/GUI/CheckBox/checked-32.webp" type="Texture" id=16]
[ext_resource path="res://resources/graphics/GUI/InGameMenu/forward.webp" type="Texture" id=19]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 6 )
shader_param/direction = Vector2( 1, 0 )
shader_param/speed_scale = 0.004
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 6 )
shader_param/direction = Vector2( 1, 0 )
shader_param/speed_scale = 0.01
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 5 )
shader_param/blur_amount = 2.0
[sub_resource type="DynamicFont" id=12]
size = 80
outline_size = 2
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 7 )
[sub_resource type="StyleBoxFlat" id=5]
content_margin_left = 50.0
content_margin_right = 50.0
content_margin_top = 20.0
content_margin_bottom = 10.0
bg_color = Color( 0.482353, 0.482353, 0.482353, 0.188235 )
border_width_left = 10
border_width_right = 10
border_color = Color( 0, 0, 0, 0 )
shadow_color = Color( 0, 0, 0, 0 )
[sub_resource type="StyleBoxFlat" id=6]
content_margin_left = 50.0
content_margin_right = 50.0
content_margin_top = 20.0
content_margin_bottom = 10.0
bg_color = Color( 0, 0, 0, 0.290196 )
border_width_left = 10
border_width_right = 10
border_color = Color( 0, 0, 0, 0 )
shadow_color = Color( 0, 0, 0, 0 )
[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 0.6, 0.6, 0.6, 0 )
[sub_resource type="DynamicFontData" id=9]
font_path = "res://resources/fonts/OneEleven.ttf"
[sub_resource type="DynamicFont" id=10]
font_data = SubResource( 9 )
[sub_resource type="DynamicFontData" id=11]
resource_local_to_scene = true
font_path = "res://resources/fonts/OneEleven.ttf"
[sub_resource type="DynamicFont" id=4]
resource_local_to_scene = true
size = 55
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = SubResource( 11 )
[sub_resource type="DynamicFont" id=8]
size = 55
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = SubResource( 11 )
[sub_resource type="DynamicFont" id=13]
size = 55
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 7 )
[sub_resource type="StyleBoxEmpty" id=14]
[node name="Gallery" type="Control"]
script = ExtResource( 1 )
[node name="Sky" type="Sprite" parent="."]
z_index = -2
texture = ExtResource( 13 )
centered = false
[node name="Cloud1" type="Sprite" parent="."]
material = SubResource( 1 )
texture = ExtResource( 2 )
centered = false
[node name="Cloud3" type="Sprite" parent="."]
material = SubResource( 2 )
texture = ExtResource( 4 )
centered = false
[node name="House" type="Sprite" parent="."]
texture = ExtResource( 3 )
centered = false
[node name="Blur" type="Polygon2D" parent="."]
material = SubResource( 3 )
[node name="Loading" type="Node2D" parent="."]
visible = false
z_index = 1
[node name="LoadingLabel" type="Label" parent="Loading"]
margin_right = 1920.0
margin_bottom = 1080.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_fonts/font = SubResource( 12 )
text = "Loading..."
align = 1
valign = 1
[node name="UIRoot" type="Control" parent="."]
margin_right = 1920.0
margin_bottom = 1080.0
rect_pivot_offset = Vector2( 1154, 540 )
[node name="TabsBackground" type="TextureRect" parent="UIRoot"]
margin_left = 30.0
margin_top = 102.0
margin_right = 4954.0
margin_bottom = 2978.0
rect_scale = Vector2( 0.378, 0.35 )
texture = ExtResource( 9 )
[node name="TabContainer" type="TabContainer" parent="UIRoot"]
margin_left = 200.0
margin_top = 102.0
margin_right = 1720.0
margin_bottom = 980.0
theme = ExtResource( 8 )
custom_colors/font_color_bg = Color( 1, 1, 1, 1 )
custom_colors/font_color_fg = Color( 1, 1, 1, 1 )
custom_styles/tab_fg = SubResource( 5 )
custom_styles/tab_bg = SubResource( 6 )
custom_styles/panel = SubResource( 7 )
[node name="MusicTab" type="Tabs" parent="UIRoot/TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 79.0
custom_fonts/font = SubResource( 10 )
[node name="VBoxContainer" type="VBoxContainer" parent="UIRoot/TabContainer/MusicTab"]
margin_left = 72.0
margin_top = 50.0
margin_right = 1434.0
margin_bottom = 694.0
custom_constants/separation = 125
[node name="MusicPagination" type="HBoxContainer" parent="UIRoot/TabContainer/MusicTab"]
margin_left = 75.0
margin_top = 700.0
margin_right = 1437.0
margin_bottom = 700.0
custom_constants/separation = 20
alignment = 1
[node name="BackgroundsTab" type="Tabs" parent="UIRoot/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="VBoxContainer" type="VBoxContainer" parent="UIRoot/TabContainer/BackgroundsTab"]
margin_left = 75.0
margin_top = 85.0
margin_right = 1437.0
margin_bottom = 729.0
custom_constants/separation = 200
[node name="BackgroundPagination" type="HBoxContainer" parent="UIRoot/TabContainer/BackgroundsTab"]
margin_left = 75.0
margin_top = 700.0
margin_right = 1437.0
margin_bottom = 700.0
custom_constants/separation = 20
alignment = 1
[node name="ImagesTab" type="Tabs" parent="UIRoot/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="VBoxContainer" type="VBoxContainer" parent="UIRoot/TabContainer/ImagesTab"]
margin_left = 75.0
margin_top = 85.0
margin_right = 1437.0
margin_bottom = 729.0
custom_constants/separation = 200
[node name="ImagesPagination" type="HBoxContainer" parent="UIRoot/TabContainer/ImagesTab"]
margin_left = 75.0
margin_top = 700.0
margin_right = 1437.0
margin_bottom = 700.0
custom_constants/separation = 20
alignment = 1
[node name="DlcTab" type="Tabs" parent="UIRoot/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="VBoxContainer" type="VBoxContainer" parent="UIRoot/TabContainer/DlcTab"]
margin_left = 75.0
margin_top = 85.0
margin_right = 1437.0
margin_bottom = 729.0
custom_constants/separation = 200
[node name="ImagesPagination" type="HBoxContainer" parent="UIRoot/TabContainer/DlcTab"]
margin_left = 75.0
margin_top = 700.0
margin_right = 1437.0
margin_bottom = 700.0
custom_constants/separation = 20
alignment = 1
[node name="CenterContainer" type="CenterContainer" parent="UIRoot"]
margin_top = 1000.0
margin_right = 1920.0
margin_bottom = 1073.0
[node name="BackToMenu" type="Button" parent="UIRoot/CenterContainer"]
margin_left = 954.0
margin_right = 966.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( 4 )
custom_styles/focus = ExtResource( 10 )
flat = true
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
bus = "BGM"
[node name="BigViewBackgroundsImages" type="Control" parent="."]
visible = false
margin_right = 40.0
margin_bottom = 40.0
[node name="SceneContainer" type="Node2D" parent="BigViewBackgroundsImages"]
z_index = -2
[node name="BackRoot" type="Button" parent="BigViewBackgroundsImages"]
margin_right = 12.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( 8 )
custom_styles/focus = ExtResource( 10 )
flat = true
[node name="SettingsContainer" type="VBoxContainer" parent="BigViewBackgroundsImages"]
[node name="FullView" type="TextureButton" parent="BigViewBackgroundsImages"]
margin_left = 1824.0
margin_top = 18.0
margin_right = 1996.0
margin_bottom = 109.0
rect_scale = Vector2( 0.4, 0.4 )
texture_normal = ExtResource( 11 )
texture_hover = ExtResource( 12 )
[node name="Tween" type="Tween" parent="BigViewBackgroundsImages"]
[node name="DlcCount" type="Label" parent="BigViewBackgroundsImages"]
visible = false
margin_left = 811.0
margin_top = 4.0
margin_right = 978.0
margin_bottom = 72.0
rect_min_size = Vector2( 125, 0 )
custom_fonts/font = SubResource( 13 )
text = "20/20"
align = 1
[node name="DLCAutoIcon" type="TextureRect" parent="BigViewBackgroundsImages"]
visible = false
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 1028.0
margin_top = -10.0
margin_right = 1154.0
margin_bottom = 109.0
rect_scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 19 )
[node name="DlcAutoCheck" type="CheckBox" parent="BigViewBackgroundsImages"]
visible = false
margin_left = 974.0
margin_top = 2.0
margin_right = 1104.0
margin_bottom = 78.0
rect_min_size = Vector2( 130, 0 )
custom_fonts/font = SubResource( 13 )
custom_icons/checked = ExtResource( 16 )
custom_icons/unchecked = ExtResource( 15 )
custom_styles/focus = SubResource( 14 )
align = 1
[node name="DlcLeft" type="TextureButton" parent="BigViewBackgroundsImages"]
visible = false
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 748.0
margin_top = -5.0
margin_right = 868.0
margin_bottom = 85.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 14 )
[node name="DlcRight" type="TextureButton" parent="BigViewBackgroundsImages"]
visible = false
margin_left = 1108.0
margin_top = 18.0
margin_right = 1228.0
margin_bottom = 108.0
rect_scale = Vector2( 0.5, 0.5 )
texture_normal = ExtResource( 14 )
flip_h = true
[connection signal="tab_changed" from="UIRoot/TabContainer" to="." method="_on_TabContainer_tab_changed"]
[connection signal="mouse_entered" from="UIRoot/CenterContainer/BackToMenu" to="." method="_on_BackToMenu_mouse_entered"]
[connection signal="mouse_exited" from="UIRoot/CenterContainer/BackToMenu" to="." method="_on_BackToMenu_mouse_exited"]
[connection signal="pressed" from="UIRoot/CenterContainer/BackToMenu" to="." method="_on_BackToMenu_pressed"]
[connection signal="mouse_entered" from="BigViewBackgroundsImages/BackRoot" to="." method="_on_BackRoot_mouse_entered"]
[connection signal="mouse_exited" from="BigViewBackgroundsImages/BackRoot" to="." method="_on_BackRoot_mouse_exited"]
[connection signal="pressed" from="BigViewBackgroundsImages/BackRoot" to="." method="_on_BackRoot_pressed"]
[connection signal="resized" from="BigViewBackgroundsImages/SettingsContainer" to="." method="_on_SettingsContainer_resized"]
[connection signal="mouse_entered" from="BigViewBackgroundsImages/FullView" to="." method="_on_TextureButton_mouse_entered"]
[connection signal="mouse_exited" from="BigViewBackgroundsImages/FullView" to="." method="_on_TextureButton_mouse_exited"]
[connection signal="tween_all_completed" from="BigViewBackgroundsImages/Tween" to="." method="_on_Tween_tween_all_completed"]
[connection signal="mouse_entered" from="BigViewBackgroundsImages/DlcAutoCheck" to="." method="_on_DlcAutoCheck_mouse_entered"]
[connection signal="mouse_exited" from="BigViewBackgroundsImages/DlcAutoCheck" to="." method="_on_DlcAutoCheck_mouse_exited"]
[connection signal="toggled" from="BigViewBackgroundsImages/DlcAutoCheck" to="." method="_on_DlcAutoCheck_toggled"]