Need help with figuring out proper way to save player inventory.

help me (solved)
  • What are you trying to do?
    • I have an existing save system in place using JSON but I failed to realize how I'm going to save the player's inventory. Yes, I can technically use JSON for it but I feel like it's not going to be the right call.
  • What is the expected result?
    • Being able to save the player's inventory, which includes the current available slots, items (which I have implemented as Resources), and each item's current slot position.
  • What have you tried so far?
    • I tried using my existing save system and just adding an "inventory" object to save JSON but I feel like I'm missing something better.
    • I also tried saving my player's inventory as a resource but I've read somewhere that using resources as saves is a security risk.

I almost never post and I sincerely thank you for taking the time to read my inquiry :)

Posted Feb 19, 2026, 3:14 PM UTC · edited

19
Loading comments…