#How to add tooltips into dialogue?

5 messages · Page 1 of 1 (latest)

strong solstice
#

The game Pathfinder: Wrath of the Righteous has a lot of lore to draw in the game, and I am not familiar with the previous game or with Pathfinder lore, but I played this game on its own just fine.

It has a feature in it where, during some dialogue, words may be highlighted and hovering over them will provide info on the highlighted subject (and perhaps its relevance to the conversation). I like the feature as a way to give players the choice in investigating the worldbuilding, without forcing a character that should know these things to ask about possibly basic worldbuilding.

I haven't gotten to making dialogue interaction in my project yet, so I wanted some suggestions on how to go about this before I get there.

modern oar
#

as a super easy option:

modern oar
#

for a more customizable solution, you should look at this old stack overflow answer, which goes over how you can be informed of the hover with some context data and freely do with that whatever you want (allowing for a much more complex hover popup, or special reactions on click, etc) https://stackoverflow.com/questions/77208994/is-there-a-way-to-detect-mouseover-over-specific-words-in-richtextlabel-or-any#