Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement inventory - first iteration #46

Open
1 of 5 tasks
JaXt0r opened this issue Jun 18, 2024 · 2 comments
Open
1 of 5 tasks

Implement inventory - first iteration #46

JaXt0r opened this issue Jun 18, 2024 · 2 comments
Assignees

Comments

@JaXt0r
Copy link
Contributor

JaXt0r commented Jun 18, 2024

We need to have an inventory from a functional perspective (items are inside an inventory instance) and interaction wise (items can be pulled in and out of the inventory).

Backend

  • Implement basic Player Inventory class with a List of items in inventory
  • Once an item is grabbed and pulled out of the backpack, it needs to be removed from inventory and added to Voblist in game (for culling and saving)
  • vice versa when put into backpack

UI

  • if using HVR, leverage the existing backpack (for now) and draw items inside when pulled from shoulders (items have a mesh you just need to render it in the backpack slots)
  • putting items back into the backpack needs to "snap" them into the slots

Out-of-scope:

  • A fully functional paging system for all the "thousands of objects we can have in inventory" is something for later
  • We can think about another type of backpack later.
  • Just use what we have right now to get a fine first skeleton for the whole experience.
@piotrb92
Copy link

piotrb92 commented Jun 20, 2024

@JaXt0r I have a lot of experience with inventories as I was mainly focusing on survival games for most of my 10+ years with Unity. Would love to take this on!

@piotrb92 piotrb92 self-assigned this Jun 20, 2024
@JaXt0r
Copy link
Contributor Author

JaXt0r commented Jun 20, 2024

Very much appreciated. Let's work on it together. I suggest you open a special-topic on Discord and a branch where I can provide the code snippets you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants