cocos2d – HelloWorld in Cocos2d…

After the installation, now we gonna have a look at  HelloWorld program.We are not going to implement any code here.When we create a new project in cocos2d, it automatically builds some code in it.

1.Select File–>New–>Project.

2.A window appears as shown below.

select

3.Select ‘Cocos2d’ and click next.

4.Just run the project.

Output:

iOS Simulator Screen shot 18-May-2013 2.06.30 PM

  • Here a Label with text ‘Hello World’ is displayed.
  • The Numbers displayed below are called as ‘FPS'(Frames Per Second).Number of frames displaying per second.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s