Looking for keyboard tutorial

Discussion in 'Public Game Developers Forum' started by Charybdis, Jun 22, 2011.

  1. Charybdis

    Charybdis Well-Known Member

    Apr 2, 2011
    281
    1
    0
    Programmer
    Kyoto, Japan
    Hi there
    I am looking to add keyboard functionality to a OpenGLES game. My engine uses my own library for fonts and buttons and stuff, but I want to use the built in keyboard for inputting the player's name.
    I have seen this done several times before, such as in TinyWings.
    Does anyone know where to find a good tutorial on this. I had a look around but couldn't find anything appropriate.
    Cheers
     
  2. pchukwura

    pchukwura Well-Known Member

    Sep 15, 2010
    184
    0
    0
    Co-Founder/Software Engineer
    Atlanta
    According to 'Learning iOS Game Programming:...' (which i believe was a source of learning for Tiny Wings developer http://www.71squared.com/2011/02/tiny-wings-readers-games/)) it seems like they simply use a UITextField where they want text input. This seems like it would be the easiest route to go.

    Since text input isn't going to occur during gameplay and usually happens on a static screen on a menu or whatever, i don't think you have to worry too much about mixing UIKit and OpenGL ES (which I try to avoid at all costs).

    My quick search couldn't find anything on displaying the keyboard by itself.
     

Share This Page