0 Favourites

Properly using Save/Load

  • Hi, I'm having some issues with my current logic for saving and loading.

    So I have an array where I'm storing the names of the save files, this is called SaveFiles

    Then I have a textbox where the user enters the name they want to use for their save file, this name is the pushed into the array.

    Then on the loading screen I am populating a drop-down list of save files from the array. The user selects one and then it will load and bring them to the level select screen.

    Problem is that the array gets populated fine, and the save file name shows up in the drop down list. But it can't load the save.

    What am I doing wrong? Or can do better.

    <img src="http://i.imgur.com/QWTgWeD.png" border="0" />

    <img src="http://i.imgur.com/pbv9qXQ.png" border="0" />

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • I've made a button instead of using the On Clicked trigger for the list. Still not working. Also exported the project to make sure it wasn't the browser being weird. Has the exact same problem on WIN32 export.

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