I dedicated this week to the correct implementation of the inventory and everything connected with it. In general, this month I managed to implement the main RPG elements and with the next plan to start working on the villages and return the main island and content.
1) Inventory:
- Completely redesigned inventory: code optimized and added new features.
- Fixed sorting by type: now the type button will be highlighted + fixed minor bugs.
- Added ability to drop items.
- Added a window with the properties of the object (in the future it is planned to either display the model of the object, or an icon).
- Added item selection + switch to W / S keys.
- Implemented the use of the object (depending on the type): either we equip the object (weapons, armor), or use (food).
- Implemented equipment of weapons and armor: when used, these items change the stats of the character, and will also be highlighted in green in the inventory.
2) Bugs, fixes and glitches:
- Fixed a bug with weight inventory.
- Fixed inventory size: now the slider will only appear when a certain number of items.
- Because of complaints about departures, the time system is temporarily “trimmed”.