These are chat archives for pixijs/pixi.js
Hello, everybody! I'm trying to wrap my head around the RenderTexture concept.
I've checked the example at the RenderTexture documentation but failed to make it work in a jsfiddle. I then looked towards the examples; that's when I saw that my idea was totally different than what it actually does.
The thing I'm trying to achieve is: when I load a game level I want to create the background plane and currently, because I didn't manage to get RenderTexture to work, I worked around it by creating an HTML5 canvas, drawing the full map on it and then creating a Sprite with a
NaNand therefore the transform is filled with
Math.piwhich is undefined. Changing it to
Math.PIfixes your issue.