greencoder Posted March 11, 2020 Share Posted March 11, 2020 (edited) Hello everyone, So if I use the default Text objects, every character has a drawcall for itself (I am assuming every character is considered as an image). And for system text, it seems like an object is considered as a single drawcall and not a character. For the UI based game I am working on, there are a lot of screens with a lot of texts, do you suggest to use Text or SystemText? I believe I can not have a new font for system text (probably a fixed set of fonts that I can use, and where can I find the list from? Regards GC Edited March 18, 2020 by greencoder Quote Link to comment Share on other sites More sharing options...
Stephan Posted March 11, 2020 Share Posted March 11, 2020 You could embed a webfont in your HTML page and render in as text in your game. That way you are certain the textfont is available and you can render it at every fontsize with ease. Quote Link to comment Share on other sites More sharing options...
Stephan Posted March 11, 2020 Share Posted March 11, 2020 Check this example: greencoder and Wolfsbane 1 1 Quote Link to comment Share on other sites More sharing options...
greencoder Posted March 18, 2020 Author Share Posted March 18, 2020 Wow! Thanks for this works like a charm! 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.