Submissions by Papiertig0r tagged container

A submission for Daily Gamedev

I am now the unquestioned leader of the gamedev streak!
Kneel before me! /maniacal laughter

Anyhow, it is now possible to take out items of containers :)

See the changes:
https://github.com/Papiertig0r/Alchemy/commit/79a39fa5ee95054129e1713a3e2380b115736eca

I was already in bed when I remembered that I hadn't done gamedeving today. I thought maybe I could let it slide, but I couldn't. Then I wanted to fake an entry but I couldn't do that either, so I decided to actually do some work! I didn't feel like pixeling so I thought why not spend half an hour on selecting container slots - and it was pretty easy to get the system up and running.

I have an idea for tomorrow to make it even slicker :)

changes:
https://github.com/Papiertig0r/Alchemy/commit/bd3692c6d0496d05e2b8887cf0372eaa3ab2f07f

Yesterday I came down with the flu - and it came down hard. But still I managed to squeeze in half an hour of gamedeving.

Container Selector now gets properly resized and if you selected one container you cannot scroll through others, yay.

see the changes:
https://github.com/Papiertig0r/Alchemy/commit/d259bcda0e67e03e4d8fe1e4d90936ac65ed653f

I added a list of active ui elements. inventory uis now register with that ui and you can switch between active ui elements with RB and LB. Soon you can take things out of a container or put them back :D

I really really really should rework the inventory and inventory ui system - sooner or later it will crash on me if I don't

anyhow, container can now be prefilled with items and these get displayed, yay!

I begun implementing container.
For that I had to refactor inventory and inventory UI system and I have to say:
I am not displeased. (Also, I'm watching a lot of Silicon Valley, love Peter Gregory :D )

The container UI has an item pool for the item slots, which is very neat (only if a new container has more slots than any previously container, new ones will be generated. If there are less slots, inactive ones will be deactivated)

changes:
https://github.com/Papiertig0r/Alchemy/commit/27d4c1bddea53e3ab6703bb45302f88e7c33fc46