246 lines
7.4 KiB
Text
246 lines
7.4 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://ck1db6d8whbac"]
|
|
|
|
[ext_resource type="Script" path="res://MainMenu.gd" id="1_omrmt"]
|
|
[ext_resource type="Gradient" uid="uid://c41berdx2rqpw" path="res://gradient.tres" id="2_fq3us"]
|
|
[ext_resource type="Script" path="res://InfiniteGradient.gd" id="3_7u2sq"]
|
|
[ext_resource type="FontFile" uid="uid://dsw5w316y4v54" path="res://Preahvihear/Preahvihear-Regular.ttf" id="3_swfwl"]
|
|
[ext_resource type="Script" path="res://Settings.gd" id="5_sarwv"]
|
|
[ext_resource type="Script" path="res://EmojiValidator.gd" id="6_ojb71"]
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_jya8r"]
|
|
gradient = ExtResource("2_fq3us")
|
|
width = 16384
|
|
|
|
[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_omrmt")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -152.0
|
|
offset_right = 14312.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = SubResource("GradientTexture1D_jya8r")
|
|
stretch_mode = 1
|
|
script = ExtResource("3_7u2sq")
|
|
speed = 100
|
|
|
|
[node name="Title" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_top = -539.0
|
|
offset_bottom = 4.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 200
|
|
text = "Quare Game"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Settings" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -934.0
|
|
offset_top = -326.0
|
|
offset_right = -414.0
|
|
offset_bottom = -136.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 100
|
|
text = "CONFIG"
|
|
flat = true
|
|
|
|
[node name="Tutorial" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = 353.0
|
|
offset_top = -327.0
|
|
offset_right = 873.0
|
|
offset_bottom = -137.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 100
|
|
text = "TUTORIAL"
|
|
flat = true
|
|
|
|
[node name="Play" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -173.0
|
|
offset_top = -326.0
|
|
offset_right = 173.0
|
|
offset_bottom = -136.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 100
|
|
text = " PLAY "
|
|
flat = true
|
|
|
|
[node name="Settings Panel" type="ColorRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.619608)
|
|
script = ExtResource("5_sarwv")
|
|
|
|
[node name="Close" type="Button" parent="Settings Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -72.0
|
|
offset_top = -159.0
|
|
offset_right = 72.0
|
|
offset_bottom = -59.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 50
|
|
text = "SAVE"
|
|
flat = true
|
|
|
|
[node name="TextEdit" type="TextEdit" parent="Settings Panel"]
|
|
custom_minimum_size = Vector2(0, 100)
|
|
layout_mode = 1
|
|
anchors_preset = 13
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -398.0
|
|
offset_top = 432.0
|
|
offset_right = 398.0
|
|
offset_bottom = -159.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "😀😃😄😁😆🥹😅😂🤣🥲☺️😊😇🙂🙃😉😌😍🥰😘😗😚😙😋😛😝😜🤪🤨🧐🤓😎🥸🤩🥳😏😒😞😔😟😕🙁😣☹️😖😫😩🥺😢😭😤😠😡🤬😥😰😨😱😶🌫️🥶🥵😳🤯😓🤗🤔🫣🤭🫢🫡🤫🫠🙄😬🫨😑🫤😐🫥😶🤥😯😦😧😮😲🥱😴🤤😪😷🤧🤮🤢🥴🤐😵💫😵😮💨🤒🤕🤑🤠😈👿👹👺🤡😺🎃🤖👾👽☠️💀👻💩😸😹😻😼😽🙀😿😾🫶✊👊👎👍🤝👏🙌👐🤲🤛🤜🫷🫸🤞✌️🫰🤟🤘👇👆👉👈🫴🫳🤏🤌👌☝️✋🤚🖖🖐️👋🤙🫲🫱🦿🦵🦶🫵🙏✍️🖕🦾💪💄💋👄🫦🦷👅👂🦻👃👥👤🗣️🧠🫁🫀👀👁️👣🫂👶🧒👧👦🧑👩👨🧑🦱"
|
|
wrap_mode = 1
|
|
autowrap_mode = 1
|
|
|
|
[node name="Menu" type="GridContainer" parent="Settings Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 13
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -351.0
|
|
offset_top = 170.0
|
|
offset_right = 351.0
|
|
offset_bottom = -170.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
columns = 2
|
|
|
|
[node name="Label" type="Label" parent="Settings Panel/Menu"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
theme_override_font_sizes/font_size = 80
|
|
text = "Useremoji"
|
|
|
|
[node name="Username" type="LineEdit" parent="Settings Panel/Menu"]
|
|
custom_minimum_size = Vector2(50, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 54
|
|
alignment = 1
|
|
max_length = 1
|
|
script = ExtResource("6_ojb71")
|
|
pattern = "\\p{Emoji}"
|
|
|
|
[node name="Label2" type="Label" parent="Settings Panel/Menu"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
theme_override_font_sizes/font_size = 80
|
|
text = "Movement "
|
|
|
|
[node name="Controls" type="OptionButton" parent="Settings Panel/Menu"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 54
|
|
item_count = 2
|
|
selected = 0
|
|
popup/item_0/text = "Relative"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Absolute"
|
|
popup/item_1/id = 1
|
|
|
|
[node name="Tutorial Text" type="Label" parent="."]
|
|
visible = false
|
|
z_index = 2
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 64
|
|
text = "You are gaming
|
|
kill you're self"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="Tutorial Text"]
|
|
z_index = -1
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.654902)
|
|
|
|
[node name="Close" type="Button" parent="Tutorial Text"]
|
|
layout_mode = 1
|
|
offset_left = 24.0
|
|
offset_top = 6.0
|
|
offset_right = 63.0
|
|
offset_bottom = 106.0
|
|
theme_override_fonts/font = ExtResource("3_swfwl")
|
|
theme_override_font_sizes/font_size = 50
|
|
text = "X"
|
|
flat = true
|
|
|
|
[connection signal="pressed" from="Settings" to="Settings Panel" method="show"]
|
|
[connection signal="pressed" from="Tutorial" to="Tutorial Text" method="show"]
|
|
[connection signal="pressed" from="Play" to="." method="play"]
|
|
[connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="save"]
|
|
[connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="hide"]
|
|
[connection signal="text_changed" from="Settings Panel/Menu/Username" to="Settings Panel" method="check_valid"]
|
|
[connection signal="text_changed" from="Settings Panel/Menu/Username" to="Settings Panel/Menu/Username" method="check"]
|
|
[connection signal="pressed" from="Tutorial Text/Close" to="Tutorial Text" method="hide"]
|