DylanD Posted July 27, 2018 Share Posted July 27, 2018 Hello everyone! My playground: https://playground.babylonjs.com/#0T2P7I Description: I have a score and when the score gets too high(around 1000) the screen cuts it off... Question: I was wondering if there was and easy way to keep all the text on the screen. Comments: Any ideas? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 27, 2018 Share Posted July 27, 2018 Why not using alignments instead of negative percentage? https://playground.babylonjs.com/#0T2P7I#1 Quote Link to comment Share on other sites More sharing options...
DylanD Posted July 27, 2018 Author Share Posted July 27, 2018 8 minutes ago, Deltakosh said: Why not using alignments instead of negative percentage? https://playground.babylonjs.com/#0T2P7I#1 Well I have another Gui image between the edge of the screen and the text that I would want to overlap as well, could I use the alignment plus the percentages to do that ? ? Quote Link to comment Share on other sites More sharing options...
DylanD Posted July 27, 2018 Author Share Posted July 27, 2018 https://playground.babylonjs.com/#0T2P7I#2 Like this I think will work. Thanks DK! Quote Link to comment Share on other sites More sharing options...
DylanD Posted July 27, 2018 Author Share Posted July 27, 2018 I actually didn't know textHorizontalAlignent was a thing I actually thought you just meant the regular Horizontal alignment. This works great! thanks again! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 27, 2018 Share Posted July 27, 2018 As always: my pleasure DylanD 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.