Text font, and Button Text color combo suggestion

Adding button text in PlayCanvas has two steps, after creating the button. It would be great if this was 0 steps.

Step 1) is that you have to import a font and then assign it.

By default the text will be in an invalid state, ie there is no text shown on-screen when the user adds text.

Suggested solution, to get down towards 0 steps.

Have a default font available to import from the Store. This will make it a bit easier to add text.
To make this even easier, if the project detects a text element is added to the project, and no font exists in the project, automatically import the default font from the store.

Step 2) After doing the above step(s) manually, or if they were automated, the user will still see a white rectangle.

Suggested solution to get it to 0 steps, assuming step 1 is automated - make the button and text use two different colors.

At the moment, the button and text ( if a font is assigned ) are both using white as their color. If white is the default color of all text, make the buttons use a color that isn’t white.

If the above were implemented, adding and seeing text would take 0 additional steps!

2 Likes

Agree on the first suggestion about having a font in the store that is quick and easy to download: https://github.com/playcanvas/editor/issues/374

I don’t think having a font automatically imported is the way to go as it’s a hidden functionality. Having it in line with Ammo and Basis would be the way to go for me.

Not so sure about the button: https://github.com/playcanvas/editor/issues/375