We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
画像を選択するたびに画像が重なる問題ですが、キャンバスをつど初期化してみてはどうでしょう。 1.初期化 2.背景だけ描画 以下コード
function initializeCanvas() { ctx.clearRect(0, 0, canvas.width, canvas.height) img.src = 'img/background5.png'; img.onload = function () { ctx.drawImage(img, 0, 0, canvas.width, canvas.height); } }
The text was updated successfully, but these errors were encountered:
良さそうですね!ありがとうございます! 色々検討してみます!
Sorry, something went wrong.
retoruto-carry
No branches or pull requests
画像を選択するたびに画像が重なる問題ですが、キャンバスをつど初期化してみてはどうでしょう。
1.初期化
2.背景だけ描画
以下コード
The text was updated successfully, but these errors were encountered: