How do I Make a save and load to work with level selection

0 favourites
  • 3 posts
From the Asset Store
Selection frame like in RTS games, works both on mobile and desktop devices.
  • Ok I have 2 levels of a platformer made and a stage selection screen that works but here is the problem.

    I have a door in my game and when the main player collides with the door I have the code

    Player on collide with door...... System wait 0.5

    System Save game to slot "GameSave"

    System add 1 to Win1 ( my variable to unlock the next level)

    System Go to level select

    Now on my stage selection screen I have this code to load the save

    System On load complete.....System load game from slot "GameSave"

    Where should I put the save code and the load code for it to work correctly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try to use 2 save slots one for level 1 and the other for level 2.

  • Try to use 2 save slots one for level 1 and the other for level 2.

    I forgot to reply that I figured it out but thanks. What I did was different I made a global variable for each level and on completion I was able to save in the same slot.

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