简体   繁体   中英

How to create Multi-Level Game with Cocos2D(iOS)?

  1. I want to know how to create multi-level games with cocos2d.
  2. I knew that big developers like Angry Birds, Cut the Rope have their own level-editor, but how does other people create multi-level games?

Question: How I can create/build levels, is there any kinds of builders? Or you need to create class for each level?

I am using single Scene/Layer and dynamically loading level data from XML (map images, collision, enemy formation definition, ...). It depends on your requirements. Are your maps endless? Find more info about my solution on http://www.iuridium.com/?page_id=2 . Also, this may help you: http://www.levelhelper.org .

I'm currently using Levelhelper for an upcoming game.. It really helps and heavily reduces the development time. Instead of writing your own parser, and trail-and-error xml files, you get a nice editor with lots of features. I would recommend it, definitely if you haven't endless levels.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM