Is there a way to make an inventory in a way such as an inventory in survival games?
Develop games in your browser. Powerful, performant & highly capable.
Yeah, by using arrays. Search 'inventory' in the tutorials.