datvm Posted May 9, 2015 Share Posted May 9, 2015 When I initialize a Text and add to Stage, everything works fine except the `fill` style. I even tried to copy the example:var text = new PIXI.Text('This is a pixi text',{font : '24px Arial', fill : 0xff1010, align : 'center'});The font is correct, but the color is always black. Is this a bug or am I doing something wrong? Quote Link to comment Share on other sites More sharing options...
clement_cvL Posted May 10, 2015 Share Posted May 10, 2015 It works with hexadecimal values in string: {fill: '#ff1010'} or with a color name :{fill: 'red'} Quote Link to comment Share on other sites More sharing options...
xerver Posted May 13, 2015 Share Posted May 13, 2015 Already reported and fixed: https://github.com/GoodBoyDigital/pixi.js/issues/1745 It will be released with v3.0.4. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.