Hi! I imported a webfont but you can't set the text for form elements in properties. You need to use CSS but how can I set a webfont as font for a button, input field etc?
Develop games in your browser. Powerful, performant & highly capable.
You can't.
If you want to use webfonts for your buttons & text inputs then I suggest you write your own version of these objects.
You could also purchase plugin to simplify your work - aekiro.itch.io/proui
P.S. Truth be told I wish Construct had proper support for menus.
Thanks. Very nice plugin.
But if I can edit objects with "Set CSS" or the Browser > Load CSS actions shouldn't it be possible to load a local or external webfont too?
If I just set a font the user does not have, it will not work.
Use the 'Set CSS style' action to set "font-family" to the name of the web font.
This works for me with fonts, colours etc - just like a normal CSS change on a web page.