Daebak's Forum Posts

  • 2 posts
  • Hello,

    Just a couple of quick questions about the 'save' and 'load' actions in construct 2, specifically on how they pertain to mobile devices. I searched around and wasn't able to find any info on these:

    1. where is the save data stored on a mobile device when using the 'save' action? I read the help file but not sure what it means in layman's terms. Is it saved with the app data?

    2. Is it accessible by the user? If so, can I offer any form of protection other than obfuscation? I wasn't able to find any encryption or hashing objects/functions

    3. How much stress does it put in the app to be saving data? (I.e. would it be ok to save every time the player dies?) I know this depends on how much data is saved but are there any benchmarks I could look at?

    4. What happens if the program is closed before saving is complete? Would it revert to the last save or would the save corrupt?

    Any and all help is greatly appreciated!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • [quote:14n0mat7]Hi,

    I have two layouts, a title screen and the main game screen. A 'play' button can be clicked to go from the title screen to the game screen.

    When the player loses, they have the option to go back to the title screen.

    The problem is whenever they then click the play button to go back to the main game screen, the layout sits at where it was left off. While this might be handy in some cases, I'm wondering if there is a way to make the layout start over whenever it's gone to from another layout?

    I tried messing messing around with the end of layer event, and even tried using a variable to indicate whether the layout should be reset or not, but was unsuccessful.

    Many thanks!

    Nevermind, looks like Construct 2 doesn't reset group state (activated/deactivated) when it loads layouts.

    Everything is working as expected now.

    Sorry!

  • 2 posts