Assets
CYBERDEViL edited this page 4 years ago

Assets

The assets consist of data, images, ~audio~ and models.

Data

Data is stored (for now) in json. The structure is defined in core/db.py which is also used for the reading and writing of the data files. If another type of storage is required (example SQLite or using the pickle module) then you have to look at core/db.py and replace that with something of your choice.

Don't worry to be editing the .json files by hand because there is a editor in the make. As usual it needs some cleanups before it gets published.

Table

All data files are somewhat like tables. Every table entry has a unique id per table.

Common structure

{
    # str : list
    '0' : ['name', 'description' .. further data]
}

Tables

For now the following tables are known:

Images

Textures and icons.

Audio

Audio isn't implemented yet.

Models

Maps, Characters and Objects.