examples icon indicating copy to clipboard operation
examples copied to clipboard

Invalid comment in CacheAsBitmap example

Open jkukuryk opened this issue 3 years ago • 0 comments

At line 62 in /examples/?v=v6.0.4#/demos-basic/cacheAsBitmap.js there are a comment:

    // var sprite = new PIXI.Sprite(alienContainer.generateTexture());
    // app.stage.addChild(sprite);
    // sprite.x = Math.random() * 800;
    // sprite.y = Math.random() * 600;

PIXI.Container.generateTexture - is not a function - example failed on PIXI 6.0.4

jkukuryk avatar Jun 08 '21 19:06 jkukuryk