Page 1 of 1

Display Controller Glyph In-Line

Posted: Wed Jun 14, 2023 12:10 pm
by TrisagionGames
Piggybacking off this thread: https://pixelcrushers.com/phpbb/viewtop ... ton#p38787, I was wondering if it was possible to display a controller glyph in-line?

E.g.: "Press [A] to Jump", which could dynamically change to "Press [Space] to Jump" if player switched to keyboard.

The dynamic changing I know was covered in the thread above, but not displaying glyphs in-line (that I could tell).

Thanks for your help!

Re: Display Controller Glyph In-Line

Posted: Wed Jun 14, 2023 2:32 pm
by Tony Li
Hi,

Are your [A] and [Space] glyphs intended to be images? If so, use TextMesh Pro and <sprite> tags.

Re: Display Controller Glyph In-Line

Posted: Wed Jun 14, 2023 2:40 pm
by TrisagionGames
Yes that is correct, thank you!

Re: Display Controller Glyph In-Line

Posted: Wed Jun 14, 2023 2:48 pm
by Tony Li
Glad to help! BTW, to enable the Dialogue System's support for TextMesh Pro, see here.