Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Changing fonts in alert screen and for buttons?

A topic by Svantlas created Nov 19, 2023 Views: 136 Replies: 2
Viewing posts 1 to 2
(1 edit)

How do you do it? I can't access the text menu while editing them. I have seen other decks do it, so there must be a way.

Edit: Ok I found a way using  alert[source.value] and having a field named source where i write the text, but it means that I have to have a field on screen for every text message I want. Not ideal. It would be nice to be able to make it invisible.

Developer(+1)

You can make any field (or any widget, for that matter) invisible by selecting it with the Widgets tool and choosing "Widgets -> Show None" from the menu. It's also possible to position widgets outside the visible boundaries of the card, but doing so would make them a real pain to select and edit.

Buttons can only contain plain text, in a single font. You can change the font of a button (or the default font of any widget, for that matter) by selecting it with the Widgets tool and choosing "Widgets -> Font..." from the menu. If you want icons or more complicated rich text "in" a button, you can set it to "Show Transparent" and draw on the card background underneath it, or position other widgets beneath it.

Does that help?

(+1)

Yes! Thank you for your detailed answer.