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 3961858
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:01:37+00:00 2026-05-20T03:01:37+00:00

Hey, basically i’m on my second App for the iPhone SDK and im really

  • 0

Hey, basically i’m on my second App for the iPhone SDK and im really enjoying myself.
Im currently creating a ‘raidan’ style 2d game, where the user flys a character upward and encounters enemies that shoot bullets etc.

The game is coming along well, I have bullets firing, enemies moving (basic), collecting coins and a fuel/shield system, but i’m starting to become abit overwhelmed with the amount of code and i’m wondering if theres a more ‘efficient’ way to do this.

I have no layers but for the main layer, for example the HUD is on the same layer as the enemies etc.
If you would use multiple layers, can RectIntersectRect work between layers?

I have also failed to incorporate custom classes, I’m using NSMutableArray’s to put all my objects in.

I suppose this is all abit ambiguous.
How would design the architecture for a 2d flight game with multiple levels?
Please understand that I have no clue – I simply started writing methods upon methods upon methods.

Between each level – Would you duplicate methods (physics, UIImageView creation etc)?

Thanks for your thought & time

  • 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-05-20T03:01:37+00:00Added an answer on May 20, 2026 at 3:01 am

    Georg is right, it’s not easy to give a simple answer to your problems. I would suggest that you spend some time reading the Cocos 2D source code. You will learn some basic tricks that you should do to keep the code manageable. All in all it’s a good idea to use some existing game framework if you are starting. It will keep you from reinventing the wheel and cut down on the design choices.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey I am completely lost with this one. Basically the website i'm working on
Hey all, having an issue getting asp buttons to interact with JQuery. I'm basically
Hey everyone... I'm not too familiar with PHP... but I have PHP code that
Hey, I think I'm going about this the wrong way, but have tried many
Hey i have a div moving via a jquery animation and i am trying
Hey guys, I have a bit of a weird problem. I have a jquery
Hey i am trying to compare the date on which the user opens the
Hey everyone, this is my first post up on StackOverflow! WOO! Anyhow, onto my
So, say I had the following script: var hey = { foo: 1, bar:
I have a pretty standard navigation for a website. The main navigation is a

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.