ZSAInfProject / PozaziemscyZaborcy

Space Invaders clone
3 stars 0 forks source link

Dynamic content loader #10

Open Bravo555 opened 6 years ago

Bravo555 commented 6 years ago

Make a dynamic content loader. Needs to be able to hotswap resources and decrypt downloadable content (dlc).

Bravo555 commented 6 years ago

Feature spec

Parts

DLC format

.dlc files in dlc directory will actually be .zip files, locked with a password. In the archive itself, there will be texture files, and dlc.json file, with a following format:

{
    "textures": {
        "enemyShip": "path/to/enemy_texture.png",
        "playerShip": "path/to/player_texture.png"
    },
    "music": [
        "path1.mp3", "path2.mp3", "path3.mp3"
    ]
}

PozaziemscyZaborcy-dlc-bin will be used to convert directory with dlcs files to a prepared dlc archive and vice versa. (mainly for development and debugging purposes).