User Tag List

Results 1 to 9 of 9

Thread: UPDATING! Google play game , does it effect the game save

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2014
    Posts
    24
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    UPDATING! Google play game , does it effect the game save

    hiya.

    when updating a game on google play , does it effect the existing game save / array ?

    DataStorageDirectory$( "Android object" ) + "KTRES.arr" , path im using.


    thanks

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,238
    Mentioned
    175 Post(s)
    Tagged
    3 Thread(s)
    seems to be wrong since is missing the "/"

    DataStorageDirectory$( "Android object" ) + "/" +"KTRES.arr"

    and yes when you save it will replace the existing one
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2014
    Posts
    24
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks fernando,

    Is there a way to leave old game save intact when i update my game ?

    current 138 unlock-able items , concern is the player might get annoyed if they have to start over every patch / update .

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,238
    Mentioned
    175 Post(s)
    Tagged
    3 Thread(s)
    oh you may use file object to check, and only save when the file does not exist.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2014
    Posts
    24
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Only used file object in a lvl editor , not used most of its features.

    How would i check for .arr ?

    thank you

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,238
    Mentioned
    175 Post(s)
    Tagged
    3 Thread(s)
    using file object and this conditions

    * WITH ANOTHER CONDITION"
    + File: DataStorageDirectory$( "Android object" ) + "/" + "savegame.arr" exists
    ------
    Active 2 : Reappear


    OR OTHER ACTION YOU MAY NEED
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2014
    Posts
    24
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    @Fernando , several different builds, only updated app , original game save intact from 1st build to last ( i got a big smile right now , thank you so much)


    something you pointed out in this post
    DataStorageDirectory$( "Android object" ) + "KTRES.arr" VS DataStorageDirectory$( "Android object" ) + "/" + "savegame.arr"

    i have always used ( "Android object" ) + "save.arr"

    is adding + "/" to the path required ?

    thank you

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,238
    Mentioned
    175 Post(s)
    Tagged
    3 Thread(s)
    yes, not sure how it worked without the file separator

    check in a string the result from datastorage if you dont see a final / mean that you need to add, and i am sure you need to add this.

    in your case you are saving this files in teh root of your application data folder under a different name "filesKTRES.arr"


    Capture.PNG

    yellow bright is teh result from reading datastorage using com.yourcompany.yourapplication name see folder files if you don't set teh / you will make the name mentioned above.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2014
    Posts
    24
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    AH HA ,, nice one , thank you you been a massive help.

Similar Threads

  1. Google play game objects example ?
    By janpier in forum Android Export Module 2.5
    Replies: 1
    Last Post: 24th April 2019, 09:40 AM
  2. My game is on Google Play but says incompatible with my devices
    By westron in forum Android Export Module 2.5
    Replies: 5
    Last Post: 5th August 2016, 09:34 PM
  3. Test game on Google Play
    By qenio in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 25th May 2012, 02:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •