I'm taking over these internetz

Posted by Astryl on April 12, 2011, 2:31 a.m.

Looks like my clones are training on 64digits again. >_>

So.. I had a screenshot of my Roguelike's inventory system… but I forgot to put it on my USB Flash Drive (I'm using another computer to access the internet).

So I will describe it to you; it looks kinda like Minecraft's inventory grid, and can hold 20 items. The armor/weapons you have equipped have their own slots.

I'm still messing around with the Game Maker prototype, and slowly getting the C++ engine ready for use. SO BE HAPPY. I'm working on it.

Comments

blackhole 13 years, 7 months ago

Arrays are always the best way to implement any fixed-size inventory.

Undeadragons 13 years, 7 months ago

Damn right, using data structures to store a fixed size inventory wouldn't be the best option. Still, a newbie would probably see someone say "Use data structures to implement inventories" and think "Oh cool." and would go and do it.