bapibopi Posted October 29, 2014 Share Posted October 29, 2014 I need text in my game to update every single frame.text.setText() does the trick, although it slows down the game, especially if I want to apply it to multiple objects.Is there a faster alternative that you can recommend? Quote Link to comment Share on other sites More sharing options...
alex_h Posted October 29, 2014 Share Posted October 29, 2014 Are you using bitmap fonts for this? Quote Link to comment Share on other sites More sharing options...
bapibopi Posted October 29, 2014 Author Share Posted October 29, 2014 Are you using bitmap fonts for this? Nope just plain text Quote Link to comment Share on other sites More sharing options...
alex_h Posted October 29, 2014 Share Posted October 29, 2014 I think for this use case bitmap fonts should be much faster so I would suggest giving them a try. You can generate your bitmap font source from a ttf using this online tool: http://kvazars.com/littera/ Quote Link to comment Share on other sites More sharing options...
bapibopi Posted October 29, 2014 Author Share Posted October 29, 2014 Yep, bitmap fonts seem to work much better.Thanks! 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.