Added example multi image load

This commit is contained in:
iamchristopher 2018-04-05 20:15:56 -04:00
parent 661f9fd29e
commit 9155149012

View file

@ -45,6 +45,19 @@ var ImageFile = new Class({
// headerValue: 'text/xml'
// }
// });
// this.load.image([
// {
// key: 'bunny',
// file: 'assets/sprites/bunny.png',
// xhr: {
// user: 'root',
// password: 'th3G1bs0n',
// timeout: 30,
// header: 'Content-Type',
// headerValue: 'text/xml'
// }
// }
// ]);
// this.load.image({ key: 'bunny' });
// this.load.image({ key: 'bunny', extension: 'jpg' });