I need a textbox in game screen where user can enter a number and submit it.
Is BGUI good enough? Or do I need to build this from scratch, like creating plane for textbox, adding mouse and keyboard sensors to it and displaying text (how should I proceed about displaying text dynamically?) ? Or is there a simpler way?
You could create a text-object and add a keyboard-sensor to it.
Add a property with the name “Text” to it.
Let it react on “All Keys”, set “Log Toggle” to your “Text”-property and “Target” to your text-property too.
You can use the property as “normal” property => read it out with python and so on.
That’s the simplest way I know.
Thank you very much. That did the job!