Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3981

RenderTexture is not working in canvas base

$
0
0

I did some code here

 

this._iconSprite = GameAsset.icons[id];
        this._iconSprite.x = (this.symbolWidth - this._iconSprite.width) / 2;
        this._iconSprite.y = (this.symbolHeight - this._iconSprite.height) / 2 - offset;
        this._renderer.render(this._iconSprite, this._renderTexture, true);


Viewing all articles
Browse latest Browse all 3981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>