So How do I make it when I add an item. it fills each stack of that item in the inventory first, then creates a new stack, and repeats until there is no more?
also what if there are other values inbetween a blueberry stack. for example a raspberry, how do i make the computer essentially skip that value and move on until it hits the end of the array or another blueberry stack?
Okay I will try this thank you I will grt back to you with the results. Cheers!
I need help with stack sizes in an array. When I add an item- lets say 5 blueberries, when the max stack of it is 10- can I make it loop so it add 1 blueberry 5 times so it get every individual stack before creating a new one?
I never played minecraft - can you describe how their menu system works? Basically when I pick up a world item, if there is no existing copies in the inventory, or if there is, and the stack is not maxed out, it adds.
I never played minecraft - can you describe how their menu system works?
Basically when I pick up a world item, if there is no existing copies in the inventory, or if there is, and the stack is not maxed out, it adds.
I have been working on an inventory for awhile, and found a minecraft type inventory system is most suitable, But I dont know where to start.
bump
Develop games in your browser. Powerful, performant & highly capable.
How Do I make these types? For example stacking, crafting, looting, storage?
I mean stacking like if I had 5 rocks in one slot and 5 rocks in another slot, and put them together. Also I dont have c3:( so I cant see your example.
So I started making arrays and generally how they work, But I cant wrap my head around making a complex inventory system with it. For example: How do you "add" items together by dragging over them?
Is there a way to make an inventory in a way such as an inventory in survival games?
Hello, I've been making a game but every time I try to Run a layout it says "Page is unresponsive." I've tried different Search Engines, Fixing the firewall and playing with settings. Please Help!
Member since 17 Apr, 2017