I’m developing a game same mario, i does’nt have real device, so can i use keyboard on mac ?
Anybody help me
You have to add a keyboard dispatcher.
Check this pull request: https://github.com/cocos2d/cocos2d-x/pull/1848
I don’t know why it was never merged into the master branch.