So I have a click event attached to one of my objects so that when it is clicked, a message box shows up. Here is the code for that
import bge import ctypes #.... detect the click ctypes.windll.user32.MessageBoxA(0, "Your text", "Your title", 1)
Anyway, this is the type of functionality I want but I want to be able to have the user input a value in a textbox, click “Ok”, and then send that back to the bge.
Is this even possible? I thought that using tkinter would work for this, but I read that tkinter isn’t included with blender’s python bundle, so how would I get tkinter installed to blender?
Or, if there is a better way I can get input into the bge from some sort of simple gui form, please let me know.