Text input

Text input
0.0 0



I will need to get the player name in my game.

In some games I see a dialog for name input, has Cocos2dx some mechanism for that?

If I use CCTextFieldTTF, must I create a keyboard on screen?




take a look in the testcpp folder inside cocos2d-x files, you’ll find tests about it.


May be CCEditBox fits your need.


Yes, probably that is what I need!
Thank you.


Text input in Android using EditBox. When i click on editbox a box appears on top and text is entered on that box not in editbox. I dont want that extra box instead what text to be written inside editbox only. Can you help me with this ?