Cocos2D-x : Create Sprite and Create Label

Cocos2D-x Add Scrollview

Following lines of code gives an example of how to create a sprite in Cocos2D-x. Similarly, Following lines of code gives an example of how to create a label in Cocos2D-x.

Quickly playing sound using OpenAL

Sugartin sound audio OpenAL

Yes ! Usually iOS developer uses AVAudioPlayer to play sounds. But AVAudioPlayer takes time to load sound file for the first time. To load & play sound very quickly, one can go for OpenAL sound. So, here are the steps … Continue reading