2025-09-03 12:14:08 +10:00
[gd_scene load_steps=3 format=3 uid="uid://bgnfwdpk48u51"]
[ext_resource type="Script" uid="uid://cxggjpnb3uys7" path="res://scenes/menu.gd" id="1_vjb58"]
[ext_resource type="Texture2D" uid="uid://b1sese4p8sck3" path="res://assets/smallMap.png" id="1_yqeox"]
[node name="Menu" 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_vjb58")
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_yqeox")
stretch_mode = 6
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 100
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 100
theme_override_constants/margin_bottom = 20
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
bbcode_enabled = true
text = "[wave][font_size=50][outline_size=8][outline_color=darkgreen][color=green]Snake's Braincell"
fit_content = true
horizontal_alignment = 1
[node name="RichTextLabel2" type="RichTextLabel" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
bbcode_enabled = true
text = "[font_size=15][outline_size=2][outline_color=darkred][color=red]Made by Tabby :3"
fit_content = true
horizontal_alignment = 1
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/PanelContainer"]
layout_mode = 2
[node name="Instructions" type="RichTextLabel" parent="MarginContainer/VBoxContainer/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
2025-09-03 21:34:33 +10:00
text = "You are a snake, or rather, you are it's sincle braincell. press [color=green]X[/color] to switch between [i]controlling the snake[/i] and [i]controlling the braincell[/i].
In snake form, Use the [color=green]Arrow Keys[/color] to direct the snake into apples. Then in braincell view, use the [color=green]Z[/color] key to pickup collected apples and put them in the [i]furnace[/i] - this will replenish your food, if you run of food you die!"
2025-09-03 12:14:08 +10:00
fit_content = true
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="CreditsButton" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
text = "View Credits"
[node name="PlayButton" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 8
text = "Play"
2025-09-03 21:34:33 +10:00
[node name="version" type="Label" parent="."]
2025-09-03 12:14:08 +10:00
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -40.0
offset_top = -23.0
grow_horizontal = 0
grow_vertical = 0
2025-09-03 21:34:33 +10:00
text = "V 0.3"
2025-09-03 12:14:08 +10:00
[connection signal="pressed" from="MarginContainer/VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]