libGDX: Save and load an integer for highscore!

Anything libgdx related goes here!

libGDX: Save and load an integer for highscore!

Postby jaishnavgomes » Sat Jul 13, 2019 11:48 am

I searched for a possability to save an integer, if it's bigger than the second integer (highscore) and load that, if I restart my application. The problem is that I do not know, how that is to do and also did not find a result for my problem, in libGDX, in the web. (I am developing an Android App)

Thanks for any help! :)uc browser shareit appvn
Last edited by jaishnavgomes on Mon Jul 15, 2019 9:23 pm, edited 1 time in total.
jaishnavgomes
 
Posts: 2
Joined: Sat Jul 13, 2019 11:29 am

Re: libGDX: Save and load an integer for highscore!

Postby QuiIIraven » Sat Jul 13, 2019 12:04 pm

try to look for libgdx preferences

https://github.com/libgdx/libgdx/wiki/Preferences
QuiIIraven
 
Posts: 68
Joined: Sat Jun 02, 2018 4:59 pm


Return to Libgdx

Who is online

Users browsing this forum: No registered users and 1 guest