add backgroundColor
This commit is contained in:
parent
73da1dd6cb
commit
e95a189e1d
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user