Hello!
Is there a way to load the version number under "Global Game Settings" > "Other" into a game using code?
This would be really useful when comparing versions in for example multiplayer games etc.
Other smart and easy ways to do this are also appreciated.
Get game version
Started by 95jonpet, May 20 2012 01:49 PM
3 replies to this topic
#1
Posted 20 May 2012 - 01:49 PM
#2
Posted 20 May 2012 - 01:54 PM
Don't think so, I just create a global variable that holds my game versionso:
Game_Version = "1.5.3";
But to check if theres a newer version you may have to store all the numbers as separate variables or bundled together such as:
Game_Version = 153;
If the next version is 167, you can just compare the numbers that way to check if its a newer version.
Game_Version = "1.5.3";
But to check if theres a newer version you may have to store all the numbers as separate variables or bundled together such as:
Game_Version = 153;
If the next version is 167, you can just compare the numbers that way to check if its a newer version.
Edited by fluidic ice, 20 May 2012 - 01:56 PM.
#3
Posted 20 May 2012 - 01:55 PM
Don't think so, I just create a global variable that holds my game versionso:
Game_Version = "1.5.3";
But then I have to edit it twice everytime I update my game
#4
Posted 20 May 2012 - 01:58 PM
Yeah, there's also another game version located in: Resources > Global Game Settings > Info
Which i'm manually editing as well, so i've got a total of 3 to change every version.
Also edited above.
Which i'm manually editing as well, so i've got a total of 3 to change every version.
Also edited above.
Edited by fluidic ice, 20 May 2012 - 01:58 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











