These are chat archives for pixijs/pixi.js

7th
May 2015
Wesley LaFerriere
@wessles
May 07 2015 00:10
Hi
anyone here know how to set the background of a container in v3?
Ryan
@ryanmcnz
May 07 2015 01:30
I'm not sure if it's possible to do that with a Container. Perhaps add a graphics object and use that as the background?
Chad Engler
@englercj
May 07 2015 01:50
You can set the background of a renderer
with the backgroundColor property
Ryan
@ryanmcnz
May 07 2015 01:53
Is that the same for PIXI.Container? I figured that's what they were trying it with currently
Chad Engler
@englercj
May 07 2015 01:56
I figured they were using backgroundColor with stage in v2, and were upgrading to v3 and wondering how to set background color now that there is no stage
the answer to which, is to use the backgroundColor property on the renderer.
Ryan
@ryanmcnz
May 07 2015 01:57
Ah yes good point :)
Chad Engler
@englercj
May 07 2015 01:57
Since I announced everywhere else but here, I am writing a book for pixi.js that I hope people will enjoy
I encourage everyone to sign up for notifications as the book comes along
Ryan
@ryanmcnz
May 07 2015 01:59
Ooo nice! I shall sign up to that right now. Thanks for being awesome