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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:42:19+00:00 2026-05-21T21:42:19+00:00

I have 2 question belongs to structuring the game scene , layer. In my

  • 0

I have 2 question belongs to structuring the game scene , layer. In my game I used separate scene for Menu and Game. Menu scene hold many layers like main menu scene have a connection to settings layer & levels layer.

MENU SCENE (stack of multiple layers main Layer , Levels Layer , Settings Layer)
 1. Main Layer
    - play Button
    - Levels Button   -> Load Level Layer
    - Settings Button -> Load Settings Layer
    - Help
 2. Levels Layer
    - Level 1 Button -
    - Level 2 Button  | -> Replace the MENU SCENE with GAME SCENE 
    - Level N Button - 
 3. Settings Layer

GAME SCENE (Stack of Game layer & status menu layers sits on the top)

  1. Game Layer

  2. Status Menu layer
    - Score Label
    - Reset Level Button
    - Main Menu Button 
  1. How to use common background image for both Menu scene and game scene?

  2. Please validate the above structuring is it good enough in scalability preceptive?

  • 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-21T21:42:20+00:00Added an answer on May 21, 2026 at 9:42 pm
    1. A good aproach, would be using 2 Layes on your scenes, a BackGroundLayer and a GamePlayLayer, then u could use the same BackGroundlayer on each of your scenes. Or use just one scene and BackGroundLayer and just switch the Gameplay Scenes.

    2. You can create use a Delegate calling a method in the Main Menu file.
      I would encorage you to create an GameManager Class, that would handle that

    I notice your structure is a bit wrong, a good one would be:

    Main Scene
     Main Layer
      - play Menu Button
      - Levels Menu   -> Level (Player shall choose level?) (store an id to identify witch level will be used
      - Settings -> Settings Menu (Change ur settings?)
      - Help Menu
    

    When the player chooses a level it will store in a Constant witch level the player will be playing and when he hits the play button u just load one scene for all levels, and just change the GamePlay Layer.

    There is a really great book that explore a hole chapter talking about GameManager, Menus and stuff. i Really encorage you to buy it.

    http://cocos2dbook.com/ – (Learning Cocos2D: A Hands-On Guide to Building iPhone and iPad Games with Cocos2D, Box2D, and Chipmunk)

    It will be finished in July i guess, but u can buy the rougth cut… i did, its really good pdf always updates http://my.safaribooksonline.com/book/programming/iphone/9780132180863

    Again, a really good book. i read it.

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

Sidebar

Related Questions

No related questions found

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.