Limited Space
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
ld54/scenes/main_menu.tscn

47 lines
1.1 KiB

[gd_scene load_steps=3 format=3 uid="uid://xjo01yx3nybo"]
[ext_resource type="Script" path="res://scripts/ui/change_scene_button.gd" id="1_2rx5y"]
[ext_resource type="Script" path="res://scripts/ui/quit_button.gd" id="2_fjtya"]
[node name="root" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="panel" type="Panel" parent="."]
layout_mode = 0
offset_right = 1928.0
offset_bottom = 1088.0
[node name="titre" type="Label" parent="panel"]
layout_mode = 2
offset_left = 1.0
offset_top = 2.0
offset_right = 961.0
offset_bottom = 107.0
scale = Vector2(2, 2)
text = "Ant Underwater Odyssey"
horizontal_alignment = 1
vertical_alignment = 1
[node name="play" type="Button" parent="."]
layout_mode = 0
offset_left = 624.0
offset_top = 776.0
offset_right = 1279.0
offset_bottom = 853.0
text = "Play"
script = ExtResource("1_2rx5y")
TARGET_SCENE = "res://scenes/main_menu.tscn"
[node name="quit" type="Button" parent="."]
layout_mode = 0
offset_left = 629.0
offset_top = 875.0
offset_right = 1284.0
offset_bottom = 952.0
text = "Quit"
script = ExtResource("2_fjtya")