I download a new font for the game, and after i build it the font on the phone doesn't appear.
Develop games in your browser. Powerful, performant & highly capable.
If your phone doesn't have the font installed it can't use it unless you add it to your capx and load it as if it were a webfont..
Here's a tutorial to do just that:
https://www.scirra.com/tutorials/237/ho ... -web-fonts
I would opt for using spritefont instead of the text-object though if at all possible..
Yep, I only use ttf fonts for debugging displays.
LittleStain So, i must add the fonts to the .capx to work on mobile?
LittleStain i have these fonts and it says that they are corrupt.
http://kenney.nl/assets/kenney-fonts
What is this "it" that says they are corrupt?
The way to add your own fonts is to follow the tutorial, but like I said, using the spritefont-object instead of text-object would probably be a lot better, especially for use on mobiles..
LittleStain
i finished the tutorial but it puts me another font not that, i don't know....
LittleStain i finished the tutorial but it puts me another font not that, i don't know....
You might want to look at the fixing bugs part of this tutorial
https://www.scirra.com/tutorials/800/th ... s-tutorial
tried today on the mobile.
I did exactly but it don't appeat anyway i will not use fonts anymore.
Thank for your time.
can u help me a little bit more?
so i made a portrait game but i had a "blank" space up and down on the phone.
I put in XDK full screen and portrait and the project is build in 480x640.
any suggestions how to fill that blak blank space ?
Thank you soo much!