puppetcombo
patreon
MCM - Items and Inventory
🕑 Added 2017-07-07 20:05:28 +0000 UTC Here's what I've been doing for most of the past week and a half. Thankfully I had a lot of code for all this already and actually had most of these mechanics working in other projects (like the MCM prototype) but I did some major refactoring and streamlining of the code.- Pistol works well in third and first person
- Can be reloaded in game and through the menu
- The flashlight has a handheld mode so you can point it directly and a clip on mode so you can use other weapons with it.
- I added an inventory toggle button so you can equip items without using the menu. You can also drop the equipped item with a button press.
- Some items can be equipped long term. For example, the compass. You can turn it on and leave it while you use other items. This will also be useful with light and sound meters in future games
So those are the main features so far. It probably sounds mundane but coding all the little edge cases can get really complicated.
* The hammer icon needs an update
* Bug near the end where the whole inventory gets wiped out :( think I've fixed it since recording this though
* the audio mixing is probably off. I'm going to fix that later