add a new mascot

This commit is contained in:
uenome 2021-01-13 14:10:11 +09:00
parent 94fd2d36c5
commit 0206085f13
2 changed files with 5 additions and 2 deletions

BIN
img/mimmy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -1340,9 +1340,12 @@ const ugj_canvasImg = imgSrc => {
let ctx = el.getContext('2d');
let img = new Image();
img.src = imgSrc;
img.onload = () => ctx.drawImage(img, 120, 0);
img.onload = () => ctx.drawImage(img, 140, 80);
// img.onload = () => ctx.drawImage(img, 120, 0);
};
ugj_canvasImg("./img/cogechee.png?" + new Date().getTime()); // 描画実行
// マスコット
ugj_canvasImg("./img/mimmy.png?" + new Date().getTime()); // ミミィ
// ugj_canvasImg("./img/cogechee.png?" + new Date().getTime()); // こげちー
// HTML部品のインスタンス - 画面上の必要な部品はすべてここで取得しておく
ugjel_displayArea = document.getElementById('display_area'); // ディスプレイ部