2023-01-07 11:03:21 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://bufi0wh54u5x5"]
|
2023-01-07 02:27:44 +00:00
|
|
|
|
2023-01-07 02:34:29 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://c5a1nyqumj46j" path="res://menu/menu_theme.tres" id="1_mkxnc"]
|
2023-01-07 11:03:21 +00:00
|
|
|
[ext_resource type="Script" path="res://menu/Menu.gd" id="2_6amk3"]
|
2023-01-07 02:29:15 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bxyximtgui1ux" path="res://assets/grass_menu_tile.png" id="2_q14jx"]
|
2023-01-07 02:27:44 +00:00
|
|
|
|
2023-01-07 10:52:03 +00:00
|
|
|
[sub_resource type="GDScript" id="GDScript_25oo4"]
|
|
|
|
script/source = "extends Button
|
|
|
|
|
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
func _ready() -> void:
|
|
|
|
pass # Replace with function body.
|
|
|
|
|
|
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
|
|
func _process(delta: float) -> void:
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
func _gui_input(event: InputEvent) -> void:
|
|
|
|
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT:
|
|
|
|
get_tree().change_scene_to_file(\"res://island/Island.tscn\")
|
|
|
|
"
|
|
|
|
|
2023-01-07 02:27:44 +00:00
|
|
|
[node name="Menu" type="Control"]
|
|
|
|
texture_filter = 1
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_vertical = 3
|
2023-01-07 02:34:29 +00:00
|
|
|
theme = ExtResource("1_mkxnc")
|
2023-01-07 11:03:21 +00:00
|
|
|
script = ExtResource("2_6amk3")
|
2023-01-07 02:27:44 +00:00
|
|
|
|
|
|
|
[node name="Panel" type="TextureRect" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-01-07 02:29:15 +00:00
|
|
|
texture = ExtResource("2_q14jx")
|
2023-01-07 02:27:44 +00:00
|
|
|
stretch_mode = 1
|
|
|
|
|
|
|
|
[node name="Content" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
[node name="Authors" type="Label" parent="Content"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "A game by Ichicoro and Steffo"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="Title" type="Label" parent="Content"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 6
|
|
|
|
theme_override_font_sizes/font_size = 48
|
|
|
|
text = "Harvest"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="Control" type="Control" parent="Content"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
|
|
|
[node name="Play" type="Button" parent="Content/Control"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
2023-01-07 08:58:38 +00:00
|
|
|
offset_left = -18.0
|
2023-01-07 02:27:44 +00:00
|
|
|
offset_top = -9.0
|
2023-01-07 08:58:38 +00:00
|
|
|
offset_right = 18.0
|
2023-01-07 02:27:44 +00:00
|
|
|
offset_bottom = 9.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
|
|
|
theme_override_font_sizes/font_size = 0
|
|
|
|
text = "Play"
|
2023-01-07 10:52:03 +00:00
|
|
|
script = SubResource("GDScript_25oo4")
|
2023-01-07 02:27:44 +00:00
|
|
|
|
|
|
|
[node name="Authors2" type="Label" parent="Content"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 1
|
|
|
|
text = "Ludum Dare 52 - Harvest"
|
|
|
|
horizontal_alignment = 1
|
2023-01-07 11:03:21 +00:00
|
|
|
|
|
|
|
[connection signal="pressed" from="Content/Control/Play" to="." method="play"]
|