gohud

Telling the player something

← Widgets

GoNotice — snackbar

It never intercepts input. A notice is read, not pressed. It takes no focus, does not block game input, and the button beneath it still presses. When confirmation is needed use GoDialogs; when a choice is needed, GoPromptCard.

GoPromptCard — a question that does not block

Floats at one side with no scrim. The game keeps running.

GoCoachMark — guided tour

Points at real controls one at a time. Only the card takes input, so pressing the highlighted control itself advances the tour — "press here" becomes an action rather than a sentence.

tour.start([
    {"target": bag_button, "title": "Bag", "body": "Everything you pick up lands here."},
    {"target": map_button, "title": "Map", "body": "Press to open the full map."},
])

title and body may be translation keys or plain text. A step whose target has disappeared is skipped.