8Bit | :linux: :godot: :gog: :switch: on Nostr: #godotengine devs, I got a question: So I made myself some nice input prompts that ...
#godotengine devs, I got a question:
So I made myself some nice input prompts that show icons/text based on the input device and mapping.
They live in a handy scene so I can make stuff like "Press [ESC] to open menu". But so I need "Label | InputPrompt | Label". Which is fine for simple prompts - but not very flexible.
What if I just wanna add these prompt to text dynamically aka "Press %input1 to do this and %input2 to do that"? I can never wrap my head around that. Any suggestions?
Published at
2026-05-11 12:25:57 UTCEvent JSON
{
"id": "e86b48d81ca1a64f9a933d94d14489e6d73eb64f962baf91449fd1be4c9c43b3",
"pubkey": "ad4a7283879c2927e8546ae65273cfdee982acb9bc646f0014a37d61f899c484",
"created_at": 1778502357,
"kind": 1,
"tags": [
[
"t",
"godotengine"
],
[
"proxy",
"https://mastodon.gamedev.place/users/memoriesin8bit/statuses/116555930497093501",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "#godotengine devs, I got a question:\nSo I made myself some nice input prompts that show icons/text based on the input device and mapping. \n\nThey live in a handy scene so I can make stuff like \"Press [ESC] to open menu\". But so I need \"Label | InputPrompt | Label\". Which is fine for simple prompts - but not very flexible. \n\nWhat if I just wanna add these prompt to text dynamically aka \"Press %input1 to do this and %input2 to do that\"? I can never wrap my head around that. Any suggestions?",
"sig": "401fd10d3beba40e51960747b500a368a2958cb8cd62eaf930b26ab06da0766c9f765b0cdeeaf8bf2bb6d89dafc866eb2a78e3a0ffbc3a2a80a5d587c67bbeed"
}