Book Image

Cocos2d-x by Example: Beginner's Guide

By : Roger Engelbert
Book Image

Cocos2d-x by Example: Beginner's Guide

By: Roger Engelbert

Overview of this book

Table of Contents (19 chapters)
Cocos2d-x by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Loading external data from a .plist file


Eskimo has only five game levels, plus a tutorial level (feel free to add more). The data for these levels exist inside a levels.plist file, stored inside the Resources folder. A .plist file is an XML-formatted data file, and as such can be created in any text editor. Xcode, however, offers a nice GUI to edit the files.

Let me show you how to create them inside Xcode.