SSave - A simple save file system for GameMaker

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • In this video we will be checking out a plugin made for GameMaker called SSave.
    [ External Links ]
    SSave - github.com/stoozey/SSave
    [ Supporting the Channel ]
    If you are not already a subscriber, why don't you click that subscribe button... it's free and you don't even need to get updates.. but I mean you could also click the notification button too ;)
    if you would like more content and written content check out my Patreon page at / gamemakercasts and you will get access to source code, written tutorials, random thoughts and more!
    [ Chapters ]
    00:00 - Introduction
    00:15 - Getting Started
    01:05 - Configurations
    02:05 - Saving
    03:00 - Loading
    03:30 - Demo time
    03:50 - Upcoming Preview
    04:02 - Thank you

Komentáře • 9

  • @AustinIvansmith
    @AustinIvansmith Před 12 dny

    This video helped me immensely. Thank you!

  • @SGTIvan921
    @SGTIvan921 Před 7 měsíci

    Wow, so simple!

  • @jaimebandeja234
    @jaimebandeja234 Před 4 měsíci

    Hello, I need to save/load a couple of arrays (variable[0], variable[1], etc) it could be done with this? Thanks.

  • @cowaw
    @cowaw Před 4 měsíci

    Does this automatically save via a buffer or is that something I need to specify?

    • @GameMakerCasts
      @GameMakerCasts  Před 4 měsíci

      I know you need to call the save() function to actually save the information, and it looks like it uses a buffer to do so. You can view the entire source at github.com/stoozey/SSave/blob/main/scripts/scr_ssave/scr_ssave.gml

  • @appaccount7203
    @appaccount7203 Před 10 měsíci

    Impeccable timing. Thanks so much! Keep doing what you're doing. Much love.

  • @shivasouza6718
    @shivasouza6718 Před měsícem

    I do wonder if there isn't a way to make this with less commands. Does anyone know if such a plugin exists?
    As it is you have to
    1) Add a value to the ssave (ssave_value).
    2) Set ssave_value = your_variable.
    3) then to load your_variable = ssave_value
    An ideal solution, IMHO would be a simple:
    ssave(instance/global.your_variable)
    So you just define which variable you want to save, and the system deals with everything else.
    When loading, it just automatically search for a variable of the same name and that's it. Maybe even creating it if it doesn't exist when loading.

    • @GameMakerCasts
      @GameMakerCasts  Před měsícem

      You could write a "wrapper" for it :) I like to do that with a lot of things I find. Basically you start off with a struct with a constructor and inside that struct you make your wrapper functions.

  • @ruinaimperii476
    @ruinaimperii476 Před 10 měsíci

    Great