Added final features for this release. Now only polishing (if needed) remains.
Features: Sacrifice-Node, Maintain-Node, Options for screen type, lightcolor and soundvolume, tied in sound effects, game pause when menu is open, visibly open up gate when opening it.
This commit is contained in:
@@ -2,6 +2,8 @@ using Godot;
|
||||
|
||||
public partial class MainMenu : Control
|
||||
{
|
||||
[Export] private PanelContainer options;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
UIStyle.Apply(this);
|
||||
@@ -26,4 +28,11 @@ public partial class MainMenu : Control
|
||||
{
|
||||
GetTree().Quit();
|
||||
}
|
||||
|
||||
public void OnOptionsPressed()
|
||||
{
|
||||
if (options == null) return;
|
||||
|
||||
options.Show();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user