Coordinate with the SWE working on spritesheets to figure out which categories of items (shirt, pants, shoes, etc.) are needed
You can use placeholder images for sprites for the time being. Once the SWE working on spritesheets figures out how to traverse them successfully we will implement the correct sprites.
Backend
Upon purchase, update the player's money balance accordingly and the inventory with the purchased item
Use the Firestore arrayUnion() to update inventory
You should self-populate the shopItems collection and subcollections in the database with dummy entries just to make sure your logic is correct. Once we get further with spritesheets and decide on an item list we can redo the shopItems collection with correct item + sprite data.
Shop: Basic shop UI + functionality
Overview
Implement the shop tab in Student View with purchasable items.
Frontend
Backend
arrayUnion()
to update inventoryshopItems
collection and subcollections in the database with dummy entries just to make sure your logic is correct. Once we get further with spritesheets and decide on an item list we can redo theshopItems
collection with correct item + sprite data.