/*
 * The `assets` module
 * ===================
 *
 * Use this module to declare static Phaser Asset Packs, that would be loaded
 * using the `Loader#pack` API.
 *
 * Regarding how the game assets should be declared using this file, refer to
 * the sample `assetPack.json` included in the Phaser package, under
 * `node_modules/phaser/resources/` directory, for a more complete
 * reference.
 */

export default {
    // -- The splash screen assets, displayed during the 'Preload' state.
    boot: [{
        key: 'splash-screen',
        type: 'image'
    }, {
        key: 'progress-bar', 
        type: 'image'
    }],


    menu: [{
        key: 'sts-logo',
        url: 'images/logo-sts2.png',
        type: 'image'
    }],

    // -- General game assets
    game: [{
        key: 'phaser',
        type: 'image'
    }, {
        key: 'background',
        type: 'image',
        url: 'images/background.png'
    }, {
        key: 'blocksprite',
        type: 'image',
        url: 'images/color-block-tests2.png'
    }, {
        key: 'blockssheet',
        type: 'spritesheet', 
        url: 'images/color-block-tests2.png',
        frameWidth: 64,
        frameHeight: 64
    }, {
        key: 'selector',
        type: 'image',
        url: 'images/selector.png'
    }, {
      key: 'rotate',
      type: 'audio',
      urls: [ 'sounds/rotate2.wav' ]
    }, {
        key: 'error',
        type: 'audio',
        urls: [ 'sounds/error2.wav' ]
    }, {
        key: 'shift', 
        type: 'audio',
        urls: [ 'sounds/shift2.wav' ]
    }, {
        key: 'leftright',
        type: 'audio',
        urls: [ 'sounds/leftright2.wav' ]
    }, {
        // }, {
        //   // Example: Add background music.
        //   key: 'tune',
        //   type: 'audio',
        //   urls: [ 'tune.oga', 'tune.m4a' ]
        // }, {
        //   // Example: Add an audio sprite with some sound effects.
        //   key: 'sfx',
        //   type: 'audiosprite',
        //   urls: [ 'sfx.m4a' ],
        //   jsonURL: 'sfx.json'
    }]
};
