mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-22 07:39:49 +00:00
add a new mascot
This commit is contained in:
parent
94fd2d36c5
commit
0206085f13
BIN
img/mimmy.png
Normal file
BIN
img/mimmy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
@ -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'); // ディスプレイ部
|
||||
|
Loading…
Reference in New Issue
Block a user