Inventory Tutorial Part 6 - Saving and Loading

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ •

  • @shroomboi779
    @shroomboi779 3 роки тому +1

    You would have to be the number one guy i follow for gms2 tuts. I like your pace and content. It is always bang on. Thank you!

  • @xxJETSETxx
    @xxJETSETxx 6 років тому +2

    I love these videos so much.

  • @lloyd011721
    @lloyd011721 8 місяців тому

    also: making it so your inventory saves every time you close it opens you up to a situation where you can get an item, or open a chest ect, open and close your inventory, dont save the game, close and re open the game, and then you can go get that item again.

  • @lloyd011721
    @lloyd011721 8 місяців тому

    are ds grids not compatable with json?

  • @shroomboi779
    @shroomboi779 3 роки тому

    I forgot, I do have a question.
    I noticed that when you read the ini file back into the grid everything loads correctly.
    But the grid is only created with a height of 1.
    Any insight into what is happening there?
    Cheers!

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  3 роки тому

      It’s been a while since I’ve looked at this project, but I’m pretty sure we resize the grid each time we need to add to it. To ensure the grid isn’t bigger than we need, it’s best to get the new data to add to it, then grow the grid, and fill it in. That way it’s always the right size.