Game Development Community

Text entry? Anyone have a good implementation?

by Cosmic Logic · in Torque X 2D · 09/16/2009 (1:26 am) · 4 replies

Hey,

I'm looking for a decent text entry implementation using an xbox 360 controller. A keyboard would be easy I'm sure, but when you're on an XBOX text entry isn't that easy is it?
I just need a player to be able to name his/her team after saving the players they want on the team.

#1
09/16/2009 (5:53 pm)
Don't quote me on this, but I thought that you can call up the Xbox Keyboard widget, and then just get back the string value. I'll need to poke around for that.

John K.
www.envygames.com
#2
09/18/2009 (2:37 am)
Thanks, I'll take a look as well. Let me know if you come up with anything. :D
#3
09/18/2009 (6:01 pm)
If you are just using Xbox then yeah, use the built in one that you can open with XNA.

The only other option is to create your own screen that pops up and has the qwerty keyboard layout and you have to monitor which key the user is on and capture it. This could probably be done using the Torque GUI system and a lot of GUIButtons for each letter/number key.
#4
09/18/2009 (6:55 pm)
You'll probably want to start by checking out this page:
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.gamerservices.guide_members.aspx

Note, that the guide will be asynchronous to your code, so you must absolutely make accommodations for that(you need to check for the guide anyway, but this is a bit more, Async stuff is fun>.<)