mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
ui changes
This commit is contained in:
parent
06dd3822c6
commit
92a3ad1105
BIN
public/images/ui/egg_summary_bg.aseprite
Normal file
BIN
public/images/ui/egg_summary_bg.aseprite
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.8 KiB |
@ -45,7 +45,7 @@ export default class PokemonHatchInfoContainer extends PokemonInfoContainer {
|
||||
this.pokemonNameText.setOrigin(0, 0);
|
||||
this.pokemonListContainer.add(this.pokemonNameText);
|
||||
|
||||
this.pokemonHatchedIcon = this.scene.add.sprite(-2, 90, "egg_icons");
|
||||
this.pokemonHatchedIcon = this.scene.add.sprite(-5, 90, "egg_icons");
|
||||
this.pokemonHatchedIcon.setOrigin(0, 0.2);
|
||||
this.pokemonHatchedIcon.setScale(0.8);
|
||||
this.pokemonListContainer.add(this.pokemonHatchedIcon);
|
||||
@ -63,7 +63,7 @@ export default class PokemonHatchInfoContainer extends PokemonInfoContainer {
|
||||
this.pokemonEggMovesContainer.add(eggMovesLabel);
|
||||
|
||||
for (let m = 0; m < 4; m++) {
|
||||
const eggMoveContainer = this.scene.add.container(0, 7 + 5.25 * m);
|
||||
const eggMoveContainer = this.scene.add.container(0, 0 + 6 * m);
|
||||
|
||||
const eggMoveBg = this.scene.add.nineslice(70, 0, "type_bgs", "unknown", 92, 14, 2, 2, 2, 2);
|
||||
eggMoveBg.setOrigin(1, 0);
|
||||
@ -78,7 +78,7 @@ export default class PokemonHatchInfoContainer extends PokemonInfoContainer {
|
||||
|
||||
eggMoveContainer.add(eggMoveBg);
|
||||
eggMoveContainer.add(eggMoveLabel);
|
||||
eggMoveContainer.setScale(0.375);
|
||||
eggMoveContainer.setScale(0.44);
|
||||
|
||||
this.pokemonEggMoveContainers.push(eggMoveContainer);
|
||||
|
||||
|
@ -386,8 +386,8 @@ export default class PokemonInfoContainer extends Phaser.GameObjects.Container {
|
||||
// const infoContainerTextSize = textSettings?.infoContainerTextSize || "64px";
|
||||
|
||||
|
||||
this.pokemonGenderText.setPosition(87, -2);
|
||||
this.pokemonGenderNewText.setPosition(77, -2);
|
||||
this.pokemonGenderText.setPosition(89, -2);
|
||||
this.pokemonGenderNewText.setPosition(79, -2);
|
||||
this.pokemonShinyIcon.setPosition(82, 87);
|
||||
this.pokemonShinyNewIcon.setPosition(72, 87);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user