Game Development Community

onscreen keyboard?

by Dave Young · in iTorque 2D · 01/23/2009 (12:22 pm) · 8 replies

I just realized I can't seem to find an onscreen keyboard. Is this something that wasn't included in iTGB?

#1
01/23/2009 (12:38 pm)
correct. no keyboard.
#2
01/23/2009 (12:45 pm)
OK, so it's pretty pointless to try and have a high score feature, or I will need to build the GUI from scratch.

That's going to stink, this is something that really should have been included!!
#3
01/23/2009 (12:55 pm)
I also wanted to do high-score and thought about building a keyboard myself. Then I realized that I should spend more time on gameplay, less on gui's.
#4
01/23/2009 (1:05 pm)
this could be done quite easily though. I'd just create gfx buttons for the alphabet (A-Z, 0-9) and every time someone presses a button you could just add that character to a global value $highscore_name (for instance) and display that global value as a text. Just a thought.
#5
01/23/2009 (6:21 pm)
It took me about a day to do it in script: vimeo.com/2512396
#6
01/23/2009 (6:56 pm)
I thought about how to do it in script on the ride home, it won't be as bad as I thought, I was just initially annoyed, I would've thought something like that would be done for $500.
#7
02/01/2009 (1:53 pm)
Conor, nice implementation there with your keyboard. Sadly doing something like that will only work for English language.

iTorque should really supply a way of bringing up the embedded keyboard from the Cocoa layer, so then we wouldn't have to worry about localization. This is something I'm attempting to figure out as we speak.