Correctly Processing Mac Keyboard Events

On September 10, 2011, in cocos2d, Kobold2D, Programming, by Steffen Itterheim

Wouldn’t it be cool if you could just check the keyboard state at any time from any class?

I’ll get to the “cool” part in a moment, first let me set the record straight on how to correctly process keyboard input in Cocos2D Mac builds:

Continue reading »