mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 09:39:48 +00:00
18 lines
653 B
GDScript
18 lines
653 B
GDScript
extends WindowDialog
|
|
|
|
func _on_SplashDialog_about_to_show() -> void:
|
|
var current_version : String = ProjectSettings.get_setting("application/config/Version")
|
|
window_title = "Pixelorama" + " " + current_version
|
|
$Contents/DevelopedBy.text = "Pixelorama" + " " + current_version + " - " + tr("MADEBY_LABEL")
|
|
|
|
$Contents/ArtCredits.text = tr("Art by") + ": Erevos"
|
|
|
|
func _on_ArtCredits_pressed() -> void:
|
|
OS.shell_open("https://www.instagram.com/erevos_art")
|
|
|
|
func _on_CheckBox_toggled(pressed) -> void:
|
|
if pressed:
|
|
Global.config_cache.set_value("preferences", "startup", false)
|
|
else:
|
|
Global.config_cache.set_value("preferences", "startup", true)
|