• 1 Post
  • 5 Comments
Joined 8 months ago
cake
Cake day: February 2nd, 2024

help-circle

  • Sorry for the unclear-ness in my post! I’m currently using JavaScript in school working on databases and websites so my brain kinda just went to JSON as a way to track the players inventory. I was thinking of having the inventory start as an empty JSON object and have items added to it as the player collects thing, adding the benefit of being able to dump itself to a file for saves. While also being able to display itself in different menus: menu “health items” would just loop over the items with the class “health” and display them. I made this post wondering what types of ways is common for people to store/track inventory info