2019-12-31 16:04:00 +00:00
|
|
|
extends WindowDialog
|
|
|
|
|
2019-12-31 17:04:54 +00:00
|
|
|
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")
|
|
|
|
|
2019-12-31 18:10:10 +00:00
|
|
|
$Contents/ArtCredits.text = tr("Art by") + ": Erevos"
|
|
|
|
|
2019-12-31 16:04:00 +00:00
|
|
|
func _on_ArtCredits_pressed() -> void:
|
|
|
|
OS.shell_open("https://www.instagram.com/erevos_art")
|
2020-01-01 15:00:28 +00:00
|
|
|
|
|
|
|
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)
|