[-] lilith267 1 points 8 months ago

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

view more: ‹ prev next ›

lilith267

joined 9 months ago