Game Development Community

How do I allow the player to type numbers in TGB?

by Janna TM · in Technical Issues · 07/03/2009 (7:16 am) · 3 replies

Hey,

I have a problem when building my game. I'm designing a math-type game, but can't seem to figure out how to allow the player to type an answer.

The idea is to let the player click a bubble that is floating up with a math problem inside (say 4*6). The answer should then by typed in the bubble (even though an answer bar at the bottom of the screen might be an option as well). If the answer is correct, the bubble should 'pop'. If incorrect, nothing should happen.

It would be great to hear your input on how to do this.
THANKS!

#1
07/03/2009 (8:02 am)
GuiTextEditCtrl
#2
07/03/2009 (8:21 am)
Thank you, Ian. I found it in the GUI Builder. Do you think you could give me some instructions on which variables to put in etc? (if that's relevant at all).
#3
07/03/2009 (8:23 am)
$myTextIWishToEvaluate