Save load page on top of game

  • #1, by adventure4lifeSaturday, 24. June 2017, 09:27 7 years ago
    Hi guys,
    I am using VS 4.2.5  and I want to show page of save-load game on top of the current running scene.

    I tried the the following options:
    1. Interface - but I saw that interfaces doesn't have savegame areas option
    2. make a scene of save load page, but than when i am showing the scene it will replace the current one and won't be on top of it

    so, there is a way to do this?

    Newbie

    2 Posts


  • #2, by afrlmeSaturday, 24. June 2017, 11:33 7 years ago
    Only by creating a custom save system using scripting or by using the built in quicksave/autosave system, but neither method will generate or display thumbnails like the default save system.

    If you used the autosave system, then you could display text or premade thumbnail based on the scene you created the save on - either way, there would be a fair bit of work involved.

    Imperator

    7285 Posts

  • #3, by ke4Saturday, 24. June 2017, 12:54 7 years ago
    There's a function for making a screenshot though. Never tried, but wouldn't be possible to access this image?

    Anyway yeah you would need to use interface + custom save system or quicksave/autosave system. I would recommend you to stick with the quicksave system as it's much more cimplicated to build own save system than it might seems.

    Key Killer

    810 Posts

  • #4, by afrlmeSaturday, 24. June 2017, 13:12 7 years ago
    There's a function for making a screenshot though. Never tried, but wouldn't be possible to access this image?

    Anyway yeah you would need to use interface + custom save system or quicksave/autosave system. I would recommend you to stick with the quicksave system as it's much more cimplicated to build own save system than it might seems.
    Maybe using the draw function?

    Imperator

    7285 Posts

  • #5, by ke4Saturday, 24. June 2017, 13:42 7 years ago
    Good point. Something like this, then?

    createScreenshot("vispath:screenshots/filename.png")

    function draw()
    
      graphics.drawSprite(graphics.loadFromFile("vispath:screenshots/filename.png"))
    
    end
    
    
    
    graphics.addDrawFunc("draw()", 0)

    This is obviously a simple examle without even setting a position.
    Though i don't know if this can be accessed in the build version. Maybe using localAppDir would be better instead?

    Key Killer

    810 Posts