Search the Community
Showing results for tags 'fontsize'.
-
Hi all, Im working on a responsive game using Phaser 3 and i having issue with the text font size in some devices. Is there any way to auto size the text , so it looks the same in all mobiles devices. Any suggestions / references regarding this subject would be really useful. Thanks in advance.
-
- fontsize
- phaser text
-
(and 1 more)
Tagged with:
-
Refer to the link below, it looks like that the fatness of the font will be impacted by the width & height of the plain mesh. This is not what I expected. Actually I want the font be rendered normally no matter what the mesh size is. Is there way to fix this issue? How to calculate an appropriate size to make the font look better? https://www.babylonjs-playground.com/#YFRMAK#11 Solution: https://www.babylonjs-playground.com/#YFRMAK#15
- 3 replies
-
- advanceddynamictexture
- gui
-
(and 3 more)
Tagged with:
-
I have tried the following code. But when I increase the number of px, it stays the same size. text = game.add.text(16, 16, level, { fontSize: '32px', fill: '#ecf0f1' });any ideas on how to fix this?