Adjust BG
This commit is contained in:
parent
6707ca89a7
commit
ec49a8f95e
2 changed files with 2 additions and 2 deletions
BIN
chara.png
BIN
chara.png
Binary file not shown.
Before Width: | Height: | Size: 421 KiB After Width: | Height: | Size: 466 KiB |
|
@ -91,7 +91,7 @@ class CardCreator {
|
||||||
}
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
this.bgImage = await loadImage(absolute("./chara_n.png"));
|
this.bgImage = await loadImage(absolute("./chara.png"));
|
||||||
|
|
||||||
this.imgMinion = await loadImage(absolute("./minion.png"));
|
this.imgMinion = await loadImage(absolute("./minion.png"));
|
||||||
this.imgMount = await loadImage(absolute("./mount.png"));
|
this.imgMount = await loadImage(absolute("./mount.png"));
|
||||||
|
@ -196,7 +196,7 @@ class CardCreator {
|
||||||
|
|
||||||
var portrait = await loadImage(data.Character.Portrait);
|
var portrait = await loadImage(data.Character.Portrait);
|
||||||
|
|
||||||
ctx.drawImage(this.bgImage, 441, 0, 900, 600);
|
ctx.drawImage(this.bgImage, 0, 0, 900, 600);
|
||||||
|
|
||||||
ctx.drawImage(portrait, 0, 0, 441, 600);
|
ctx.drawImage(portrait, 0, 0, 441, 600);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue