Forum begins after the advertisement:


[Part 7] Question about the save system

Home Forums Video Game Tutorial Series Creating a Metroidvania in Unity [Part 7] Question about the save system

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14952
    Aria
    Level 13
    Participant
    Helpful?
    Up
    0
    ::

    Hello, i was wondering if you could explain the purpose of the hashset of scene names and why we need it? I find that very unclear

    #14957
    Joseph Tang
    Level 13
    Moderator
    Helpful?
    Up
    0
    ::

    While i am not the creator of the series, sceneNames helps to maintain a record of player progress and updates the map by showing explored areas as well as where the player is at the time of a saved game.

    Although other functions can be used instead of hashset, like dictionary or list, it’s relatively simple to use for this purpose. It can also prevent duplicate names from occuring, however takes a bigger memory space because of how hashsets work.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Go to Login Page →


Advertisement below: