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.

Playing an Audio from a Local File in iPhone Application

Audio

I am going to demonstrate “How to play an audio file which is locally placed in your iPhone application project?”. 1) Add Framework to your project as follows. 2) Select and add following framework 3) Open your class where you … Continue reading