Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
1,243
Widok
0
11/12/2019 5:01 pm
Topic starter
or div
1 Answer
0
11/12/2019 5:02 pm
Topic starter
import * as PIXI from 'pixi.js' var display_div = document.getElementById('display'); const app = new PIXI.Application({ width: 800, height:600, backgroundColor: 0x1099bb, resolution: window.devicePixelRatio || 1, view: display_div }); const container = new PIXI.Container(); app.stage.addChild(container);