Problem with save / load disk...

This forum is currently in read-only mode.
From the Asset Store
For problem solving, puzzles, bubbles, platforms and other adventures.
  • Hi, first of all like to say that I'm Spanish and I am translating my message with the google translator and my English is bad. Well, my problem is I want in my game that can save and load the game. And when I put an event that when I click "Continue Game" then load the game. Then when I press "Continue Game" I get: My game stopped working ... and if I give you to cancel the game closes.

    Please comment <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Just in case. he means he wants to know how to save and load a game, and add a continue button or something to load the latest saved game, it seems he currently gets an error message.

    adriel0000

    can you post an example of what you have now?

    what kind of objetcs are there on your game?

  • Just in case. he means he wants to know how to save and load a game, and add a continue button or something to load the latest saved game, it seems he currently gets an error message.

    adriel0000

    can you post an example of what you have now?

    what kind of objetcs are there on your game?

    This is the leaf of events:

    <img src="http://img850.imageshack.us/img850/9201/sinttulorba.png" border="0" />

    If I have explained better. I do this:

    When the player press the button "Continue Game" then load the saved game.

  • the load action only works on the same layout. So you have to go to your layout and then load the data - except if you have all of the saved objects on this layout as well, but I guess this is a menu or something, so this will probably solve the problem.

    If I misunderstood you, post the cap please.

  • the load action only works on the same layout. So you have to go to your layout and then load the data - except if you have all of the saved objects on this layout as well, but I guess this is a menu or something, so this will probably solve the problem.

    If I misunderstood you, post the cap please.

    And I can not do this? I want to do that when I start the layout to load the variable level and then if I click on "Continue Game" and the variable is 1 (for example) go to layout 1

  • If I'm correct, the system's load\save action is only loading\saving private\global variables, and other values of objects, so you have to go to the given layout manually. If you try to load (for example) sprite1 on the menu, but on that layout there isnt a sprite1 object, construct may crash.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I'm correct, the system's load\save action is only loading\saving private\global variables, and other values of objects, so you have to go to the given layout manually. If you try to load (for example) sprite1 on the menu, but on that layout there isnt a sprite1 object, construct may crash.

    You have not understood me. The question is this: since it would do to guard only a variable in a file and that on having begun the layout this variable was loaded?

  • Please, Help! <img src="smileys/smiley19.gif" border="0" align="middle" />

  • send me a PM in spanish and I'll try to help you

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)