1. Hey! Guest! The 34th GMC Jam will take place between August 22nd, 12:00 UTC (Thursday noon) and August 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

load save on Android and windows phone

Discussion in 'Programming' started by RizbIT, Dec 20, 2017.

  1. RizbIT

    RizbIT Member

    Joined:
    Jun 24, 2016
    Posts:
    437
    will this work on ALL android and windows phone?

    Code:
    ini_open("savedata.ini");
    score = ini_read_real("save1", "score", 0);
    ini_close();

    it seems to work windows phone 8

    Also can i ask what would be a good use or example os using:
    ini_open_from_string(string);
     
  2. SnoutUp

    SnoutUp Member

    Joined:
    Jun 20, 2016
    Posts:
    281
    ini_open() should work on all platforms and I have never used ini_open_from_string(). I guess you could load ini data from your server and then "open" it from string without saving to file first.
     
  3. RizbIT

    RizbIT Member

    Joined:
    Jun 24, 2016
    Posts:
    437
    great.

    can i ask there is the game save function but can you use it for multiple files by assigning a filename?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice