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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:51:07+00:00 2026-06-08T19:51:07+00:00

I have a game, breakout clone basically. I got tired of making levels programmatically

  • 0

I have a game, breakout clone basically.
I got tired of making levels programmatically so I got this editor = Scenedesigner that lets you put sprites, nodes, etc on screen.

Question – how do I load that .plist file in my game and make my game understand it?

For example, I use composite objects for my sprites – for example ball is of Ball class that contains ccsprite as property, how will that work?

  • 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-08T19:51:10+00:00Added an answer on June 8, 2026 at 7:51 pm

    Not sure about how you created your plist, but this post about using NSDictionary should should answer your question: https://stackoverflow.com/a/1760384/388412

    …it’s basically the same for NSArray, both classes can store objects and read from and write to file/URL (thus reading and writing plists).

    So, you probably should have rather started with a dictionary or array and write that to file to create a plist. As the other way round might cause problems depending on the format of your specific plist.

    As for more complex serialization, you should look into the NSCoding protocol. With that you can serialize and deserialize whole object trees (using NSArchiver and NSUnarchiver). Though, don’t use NSArchiver/NSUnarchiver separately, better make your classes NSCoding compliant.

    If your case is less complex, I recommend starting with NSDictionary / NSArray serialization as it’s a bit easier to handle.

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

Sidebar

Related Questions

I have a game that I am making and I want to add a
I have a simple game, breakout clone. There is gameplay layer, menu layer. I
I have a game that currently runs under Windows and Mac OS X and
I have this game where balloons are coming from bottom and player has to
I have a game engine that uses OpenGL for display. I coded a small
I have this game with some variety of textures. Whenever I draw a texture
We have a game that is very close to being released, but we have
i have this game like doodlejump i inserted some monsters and bullets on the
I'm working on a Windows game, and I have this: bool game_cont; LRESULT WINAPI
Here is the problem, lets say we are making a video game and want

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.