Saving some parameters

This commit is contained in:
Rendo 2025-07-12 08:43:56 +05:00
commit 48a22dd956
13 changed files with 73 additions and 14 deletions

View file

@ -0,0 +1,12 @@
using Godot;
using Newlon;
public partial class PrototypeWindow : AcceptDialog
{
public override void _Ready()
{
if (Utility.Splash) return;
Utility.Splash = true;
PopupCentered();
}
}

View file

@ -0,0 +1 @@
uid://cghu4i3bnyavg

View file

@ -7,6 +7,7 @@ func _on_play_button_pressed() -> void:
func _on_exit_button_pressed() -> void:
get_tree().root.propagate_notification(NOTIFICATION_WM_CLOSE_REQUEST)
get_tree().quit()
$ChannelPlayer.call("Play")
@ -15,7 +16,10 @@ func _on_button_pressed() -> void:
$"../AboutWindow".popup_centered()
$ChannelPlayer.call("Play")
func _on_almanach_button_pressed() -> void:
$"../Almanach".visible = true
$ChannelPlayer.call("Play")
func _on_splash_button_pressed() -> void:
$"../PrototypeWindow".popup_centered()

View file

@ -1,9 +0,0 @@
extends AcceptDialog
static var seen = false
func _ready() -> void:
if seen:
return
seen = true
popup_centered()

View file

@ -1 +0,0 @@
uid://dgevhrbucpwrs