Warehouse system summary
- Divided into 4 modules: GamePlay core (blue), UI module (pink), scene interaction module (green), tool module (yellow)
- Each module is independent of each other and uses extensive use of data tables, interfaces, reflection, and event decoupling.
- Assets are loaded at runtime, using asset management tools, synchronously or asynchronously while the asset is in use
- The project has good scalability. Due to clear decoupling, there is no need to delete the original code in the extension program. You only need to create a new type and add it to the data table.
- Use the MVC framework to achieve separation of front-end and back-end data, as well as separation of back-end data modification and data storage.
the data shows
data file:
- Game.ini: Record which navigation buttons are enabled, what backpack type is enabled, and what item grid style is enabled
Data table functions:
- NavButtonAttrs_DT: records the basic information and generated events of all navigation buttons
- ItemTipBorderAttr_DT: Record all items that can display prompt windows, as well as item corresponding information
- ItemOnGroundAttrs_DT: records all items that can appear on the ground, as well as corresponding Mesh and Actor types and other information
- BagWidgetType1Attrs_DT: records all types of UI information of the backpack Type1 type
- BagGridWidgetType1Attrs_DT: Record the items that can exist in the backpack, each item has a unique style
screenshot
Notice
Saved at https://github.com/Bioinformatics2020/InventorySystem
formatics2020/InventorySystem
InventorySystom\Content\LPSDeluxe2TropicalEnvironment\ExampleMaps has been compressed and needs to be decompressed after downloading