kid_karma Posted December 5, 2013 Share Posted December 5, 2013 How can I make subscript or superscript in a PIXI.Text object? I've tried: var txt1 = new PIXI.Text("1<sup>st</sup>");var str = "nd";var txt2 = new PIXI.Text("2"+str.sup()); Result: "1<sup>st</sup>""2<sup>nd</sup>" 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.