TheOldCounty Posted July 23, 2014 Share Posted July 23, 2014 I am working on a game - and the design requires the font to use "italic light" and also have an outline gradient blue and transparent. http://jsfiddle.net/N476t/10/ I've recreated this example in jsfiddle with arial. I'm adding in a score at the end of this pixijs game. I have the standard parameters here - but the design calls for an outerglow around the letters is there a way to do this?http://www.goodboydigital.com/pixijs/docs/classes/Text.htmlthis.txtRankingOverall = new PIXI.Text("" + GameControl.score, {font: "120px FSJoeyLtIt",fill: "#ffffff",align: "center"});I'm also having issues trying to match the font - it needs to be italic lightthis.txtRankingToday = new PIXI.Text("46", {font: "italic 120px FSJoeyLtIt",fill: "#ffffff",align: "center",style: "light"});javascript Quote Link to comment Share on other sites More sharing options...
d13 Posted July 23, 2014 Share Posted July 23, 2014 Hello, You might want to try using a bitmap font: http://www.goodboydigital.com/text-updates/http://www.goodboydigital.com/pixijs/docs/classes/BitmapText.html It's a bit more work but bitmap fonts give you very precise control over the visual design of the font. There might be another way to do what you looking for without bitmap fonts that I don't know about.If there is, hopefully someone out there reading this can explain it to us 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.