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

Python __call__ special method practical example -

arrays - jQuery - Retrieve values from HTML elements and return their sum -