mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 20:07:08 +00:00
Added example multi image load
This commit is contained in:
parent
661f9fd29e
commit
9155149012
1 changed files with 13 additions and 0 deletions
|
@ -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' });
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue