216 lines
6.5 KiB
Text
216 lines
6.5 KiB
Text
[gd_scene load_steps=23 format=2]
|
||
|
||
[ext_resource path="res://resources/graphics/backgrounds/chapter_selector/BigCityView (1).webp" type="Texture" id=1]
|
||
[ext_resource path="res://resources/graphics/backgrounds/chapter_selector/green_house.webp" type="Texture" id=2]
|
||
[ext_resource path="res://resources/graphics/backgrounds/chapter_selector/brown_house.webp" type="Texture" id=3]
|
||
[ext_resource path="res://scripts/backround_scenes_scripts/ChapterSelector.gd" type="Script" id=4]
|
||
[ext_resource path="res://resources/fonts/OneEleven.ttf" type="DynamicFontData" id=5]
|
||
[ext_resource path="res://resources/Themes/EmptyFocusTheme.tres" type="StyleBox" id=6]
|
||
[ext_resource path="res://resources/effects/MovingBackground.gdshader" type="Shader" id=7]
|
||
[ext_resource path="res://resources/graphics/backgrounds/chapter_selector/7.1.webp" type="Texture" id=8]
|
||
[ext_resource path="res://resources/graphics/backgrounds/chapter_selector/2.webp" type="Texture" id=9]
|
||
[ext_resource path="res://resources/graphics/backgrounds/chapter_selector/7.2.webp" type="Texture" id=10]
|
||
|
||
[sub_resource type="DynamicFontData" id=6]
|
||
font_path = "res://resources/fonts/OneEleven.ttf"
|
||
|
||
[sub_resource type="DynamicFont" id=9]
|
||
size = 100
|
||
outline_size = 4
|
||
outline_color = Color( 0, 0, 0, 1 )
|
||
use_mipmaps = true
|
||
use_filter = true
|
||
font_data = SubResource( 6 )
|
||
|
||
[sub_resource type="DynamicFont" id=7]
|
||
size = 200
|
||
outline_size = 4
|
||
outline_color = Color( 0, 0, 0, 1 )
|
||
use_mipmaps = true
|
||
use_filter = true
|
||
font_data = SubResource( 6 )
|
||
|
||
[sub_resource type="StyleBoxEmpty" id=12]
|
||
|
||
[sub_resource type="DynamicFont" id=1]
|
||
size = 100
|
||
use_mipmaps = true
|
||
use_filter = true
|
||
font_data = ExtResource( 5 )
|
||
|
||
[sub_resource type="DynamicFontData" id=2]
|
||
resource_local_to_scene = true
|
||
font_path = "res://resources/fonts/OneEleven.ttf"
|
||
|
||
[sub_resource type="DynamicFont" id=3]
|
||
resource_local_to_scene = true
|
||
size = 100
|
||
outline_size = 1
|
||
use_mipmaps = true
|
||
use_filter = true
|
||
font_data = SubResource( 2 )
|
||
|
||
[sub_resource type="DynamicFontData" id=4]
|
||
resource_local_to_scene = true
|
||
font_path = "res://resources/fonts/OneEleven.ttf"
|
||
|
||
[sub_resource type="DynamicFont" id=5]
|
||
resource_local_to_scene = true
|
||
size = 100
|
||
outline_size = 1
|
||
use_mipmaps = true
|
||
use_filter = true
|
||
font_data = SubResource( 4 )
|
||
|
||
[sub_resource type="ShaderMaterial" id=11]
|
||
shader = ExtResource( 7 )
|
||
shader_param/direction = Vector2( 1.046, 0.7 )
|
||
shader_param/speed_scale = 0.01
|
||
|
||
[sub_resource type="ShaderMaterial" id=10]
|
||
shader = ExtResource( 7 )
|
||
shader_param/direction = Vector2( 1.046, 0.7 )
|
||
shader_param/speed_scale = 0.02
|
||
|
||
[sub_resource type="ShaderMaterial" id=8]
|
||
shader = ExtResource( 7 )
|
||
shader_param/direction = Vector2( 1.046, 0.552 )
|
||
shader_param/speed_scale = 0.044
|
||
|
||
[node name="ChapterSelector" type="Node2D"]
|
||
script = ExtResource( 4 )
|
||
|
||
[node name="background" type="Sprite" parent="."]
|
||
scale = Vector2( 0.25, 0.25 )
|
||
texture = ExtResource( 1 )
|
||
centered = false
|
||
|
||
[node name="brown" type="TextureButton" parent="."]
|
||
margin_left = 1736.0
|
||
margin_top = 424.0
|
||
margin_right = 2145.0
|
||
margin_bottom = 752.0
|
||
rect_scale = Vector2( 0.25, 0.25 )
|
||
texture_normal = ExtResource( 3 )
|
||
texture_pressed = ExtResource( 3 )
|
||
texture_hover = ExtResource( 3 )
|
||
|
||
[node name="green" type="TextureButton" parent="."]
|
||
visible = false
|
||
margin_left = 1032.0
|
||
margin_top = 499.0
|
||
margin_right = 1542.0
|
||
margin_bottom = 1283.0
|
||
rect_scale = Vector2( 0.25, 0.25 )
|
||
texture_normal = ExtResource( 2 )
|
||
texture_pressed = ExtResource( 2 )
|
||
texture_hover = ExtResource( 2 )
|
||
|
||
[node name="ChapterLabels" type="Control" parent="."]
|
||
margin_right = 40.0
|
||
margin_bottom = 40.0
|
||
|
||
[node name="SelectChapter" type="Label" parent="ChapterLabels"]
|
||
margin_top = 20.0
|
||
margin_right = 1920.0
|
||
margin_bottom = 146.0
|
||
custom_fonts/font = SubResource( 9 )
|
||
text = "ВЫБЕРИТЕ ГЛАВУ"
|
||
align = 1
|
||
autowrap = true
|
||
uppercase = true
|
||
|
||
[node name="chapter1" type="Button" parent="ChapterLabels"]
|
||
margin_left = 1655.0
|
||
margin_top = 375.0
|
||
margin_right = 2955.0
|
||
margin_bottom = 619.0
|
||
rect_scale = Vector2( 0.2, 0.2 )
|
||
custom_fonts/font = SubResource( 7 )
|
||
custom_styles/focus = SubResource( 12 )
|
||
text = "Chapter 1"
|
||
flat = true
|
||
|
||
[node name="Camera2D" type="Camera2D" parent="."]
|
||
position = Vector2( 960, 549 )
|
||
current = true
|
||
zoom = Vector2( 0.5, 0.5 )
|
||
|
||
[node name="Tween" type="Tween" parent="Camera2D"]
|
||
|
||
[node name="text" type="Control" parent="."]
|
||
visible = false
|
||
|
||
[node name="calibrate position on zoomed camera" type="ColorRect" parent="text"]
|
||
visible = false
|
||
margin_right = 1532.0
|
||
margin_bottom = 303.0
|
||
|
||
[node name="Journey" type="Label" parent="text"]
|
||
margin_right = 1532.0
|
||
margin_bottom = 122.0
|
||
custom_fonts/font = SubResource( 1 )
|
||
text = "Розпочати несподівану пригоду"
|
||
align = 1
|
||
autowrap = true
|
||
|
||
[node name="buttons" type="HBoxContainer" parent="text"]
|
||
margin_top = 200.0
|
||
margin_right = 1532.0
|
||
margin_bottom = 328.0
|
||
custom_constants/separation = 200
|
||
alignment = 1
|
||
|
||
[node name="Yes" type="Button" parent="text/buttons"]
|
||
margin_left = 548.0
|
||
margin_right = 701.0
|
||
margin_bottom = 128.0
|
||
rect_pivot_offset = Vector2( 221, 61 )
|
||
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
||
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
|
||
custom_colors/font_color_pressed = Color( 0, 0, 0, 1 )
|
||
custom_fonts/font = SubResource( 3 )
|
||
custom_styles/focus = ExtResource( 6 )
|
||
text = "Так"
|
||
flat = true
|
||
|
||
[node name="No" type="Button" parent="text/buttons"]
|
||
margin_left = 901.0
|
||
margin_right = 983.0
|
||
margin_bottom = 128.0
|
||
rect_pivot_offset = Vector2( 221, 61 )
|
||
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
||
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
|
||
custom_colors/font_color_pressed = Color( 0, 0, 0, 1 )
|
||
custom_fonts/font = SubResource( 5 )
|
||
custom_styles/focus = ExtResource( 6 )
|
||
text = "Ні"
|
||
flat = true
|
||
|
||
[node name="Node2D" type="Node2D" parent="."]
|
||
|
||
[node name="Cloud3" type="Sprite" parent="Node2D"]
|
||
modulate = Color( 1, 1, 1, 0.862745 )
|
||
material = SubResource( 11 )
|
||
position = Vector2( -51, -158 )
|
||
texture = ExtResource( 8 )
|
||
centered = false
|
||
|
||
[node name="Cloud2" type="Sprite" parent="Node2D"]
|
||
self_modulate = Color( 1, 1, 1, 0.941176 )
|
||
material = SubResource( 10 )
|
||
position = Vector2( -505, -28 )
|
||
texture = ExtResource( 10 )
|
||
centered = false
|
||
|
||
[node name="Cloud1" type="Sprite" parent="Node2D"]
|
||
modulate = Color( 1, 1, 1, 0.780392 )
|
||
material = SubResource( 8 )
|
||
texture = ExtResource( 9 )
|
||
centered = false
|
||
|
||
[connection signal="pressed" from="brown" to="." method="_on_brown_pressed"]
|
||
[connection signal="pressed" from="green" to="." method="_on_green_pressed"]
|
||
[connection signal="pressed" from="ChapterLabels/chapter1" to="." method="_on_chapter1_pressed"]
|
||
[connection signal="pressed" from="text/buttons/Yes" to="." method="_on_Yes_pressed"]
|
||
[connection signal="pressed" from="text/buttons/No" to="." method="_on_No_pressed"]
|