extruded char sprites

Signed-off-by: Pascal Syma <pascal@syma.dev>
This commit is contained in:
2020-07-14 16:37:21 +02:00
parent 0c53d2a2d8
commit 4edf8453d1
6 changed files with 9 additions and 7 deletions
+4 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020. Pascal Syma <pascal@syma.dev>
* Copyright (c) 2020. Antonio Martinez Casadesus and Pascal Syma.
* All rights reserved.
*/
@@ -46,7 +46,9 @@ export default class Menu extends Phaser.Scene {
this.textures.addSpriteSheet('char', this.textures.get('char' + options.key).getSourceImage(), {
frameWidth: 79,
frameHeight: 63
frameHeight: 63,
margin: 1,
spacing: 2
});
this.scene.start('Game');