mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 09:02:47 +02:00
[UI/UX] Move Pokémon sprite below name and other text in starter select (#5714)
Moving the sprite down
This commit is contained in:
parent
a036f865f0
commit
423bab1057
@ -596,6 +596,13 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
this.iconAnimHandler = new PokemonIconAnimHandler();
|
this.iconAnimHandler = new PokemonIconAnimHandler();
|
||||||
this.iconAnimHandler.setup();
|
this.iconAnimHandler.setup();
|
||||||
|
|
||||||
|
this.pokemonSprite = globalScene.add.sprite(53, 63, "pkmn__sub");
|
||||||
|
this.pokemonSprite.setPipeline(globalScene.spritePipeline, {
|
||||||
|
tone: [0.0, 0.0, 0.0, 0.0],
|
||||||
|
ignoreTimeTint: true,
|
||||||
|
});
|
||||||
|
this.starterSelectContainer.add(this.pokemonSprite);
|
||||||
|
|
||||||
this.pokemonNumberText = addTextObject(17, 1, "0000", TextStyle.SUMMARY);
|
this.pokemonNumberText = addTextObject(17, 1, "0000", TextStyle.SUMMARY);
|
||||||
this.pokemonNumberText.setOrigin(0, 0);
|
this.pokemonNumberText.setOrigin(0, 0);
|
||||||
this.starterSelectContainer.add(this.pokemonNumberText);
|
this.starterSelectContainer.add(this.pokemonNumberText);
|
||||||
@ -825,13 +832,6 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
return icon;
|
return icon;
|
||||||
});
|
});
|
||||||
|
|
||||||
this.pokemonSprite = globalScene.add.sprite(53, 63, "pkmn__sub");
|
|
||||||
this.pokemonSprite.setPipeline(globalScene.spritePipeline, {
|
|
||||||
tone: [0.0, 0.0, 0.0, 0.0],
|
|
||||||
ignoreTimeTint: true,
|
|
||||||
});
|
|
||||||
this.starterSelectContainer.add(this.pokemonSprite);
|
|
||||||
|
|
||||||
this.type1Icon = globalScene.add.sprite(8, 98, getLocalizedSpriteKey("types"));
|
this.type1Icon = globalScene.add.sprite(8, 98, getLocalizedSpriteKey("types"));
|
||||||
this.type1Icon.setScale(0.5);
|
this.type1Icon.setScale(0.5);
|
||||||
this.type1Icon.setOrigin(0, 0);
|
this.type1Icon.setOrigin(0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user