Toddorov Posted November 10, 2020 Share Posted November 10, 2020 Hello! I am using pixi 5.3.3v and i am trying to create bitmapfont with the method 'from'. As i log the newly create font, it seems that it always creates the same set of symbols, even when i try to set chars to somethings else. The other problem is that the default created chars, does not contain any special symbols like "!,.@". Thanks. Quote Link to comment Share on other sites More sharing options...
themoonrat Posted November 10, 2020 Share Posted November 10, 2020 The docs show the correct usage parameters to be name, style, options BitmapFont.from("ExampleFont", style, { chars: BitmapFont.NUMERIC }) You have put the chars property with in the style object, when it needs to be in a new object passed in as 3rd parameter. Toddorov 1 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.