Post Pic

Cocos2d a short Explanation PART 2

Hello everybody this tutorial is part 2 of my last tutorial

Link to part 1! CLICK HERE

Quick Stuff

When you click on the appdelegate.m file in your Classes folder you will find a line of code that says

Here the Director is setting the device orientation to LandscapeLeft-this can be changed by changing the line-for example
You can change it to PortraitRight-or whatever orientation you like
Next you will find a line that says
Here the Director is setting the AnimationInterval and FPS displaying..
You can change the number to anything you like…such as .8/40
The set FPS is showing a little label at the bottom of the screen showing how many frames per second the application is getting-some developers like to keep this in so their users can see it, others like to only use it during the testing of the application; however you like it-you can disable it by changing the value YES to NO. That way the label won’t display anymore..
Thanks for following me in this tutorial, if you have any suggestions, comments, etc
Just email me at shayansadigh@gmail.com
Twitter: twitter.com/shayansmind
Youtube: youtube.com/shayansmind

Related Posts

  • Cocos2d a short Explanation PART 1
  • Cocos2d Tutorial.. Moving to a Location (Animation)
  • How to Install the Cocos2d API in Xcode!
  • Switching Views *Bonus (Animation)
  • How To Switch Views using Multiple Viewcontrollers (Method 1)


  • One Response

    08.18.10

    Any new tutorials coming soon? One on in-app purchasing would be very nice.

    Leave Your Response

    * Name, Email, Comment are Required
    Subscribe via RSS

    Receive the latest iPhone app tutorials and resources delivered to you. Free.

    Latest Tweet



    Follow us on Twitter

    Write for Us

    Get your name in front of the masses by writing for iPhone App Tuts. We will share a plug about you and give links to your site and Twitter page.

    Write for Us

    We need your feedback

    Would you pay a small monthly subscription for consistent iPhone tutorials?

    View Results

    Loading ... Loading ...