Akis Posted October 26, 2014 Share Posted October 26, 2014 Allo! For a specific project, I needed to create a lot of multi-style text. And to be honest, it's just painful to do it manually every time. So I decided to create an object to do it for me, because I don't want to do it manually anymore This one calculates the position of each group of text automatically and will save me a lot of dev time now. I called it "MultiStyleText" and the source code is available on github if you want: https://github.com/tleunen/pixi-multistyle-text I'm pretty sure there are a few bugs in there, especially with styles using different font-size. But this is a start I've released it as 0.1.0 because I'm not sure yet of the way to create it, with the 2 "styles" object. Feel free to suggest improvements on that! I put an example using the same that Mat created for Pixi.Text and here is the result: Let me know what you think. praneybehl 1 Quote Link to comment Share on other sites More sharing options...
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.