I’m working on the inventory and items system based on C++.
Scheme:
Features:
- Each ItemBase has it’s own ItemData;
- ItemData receives data from the SQLite database (how to use SQLite);
- Easy to use.
How it works:
- To add item on your level all you have to do is to place ItemBase on your level and set it’s ID.
Based on the selected ID ItemData will receive data from the database.
Preview:
To create and edit the database I use DB Browser for SQLite](http://sqlitebrowser.org)