this post was submitted on 03 Mar 2024
11 points (100.0% liked)

GameDev

2776 readers
1 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥

GameDev Telegram chat.

founded 1 year ago
MODERATORS
 

I was wondering if there were some good resources for the concepts of a FPS inventory. My current idea to to just have a JSON file with every item having a "name" "type" "weight" and "count" propertys. I was thinking this would have the added benefit of using a single list that can be used for multiple menus(ie: healthpacks menu, ammo menu, etc)

Are they different approaches or resources for FPS inventorys?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 8 months ago* (last edited 8 months ago)

I mean there are no "FPS Inventories". You can have a Grid inventory, ala Resident Evil or Diablo. You can do the simple card squares like Destiny. Halo's "inventory" is some slots with a UI display. It depends on your needs and use cases. Also on the feeling you want to capture in your game.