material-maker/splash_screen/splash_screen.tscn

172 lines
5.4 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://bq7jj2aydbqug"]
[ext_resource type="Script" path="res://splash_screen/splash_screen.gd" id="1_q7nii"]
[ext_resource type="Texture2D" uid="uid://bdba0wahju1ak" path="res://splash_screen/splash_title.png" id="2_ryhtq"]
[ext_resource type="FontFile" uid="uid://dttdyavpec18b" path="res://material_maker/fonts/vegur_regular.otf" id="3_m0b76"]
[ext_resource type="Shader" path="res://splash_screen/splash_screen_bottom.gdshader" id="5_xhfa4"]
[ext_resource type="Texture2D" uid="uid://btpt3nk4o7725" path="res://splash_screen/arrow.png" id="6_qghsp"]
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_jeaul"]
size = Vector2(760, 430)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_k4lwu"]
bg_color = Color(0.509804, 0.584314, 1, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dfnby"]
shader = ExtResource("5_xhfa4")
[node name="Container" type="MarginContainer"]
custom_minimum_size = Vector2(760, 430)
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_q7nii")
[node name="SplashScreen" type="TextureRect" parent="."]
clip_contents = true
custom_minimum_size = Vector2(760, 430)
layout_mode = 2
texture = SubResource("PlaceholderTexture2D_jeaul")
expand_mode = 1
[node name="TextureRect" type="TextureRect" parent="SplashScreen"]
layout_mode = 0
offset_top = 34.0
offset_right = 435.0
offset_bottom = 155.0
texture = ExtResource("2_ryhtq")
[node name="MM" type="Label" parent="SplashScreen/TextureRect"]
layout_mode = 0
offset_left = 25.0
offset_top = 21.0
offset_right = 352.0
offset_bottom = 90.0
theme_override_fonts/font = ExtResource("3_m0b76")
theme_override_font_sizes/font_size = 54
text = "Material Maker"
horizontal_alignment = 2
[node name="Version" type="Label" parent="SplashScreen/TextureRect/MM"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.618
anchor_right = 0.714
anchor_bottom = 0.816
offset_left = 94.5
offset_top = 21.358
offset_right = 95.002
offset_bottom = 30.696
theme_override_colors/font_color = Color(0.760784, 0.760784, 0.760784, 1)
theme_override_fonts/font = ExtResource("3_m0b76")
theme_override_font_sizes/font_size = 16
horizontal_alignment = 2
[node name="ProgressBar" type="ProgressBar" parent="SplashScreen/TextureRect"]
layout_mode = 0
offset_top = 128.0
offset_right = 431.0
offset_bottom = 134.0
theme_override_styles/fill = SubResource("StyleBoxFlat_k4lwu")
show_percentage = false
[node name="SecretButton" type="Control" parent="SplashScreen/TextureRect"]
layout_mode = 1
anchor_right = 0.026
anchor_bottom = 0.098
offset_left = 437.0
offset_top = 44.0
offset_right = 437.0
offset_bottom = 43.986
[node name="DarkenBottom" type="ColorRect" parent="SplashScreen"]
material = SubResource("ShaderMaterial_dfnby")
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 331.0
offset_bottom = 1.0
[node name="URL" type="Label" parent="SplashScreen"]
unique_name_in_owner = true
layout_mode = 0
offset_left = 4.0
offset_top = 414.0
offset_right = 134.0
offset_bottom = 433.0
mouse_filter = 0
mouse_default_cursor_shape = 2
theme_override_font_sizes/font_size = 11
text = "www.materialmaker.org"
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
mouse_filter = 2
theme_override_constants/margin_left = 0
theme_override_constants/margin_right = 14
theme_override_constants/margin_bottom = 3
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
alignment = 2
[node name="Title" type="Label" parent="MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_outline_color = Color(0.137255, 0.137255, 0.137255, 1)
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 18
text = "Title"
[node name="Control" type="Control" parent="MarginContainer/HBoxContainer"]
custom_minimum_size = Vector2(20, 0)
layout_mode = 2
[node name="Author" type="Label" parent="MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 2
theme_override_colors/font_color = Color(0.427451, 0.709804, 1, 1)
theme_override_colors/font_outline_color = Color(0, 0, 0.74902, 1)
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 18
text = "Author"
[node name="BackgroundSelect" type="HBoxContainer" parent="."]
visible = false
layout_mode = 2
size_flags_vertical = 0
[node name="Previous" type="TextureButton" parent="BackgroundSelect"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
texture_normal = ExtResource("6_qghsp")
ignore_texture_size = true
stretch_mode = 0
flip_h = true
[node name="Space" type="Control" parent="BackgroundSelect"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Next" type="TextureButton" parent="BackgroundSelect"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
texture_normal = ExtResource("6_qghsp")
ignore_texture_size = true
stretch_mode = 0
[connection signal="gui_input" from="SplashScreen/TextureRect/SecretButton" to="." method="_on_secret_button_gui_input"]
[connection signal="pressed" from="BackgroundSelect/Previous" to="." method="_on_previous_pressed"]
[connection signal="pressed" from="BackgroundSelect/Next" to="." method="_on_next_pressed"]