https particles
This commit is contained in:
parent
b3823388ba
commit
ba1e909d89
@ -19,12 +19,12 @@ class Combat extends Phaser.Scene {
|
|||||||
if (!(this.textures.getTextureKeys().length > 0)) {
|
if (!(this.textures.getTextureKeys().length > 0)) {
|
||||||
this.textures.addBase64('alk', `data:image/png;base64,${new Buffer.from(fs.readFileSync('./assets/alakazam-f.png')).toString('base64')}`);
|
this.textures.addBase64('alk', `data:image/png;base64,${new Buffer.from(fs.readFileSync('./assets/alakazam-f.png')).toString('base64')}`);
|
||||||
this.textures.addBase64('magmar', `data:image/png;base64,${new Buffer.from(fs.readFileSync('./assets/magmar.png')).toString('base64')}`);
|
this.textures.addBase64('magmar', `data:image/png;base64,${new Buffer.from(fs.readFileSync('./assets/magmar.png')).toString('base64')}`);
|
||||||
this.load.image('proj', 'http://labs.phaser.io/assets/sprites/bullet.png');
|
this.load.image('proj', 'https://labs.phaser.io/assets/sprites/bullet.png');
|
||||||
this.load.image('blue', 'http://labs.phaser.io/assets/particles/blue.png');
|
this.load.image('blue', 'https://labs.phaser.io/assets/particles/blue.png');
|
||||||
this.load.image('green', 'http://labs.phaser.io/assets/particles/green.png');
|
this.load.image('green', 'https://labs.phaser.io/assets/particles/green.png');
|
||||||
this.load.image('red', 'http://labs.phaser.io/assets/particles/red.png');
|
this.load.image('red', 'https://labs.phaser.io/assets/particles/red.png');
|
||||||
this.load.image('white', 'http://labs.phaser.io/assets/particles/white.png');
|
this.load.image('white', 'https://labs.phaser.io/assets/particles/white.png');
|
||||||
this.load.image('yellow', 'http://labs.phaser.io/assets/particles/yellow.png');
|
this.load.image('yellow', 'https://labs.phaser.io/assets/particles/yellow.png');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user