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

  • Home
  • SEARCH
  • 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 basically Im trying to store a solution and create a vector of these.
Hey, basically I want to send files to my friends through a program, I
Hey all, basically, i have an array: array('a', 'b', 'c'); Now i run it
I basically want to be able to say Hey, control give me your bitmap
Hey all, basically i have an empty AS3 fla file with just the following
Hey all. Basically, I want the the next image to be clicked using jquery
Hey, so basically I have this issue, where I'm trying to put an equation
Hey all. Basically, I need (this) in my function to correspond to this selection:
Hey everyone, I'm basically new to programming. I've decided to try and get started
Hey all. Basically I have a page full of text input fields with default

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.