Saving some parameters
This commit is contained in:
parent
58509c217b
commit
48a22dd956
13 changed files with 73 additions and 14 deletions
12
scripts/gui/PrototypeWindow.cs
Normal file
12
scripts/gui/PrototypeWindow.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
1
scripts/gui/PrototypeWindow.cs.uid
Normal file
1
scripts/gui/PrototypeWindow.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cghu4i3bnyavg
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
extends AcceptDialog
|
||||
|
||||
static var seen = false
|
||||
|
||||
func _ready() -> void:
|
||||
if seen:
|
||||
return
|
||||
seen = true
|
||||
popup_centered()
|
||||
|
|
@ -1 +0,0 @@
|
|||
uid://dgevhrbucpwrs
|
||||
Loading…
Add table
Add a link
Reference in a new issue