add backgroundColor

This commit is contained in:
Alexander Popov 2022-10-22 23:38:49 +03:00
parent 73da1dd6cb
commit e95a189e1d
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C

View File

@ -1,5 +1,9 @@
window.onload = function() { window.onload = function() {
let app = new PIXI.Application({ width: 640, height: 360 }); let app = new PIXI.Application({
width: 640,
height: 360,
backgroundColor: 0x2a2a3a,
});
document.body.appendChild(app.view); document.body.appendChild(app.view);
let elapsed = 0.0; let elapsed = 0.0;