Menu
Login
Language
DE EN FR ES IT CZ
Back

Save load page on top of game

  • #1, by adventure4life Saturday, 24. June 2017, 09:27 9 years ago Quote
    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 afrlme Saturday, 24. June 2017, 11:33 9 years ago Quote
    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

    7290 Posts

  • #3, by ke4 Saturday, 24. June 2017, 12:54 9 years ago Quote
    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 afrlme Saturday, 24. June 2017, 13:12 9 years ago Quote
    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

    7290 Posts

  • #5, by ke4 Saturday, 24. June 2017, 13:42 9 years ago Quote
    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