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
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
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);
let elapsed = 0.0;