mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 00:36:25 +00:00
[UI][Misc] Rename Space to Action in voucher/achv menu (#3982)
* Changing only achvs-ui-handler for now * Add ACTION sprite --------- Co-authored-by: frutescens <info@laptop> Co-authored-by: chaosgrimmon <31082757+chaosgrimmon@users.noreply.github.com>
This commit is contained in:
parent
e9998fcc16
commit
ce5a92325c
@ -583,6 +583,14 @@
|
|||||||
"trimmed": false,
|
"trimmed": false,
|
||||||
"spriteSourceSize": {"x":0,"y":0,"w":12,"h":12},
|
"spriteSourceSize": {"x":0,"y":0,"w":12,"h":12},
|
||||||
"sourceSize": {"w":12,"h":12}
|
"sourceSize": {"w":12,"h":12}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "ACTION.png",
|
||||||
|
"frame": {"x":1018,"y":0,"w":28,"h":12},
|
||||||
|
"rotated": false,
|
||||||
|
"trimmed": false,
|
||||||
|
"spriteSourceSize": {"x":0,"y":0,"w":28,"h":12},
|
||||||
|
"sourceSize": {"w":28,"h":12}
|
||||||
}],
|
}],
|
||||||
"meta": {
|
"meta": {
|
||||||
"app": "https://www.codeandweb.com/texturepacker",
|
"app": "https://www.codeandweb.com/texturepacker",
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.1 KiB |
@ -74,7 +74,7 @@ export default class AchvsUiHandler extends MessageUiHandler {
|
|||||||
this.headerText = addTextObject(this.scene, 0, 0, "", TextStyle.SETTINGS_LABEL);
|
this.headerText = addTextObject(this.scene, 0, 0, "", TextStyle.SETTINGS_LABEL);
|
||||||
this.headerText.setOrigin(0, 0);
|
this.headerText.setOrigin(0, 0);
|
||||||
this.headerText.setPositionRelative(this.headerBg, 8, 4);
|
this.headerText.setPositionRelative(this.headerBg, 8, 4);
|
||||||
this.headerActionButton = new Phaser.GameObjects.Sprite(this.scene, 0, 0, "keyboard", "SPACE.png");
|
this.headerActionButton = new Phaser.GameObjects.Sprite(this.scene, 0, 0, "keyboard", "ACTION.png");
|
||||||
this.headerActionButton.setOrigin(0, 0);
|
this.headerActionButton.setOrigin(0, 0);
|
||||||
this.headerActionButton.setPositionRelative(this.headerBg, 236, 6);
|
this.headerActionButton.setPositionRelative(this.headerBg, 236, 6);
|
||||||
this.headerActionText = addTextObject(this.scene, 0, 0, "", TextStyle.WINDOW, {fontSize:"60px"});
|
this.headerActionText = addTextObject(this.scene, 0, 0, "", TextStyle.WINDOW, {fontSize:"60px"});
|
||||||
|
Loading…
Reference in New Issue
Block a user