kittykatattack / learningPixi

A step-by-step introduction to making games and interactive media with the Pixi.js rendering engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use app.renderer.view rather than app.view.

yibo-liang opened this issue · comments

In the part :
Creating the Pixi Application and stage

the line with
document.body.appendChild(app.view);
is not working,
as a newby to this, I dig into the app object, and realised it should be
.appendChild(app.renderer.view);