mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 08:19:33 +02:00
Actually add the images
This commit is contained in:
parent
b1379b6e63
commit
1096548b31
BIN
public/images/ui/friendship.png
Normal file
BIN
public/images/ui/friendship.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 305 B |
BIN
public/images/ui/friendship_overlay.png
Normal file
BIN
public/images/ui/friendship_overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 329 B |
BIN
public/images/ui/legacy/friendship.png
Normal file
BIN
public/images/ui/legacy/friendship.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 305 B |
BIN
public/images/ui/legacy/friendship_overlay.png
Normal file
BIN
public/images/ui/legacy/friendship_overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 329 B |
@ -46,6 +46,8 @@ export class LoadingScene extends SceneBase {
|
||||
this.loadAtlas("prompt", "ui");
|
||||
this.loadImage("candy", "ui");
|
||||
this.loadImage("candy_overlay", "ui");
|
||||
this.loadImage("friendship", "ui");
|
||||
this.loadImage("friendship_overlay", "ui");
|
||||
this.loadImage("cursor", "ui");
|
||||
this.loadImage("cursor_reverse", "ui");
|
||||
for (const wv of Utils.getEnumValues(WindowVariant)) {
|
||||
|
@ -191,15 +191,15 @@ export default class SummaryUiHandler extends UiHandler {
|
||||
this.candyCountText.setOrigin(0, 0);
|
||||
this.summaryContainer.add(this.candyCountText);
|
||||
|
||||
this.friendshipIcon = this.scene.add.sprite(13, -60, "candy");
|
||||
this.friendshipIcon = this.scene.add.sprite(13, -60, "friendship");
|
||||
this.friendshipIcon.setScale(0.8);
|
||||
this.summaryContainer.add(this.friendshipIcon);
|
||||
|
||||
this.friendshipOverlay = this.scene.add.sprite(13, -60, "candy_overlay");
|
||||
this.friendshipOverlay = this.scene.add.sprite(13, -60, "friendship_overlay");
|
||||
this.friendshipOverlay.setScale(0.8);
|
||||
this.summaryContainer.add(this.friendshipOverlay);
|
||||
|
||||
this.friendshipShadow = this.scene.add.sprite(13, -60, "candy");
|
||||
this.friendshipShadow = this.scene.add.sprite(13, -60, "friendship");
|
||||
this.friendshipShadow.setTint(0x000000);
|
||||
this.friendshipShadow.setAlpha(0.50);
|
||||
this.friendshipShadow.setScale(0.8);
|
||||
|
Loading…
Reference in New Issue
Block a user