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:


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -