Ouroboros/Scenes/main_menu.tscn

399 lines
12 KiB
Plaintext

[gd_scene load_steps=21 format=3 uid="uid://bu5cwjawsnb1q"]
[ext_resource type="Script" uid="uid://bomw4j2mmerry" path="res://Scripts/main_menu.gd" id="1_28flt"]
[ext_resource type="Texture2D" uid="uid://dxdtqv4do4x31" path="res://Sprites/background.png" id="2_48xlc"]
[ext_resource type="Texture2D" uid="uid://c6kno4vjbvu28" path="res://Sprites/ouroboros.png" id="3_ce3w2"]
[ext_resource type="Material" uid="uid://b3rufg8frc82r" path="res://Shaders/drop_shadow.tres" id="3_t1dhk"]
[ext_resource type="Script" uid="uid://dp3dc6g76g8wq" path="res://Scripts/menu_ouroboros.gd" id="4_n45e2"]
[ext_resource type="Texture2D" uid="uid://bbutodjdye61j" path="res://Sprites/cherry.png" id="5_trj04"]
[ext_resource type="Script" uid="uid://ctoqmgqe06xjw" path="res://Scripts/instruction_label.gd" id="5_vr1f0"]
[ext_resource type="FontFile" uid="uid://cupgp2iqxdun5" path="res://Fonts/Kings-Regular.ttf" id="6_16hvj"]
[ext_resource type="Texture2D" uid="uid://dr3y3mvyrecxn" path="res://Sprites/lemon.png" id="7_vr1f0"]
[ext_resource type="Texture2D" uid="uid://csu4d06po6r6x" path="res://Sprites/apple.png" id="8_t1dhk"]
[ext_resource type="Texture2D" uid="uid://ccqroki031ou" path="res://Sprites/watermelon.png" id="9_5egv6"]
[ext_resource type="Script" uid="uid://b2toipok6giai" path="res://Scenes/label_with_links.gd" id="10_16hvj"]
[sub_resource type="LabelSettings" id="LabelSettings_ce3w2"]
font_size = 160
font_color = Color(1, 0.271, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_n45e2"]
font_size = 160
font_color = Color(1, 1, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_opfnp"]
font_size = 160
font_color = Color(0, 0.545, 0.545, 1)
[sub_resource type="LabelSettings" id="LabelSettings_cp0ys"]
font_size = 160
font_color = Color(0.4, 0.2, 0.6, 1)
[sub_resource type="LabelSettings" id="LabelSettings_yhxw7"]
font_size = 160
font_color = Color(1, 0.270588, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_trj04"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_vtepg"]
line_spacing = -1.0
paragraph_spacing = 1.0
font_size = 22
[sub_resource type="LabelSettings" id="LabelSettings_8dnnj"]
font = ExtResource("6_16hvj")
font_size = 18
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_28flt")
[node name="Background" type="Sprite2D" parent="."]
texture = ExtResource("2_48xlc")
centered = false
[node name="Container" type="Control" parent="."]
layout_mode = 1
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Buttons" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.432
anchor_right = 0.7
anchor_bottom = 0.909
grow_horizontal = 2
grow_vertical = 2
[node name="Start" type="Button" parent="Buttons"]
layout_mode = 2
text = "Start Game"
[node name="Help" type="Button" parent="Buttons"]
layout_mode = 2
text = "How to Play"
[node name="Options" type="Button" parent="Buttons"]
visible = false
layout_mode = 2
text = "Options"
[node name="Credits" type="Button" parent="Buttons"]
layout_mode = 2
text = "Credits"
[node name="Tools" type="Button" parent="Buttons"]
layout_mode = 2
text = "Tools Used"
[node name="SourceCode" type="Button" parent="Buttons"]
layout_mode = 2
text = "Source Code"
[node name="Quit" type="Button" parent="Buttons"]
layout_mode = 2
text = "Quit"
[node name="Title" type="Control" parent="."]
anchors_preset = 0
offset_left = -34.0
offset_top = -2.0
offset_right = 6.0
offset_bottom = 38.0
[node name="Ouroboros" type="Sprite2D" parent="Title"]
modulate = Color(0.545, 0, 0, 1)
material = ExtResource("3_t1dhk")
position = Vector2(241, 130)
texture = ExtResource("3_ce3w2")
script = ExtResource("4_n45e2")
[node name="Ouroboros2" type="Sprite2D" parent="Title"]
modulate = Color(0, 0.502, 0, 1)
material = ExtResource("3_t1dhk")
position = Vector2(574, 176)
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_ce3w2")
script = ExtResource("4_n45e2")
[node name="Ouroboros3" type="Sprite2D" parent="Title"]
modulate = Color(0, 0, 1, 1)
material = ExtResource("3_t1dhk")
position = Vector2(776, 178)
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_ce3w2")
script = ExtResource("4_n45e2")
[node name="Ouroboros4" type="Sprite2D" parent="Title"]
modulate = Color(0.545098, 0, 0, 1)
material = ExtResource("3_t1dhk")
position = Vector2(947, 181)
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_ce3w2")
script = ExtResource("4_n45e2")
[node name="Label" type="Label" parent="Title"]
layout_mode = 0
offset_left = 357.0
offset_top = 65.0
offset_right = 528.0
offset_bottom = 289.0
text = "u"
label_settings = SubResource("LabelSettings_ce3w2")
[node name="Label5" type="Label" parent="Title"]
layout_mode = 0
offset_left = 459.0
offset_top = 65.0
offset_right = 630.0
offset_bottom = 289.0
text = "r"
label_settings = SubResource("LabelSettings_n45e2")
[node name="Label2" type="Label" parent="Title"]
layout_mode = 0
offset_left = 642.0
offset_top = 69.0
offset_right = 742.0
offset_bottom = 293.0
text = "b"
label_settings = SubResource("LabelSettings_opfnp")
[node name="Label3" type="Label" parent="Title"]
layout_mode = 0
offset_left = 833.0
offset_top = 68.0
offset_right = 933.0
offset_bottom = 292.0
text = "r"
label_settings = SubResource("LabelSettings_cp0ys")
[node name="Label4" type="Label" parent="Title"]
layout_mode = 0
offset_left = 1004.0
offset_top = 67.0
offset_right = 1104.0
offset_bottom = 291.0
text = "s"
label_settings = SubResource("LabelSettings_yhxw7")
[node name="HelpPanel" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 0.2
anchor_top = 0.375
anchor_right = 0.8
anchor_bottom = 0.9
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_trj04")
[node name="Label" type="Label" parent="HelpPanel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "A game of Ouroboros is about creating loops of snakes, called an Ouroboros. The aim is to create as many Ouroboroses as you can.
To control your snake, you can use, WASD, arrow keys or Vi direction keys. (Swipe instead if you are on mobile)
Eating a fruit does not give you any points, but will increase the length of your snake according to the type of fruit as shown below.
Each time you achieve an Ouroboros, you get one score and start as a new snake inside the old Ouroboros, making the arena smaller."
label_settings = SubResource("LabelSettings_vtepg")
autowrap_mode = 3
script = ExtResource("5_vr1f0")
[node name="FruitExamples" type="HBoxContainer" parent="HelpPanel"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -107.0
offset_bottom = -60.0
grow_horizontal = 2
grow_vertical = 0
[node name="Separator4" type="Control" parent="HelpPanel/FruitExamples"]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextureRect" type="TextureRect" parent="HelpPanel/FruitExamples"]
layout_mode = 2
texture = ExtResource("5_trj04")
stretch_mode = 2
[node name="Label" type="Label" parent="HelpPanel/FruitExamples"]
layout_mode = 2
text = "=1"
label_settings = SubResource("LabelSettings_8dnnj")
[node name="Separator" type="Control" parent="HelpPanel/FruitExamples"]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextureRect2" type="TextureRect" parent="HelpPanel/FruitExamples"]
layout_mode = 2
texture = ExtResource("7_vr1f0")
stretch_mode = 2
[node name="Label2" type="Label" parent="HelpPanel/FruitExamples"]
layout_mode = 2
text = "=3"
label_settings = SubResource("LabelSettings_8dnnj")
[node name="Separator2" type="Control" parent="HelpPanel/FruitExamples"]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextureRect3" type="TextureRect" parent="HelpPanel/FruitExamples"]
layout_mode = 2
texture = ExtResource("8_t1dhk")
stretch_mode = 2
[node name="Label3" type="Label" parent="HelpPanel/FruitExamples"]
layout_mode = 2
text = "=5"
label_settings = SubResource("LabelSettings_8dnnj")
[node name="Separator3" type="Control" parent="HelpPanel/FruitExamples"]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextureRect4" type="TextureRect" parent="HelpPanel/FruitExamples"]
layout_mode = 2
texture = ExtResource("9_5egv6")
stretch_mode = 2
[node name="Label4" type="Label" parent="HelpPanel/FruitExamples"]
layout_mode = 2
text = "=10"
label_settings = SubResource("LabelSettings_8dnnj")
[node name="Separator5" type="Control" parent="HelpPanel/FruitExamples"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Button" type="Button" parent="HelpPanel"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = 27.0
grow_horizontal = 2
grow_vertical = 0
text = "OK"
[node name="ToolPanel" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 0.2
anchor_top = 0.375
anchor_right = 0.8
anchor_bottom = 0.9
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_trj04")
[node name="Label" type="RichTextLabel" parent="ToolPanel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
bbcode_enabled = true
text = "Game Engine - [url=https://godotengine.org/]Godot[/url]
Sprite Drawing - [url=https://krita.org/]Krita[/url]
Digitial Audio Workstation (DAW) - [url=https://ardour.org/]Ardour[/url]
DAW Plugins - ACE (Ardour internal), [url=http://calf-studio-gear.org/]Calf Plugins[/url], [url=https://github.com/DISTRHO/DISTRHO-Ports/tree/master/ports-juce6.0/vitalium]Vitalium[/url], [url=https://github.com/michaelwillis/dragonfly-reverb]Dragonfly Reverb[/url], [url=https://github.com/DISTRHO/DPF-Plugins]MaPitchshift[/url] and [url=https://lsp-plug.in/]LSP Plugins[/url]
Font - [url=https://fonts.google.com/share?selection.family=Kings]Kings-Regular[/url]"
script = ExtResource("10_16hvj")
[node name="Button" type="Button" parent="ToolPanel"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = 27.0
grow_horizontal = 2
grow_vertical = 0
text = "OK"
[node name="CreditsPanel" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 0.2
anchor_top = 0.375
anchor_right = 0.8
anchor_bottom = 0.9
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_trj04")
[node name="Label" type="RichTextLabel" parent="CreditsPanel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
bbcode_enabled = true
text = "Design and Development
TechieDamien
QA Testing
InfoDuck
Identifying and Solving that one bug
Jade
Moral Support
My Parents"
scroll_active = false
horizontal_alignment = 1
script = ExtResource("10_16hvj")
[node name="Button" type="Button" parent="CreditsPanel"]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = 27.0
grow_horizontal = 2
grow_vertical = 0
text = "OK"
[connection signal="pressed" from="Buttons/Start" to="." method="start_game"]
[connection signal="pressed" from="Buttons/Help" to="." method="show_help"]
[connection signal="pressed" from="Buttons/Credits" to="." method="show_credits"]
[connection signal="pressed" from="Buttons/Tools" to="." method="show_tools"]
[connection signal="pressed" from="Buttons/SourceCode" to="." method="show_source_code"]
[connection signal="pressed" from="Buttons/Quit" to="." method="quit"]
[connection signal="pressed" from="HelpPanel/Button" to="." method="hide_help"]
[connection signal="pressed" from="ToolPanel/Button" to="." method="hide_tools"]
[connection signal="pressed" from="CreditsPanel/Button" to="." method="hide_credits"]