From a08b26ee6af0264b16087ffcbfee9ec9c3afd6b1 Mon Sep 17 00:00:00 2001 From: Jaap Marsman Date: Mon, 8 Aug 2022 14:52:49 +0800 Subject: [PATCH] trying out online update notifications --- godot/program_values.gd | 4 +--- release_version.csv | 1 - release_version.gd | 17 +++++++++++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) delete mode 100644 release_version.csv create mode 100644 release_version.gd diff --git a/godot/program_values.gd b/godot/program_values.gd index 842892f..d5fe24d 100644 --- a/godot/program_values.gd +++ b/godot/program_values.gd @@ -9,10 +9,8 @@ extends Node var release_version = 1 - func _ready(): - pass # Replace with function body. - + pass # Called every frame. 'delta' is the elapsed time since the previous frame. #func _process(delta): diff --git a/release_version.csv b/release_version.csv deleted file mode 100644 index d8263ee..0000000 --- a/release_version.csv +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/release_version.gd b/release_version.gd new file mode 100644 index 0000000..4ccf8b7 --- /dev/null +++ b/release_version.gd @@ -0,0 +1,17 @@ +extends Node + + +# This variable lists the release number. +# This is "the number of releases". +# My aim is to check against a web file to see if +# there is a new version available and show a +# download button if there is. + +var release_version_online = 2 + +func _ready(): + pass + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass