Implemented background, adjusted camera and created base for a main menu
parent
b0752b1d92
commit
c270081dba
|
|
@ -11,7 +11,7 @@ config_version=5
|
|||
[application]
|
||||
|
||||
config/name="gae_wild_jam"
|
||||
run/main_scene="uid://lq8e5h6fjrnq"
|
||||
run/main_scene="uid://b3dfeupbstcs8"
|
||||
config/features=PackedStringArray("4.6", "GL Compatibility")
|
||||
config/icon="res://assets/icon.svg"
|
||||
|
||||
|
|
|
|||
3425
scenes/game.tscn
3425
scenes/game.tscn
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene format=3 uid="uid://b3dfeupbstcs8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c3l4dvs4hcd5k" path="res://scripts/mainmenu.gd" id="1_5mbse"]
|
||||
|
||||
[node name="mainmenu" type="CanvasLayer" unique_id=48528055]
|
||||
script = ExtResource("1_5mbse")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1844679990]
|
||||
offset_left = 584.0
|
||||
offset_top = 217.0
|
||||
offset_right = 687.0
|
||||
offset_bottom = 345.0
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer" unique_id=2039313375]
|
||||
layout_mode = 2
|
||||
text = "Working Title"
|
||||
|
||||
[node name="PlayButton" type="Button" parent="VBoxContainer" unique_id=1536378372]
|
||||
layout_mode = 2
|
||||
text = "Play"
|
||||
|
||||
[node name="OptionsButton" type="Button" parent="VBoxContainer" unique_id=1460263213]
|
||||
layout_mode = 2
|
||||
text = "Options"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="VBoxContainer" unique_id=1704957427]
|
||||
layout_mode = 2
|
||||
text = "Quit"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,10 @@
|
|||
extends CanvasLayer
|
||||
|
||||
func _on_play_button_pressed() -> void:
|
||||
get_tree().change_scene_to_file("res://scenes/game.tscn")
|
||||
|
||||
func _on_options_button_pressed() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
func _on_quit_button_pressed() -> void:
|
||||
pass # Replace with function body.
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://c3l4dvs4hcd5k
|
||||
Loading…
Reference in New Issue