Uploading Texts to Projects

In my project, I’m trying to upload a text for my menu, but whenever I try to, it doesn’t work. I’m using a TTF type file…what text file types does playcanvas support?

Hello, from my LITTLE experience i have seen that people usually do that or with code or with an image(splash), you can see that in several projects as https://playcanvas.com/project/349734/overview/multiplayer-block-builder or https://playcanvas.com/project/354594/overview/diplwmatiki_castalia but i hope someone with more experience will give more details

You can upload .TXT, .XML or .JSON files.

An example of using JSON in a project is here:

https://playcanvas.com/project/357921/overview/howto-read-json

Ok thanks! I was just confused :stuck_out_tongue:

I have a slight problem though…all the texts/fonts I’m finding on the internet are all .ttf files…is there any way to convert them?

If you want to use a particular TTF font to do UI text, you might be interested to check out this project on GitHub. It’s what I used to do this UI in Hungry Beast.