Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8934357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:46:01+00:00 2026-06-15T09:46:01+00:00

I am new to Cocos 2D, I have studied cocos 2D framework and after

  • 0

I am new to Cocos 2D, I have studied cocos 2D framework and after two days i am just confused and wanted to ask you some question.

I have to create an app with cocos2D framework for both iPhone and iPad target.

  1. When to use cocos Box 2d?
  2. Can we use nib files with Cocos2D? What is the standard way for creating UI?
  3. I have to create an app for both iPhone and iPad devices. How should i manage this? Whether we can provide diffrent nib files for the iphone and ipad target? Or i have to provide checks in my app for iphone and ipad.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:46:02+00:00Added an answer on June 15, 2026 at 9:46 am

    According to me answer to your question is

    1- Use Box2d only if you want to simulate some thing like real world.Gravity, mass, natural collision other wise simple 2d games can be made only using cocos2d.Box2d is for much real world simulation.

    2-As far as I know there is no Nib files in cocos2d but we use CCLayer instead.All visible content of game is arranged on CCLayer or child of it.There is not any thing like Interface builder but we use coding for CCSprite,CCMenu,etc.

    3-For creating app for i phone as well as i pad use universal build in device family on Info page of application.Use different resource for different device and do coding something like

    if(UI_USER_INTERFACE_IDIOM()==UIUserInterfaceIdiomPad)
        {
    
    CCSprite *back=[CCSprite spriteWithFile@"back-ipad.png"];
    // rest of coding
    
        }
    else
    {
    
    CCSprite *back=[CCSprite spriteWithFile@"back-.png"];
    // rest of coding
    
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I knew, my questions may create some angry on me. But, I have no
I'm new to Cocoa and have a small question before I get carried away
I'm new to Cocoa and xCode, but not programming though. I have created some
We are using the cocos2d framework to create a game. We're completely new to
I'm new to cocoa. I create project where I have one textField and one
I have probably a dumb question, but Im pretty new to Cocoa, so I
Consider this: you create a new project on Cocos2D 2.0. You have the traditional
After creating new cocoa application,I have added localization string files localizeFile.strings(English) and localizeFile.strings(Spanish) In
I have done quite some cocoa-touch stuff, but am still new to cocoa. I
I am new to Cocoa and wanted to develop an app which can use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.