osx - How to detect if the A,S,D or/and W button is pressed in cocos2d-mac? -
i want move ccsprite/b2body w,a,s,d keys in cocos2d mac. how can detect if 1 of these buttons pressed? can user press multiplie keys @ simultaneous? can cocos2d mac handle multiplie keys when pressed?
thank much
check out:
- cocos2d handling events (it detects none, one, or several keys pressed @ same time)
- find key codes mac keyboard
Comments
Post a Comment