The Daily Click ::. Forums ::. Klik Coding Help ::. Saving Values
 

Post Reply  Post Oekaki 
 

Posted By Message

vinicio



Registered
  11/04/2015 21:20:09
Points
  142
10th January, 2016 at 10/01/2016 01:56:15 -

Right now im having a little bit of trouble inolving saving stuff in my game.

im using the Ini objetct to save all this different values like "HPupgrade" "coins" "BeatenLvls" and a bunch of others , right now its just all really messy and confusing and im asking if theres a more efficient way to save data on the game.


 
n/a

LordHannu

Crazy?

Registered
  22/04/2007
Points
  7909

VIP MemberStarTeddy BearRibbonGame of the Week Winner2021 Halloween Competition Winner2022 Hi-Score Mash-up Competition (Bronze)2023 Halloween Competition (Bronze)2023 Halloween Competition Entrant
10th January, 2016 at 10/01/2016 08:54:04 -

Save your values on positions on an "Value" array. X,Y.
X,Y
1,1: HPupgrades (Values)
2,1 beaten level 1 (0 for no. 1 for yes)
2,2 beaten level 2
2,3 beaten level 3

Save game and you save the array to Appdir$+("Yourfilename")


 
n/a

vinicio



Registered
  11/04/2015 21:20:09
Points
  142
10th January, 2016 at 10/01/2016 19:01:56 -

thanks iŽll try that.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click