background resizing
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 772 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 637 B After Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 636 B After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 788 B |
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 642 B After Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 642 B After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 776 B |
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 788 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 776 B |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 636 B After Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 788 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 637 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 790 B |
@ -130,8 +130,8 @@ export default class BattleScene extends Phaser.Scene {
|
|||||||
public pbTrayEnemy: PokeballTray;
|
public pbTrayEnemy: PokeballTray;
|
||||||
public abilityBar: AbilityBar;
|
public abilityBar: AbilityBar;
|
||||||
public partyExpBar: PartyExpBar;
|
public partyExpBar: PartyExpBar;
|
||||||
public arenaBg: Phaser.GameObjects.NineSlice;
|
public arenaBg: Phaser.GameObjects.Sprite;
|
||||||
public arenaBgTransition: Phaser.GameObjects.NineSlice;
|
public arenaBgTransition: Phaser.GameObjects.Sprite;
|
||||||
public arenaPlayer: ArenaBase;
|
public arenaPlayer: ArenaBase;
|
||||||
public arenaPlayerTransition: ArenaBase;
|
public arenaPlayerTransition: ArenaBase;
|
||||||
public arenaEnemy: ArenaBase;
|
public arenaEnemy: ArenaBase;
|
||||||
@ -506,8 +506,8 @@ export default class BattleScene extends Phaser.Scene {
|
|||||||
}
|
}
|
||||||
|
|
||||||
launchBattle() {
|
launchBattle() {
|
||||||
this.arenaBg = this.add.nineslice(0, 0, 'plains_bg', null, 320, 180, 0, 0, 132, 0);
|
this.arenaBg = this.add.sprite(0, 0, 'plains_bg');
|
||||||
this.arenaBgTransition = this.add.nineslice(0, 0, 'plains_bg', null, 320, 180, 0, 0, 132, 0);
|
this.arenaBgTransition = this.add.sprite(0, 0, 'plains_bg');
|
||||||
|
|
||||||
[ this.arenaBgTransition, this.arenaBg ].forEach(a => {
|
[ this.arenaBgTransition, this.arenaBg ].forEach(a => {
|
||||||
a.setPipeline(this.fieldSpritePipeline);
|
a.setPipeline(this.fieldSpritePipeline);
|
||||||
|