This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
manual:project_setup [2013/05/27 09:12] – [The Scaffold Project] daniel | manual:project_setup [2014/07/03 10:36] (current) – [Creating your own Project] daniel | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Project Setup ===== | ||
+ | To make it easy to create your own Xcode projects with Sparrow, the download package contains two projects that can serve as the starting point for your own games: | ||
+ | |||
+ | ==== The Barebone Project ==== | ||
+ | |||
+ | The Barebone project is the most lightweight way to set up Sparrow. It does only what is absolutely necessary: create an '' | ||
+ | |||
+ | //Use this project for your first tests with the Sparrow Framework. It's super lightweight and does not contain any content that might confuse beginners.// | ||
+ | |||
+ | |||
+ | ==== The Scaffold Project ==== | ||
+ | |||
+ | The Scaffold project contains some more code that will help you get started, e.g. a Media class for easy access to your assets, method stubs for auto-rotation, | ||
+ | |||
+ | //Use that project as the basis for your actual game, as it saves you a lot of effort!// | ||
+ | |||
+ | ==== Creating your own Project ==== | ||
+ | |||
+ | Whenever you start a new Sparrow project, choose an appropriate project from those two and follow these steps to use it as a basis for your game: | ||
+ | |||
+ | - Copy the complete folder to the place where you want to have your game project. | ||
+ | - Open the Xcode project. | ||
+ | - Build and run --- just to see if everything works fine. | ||
+ | * If it does not work, check if you have created the '' | ||
+ | - Rename the project: | ||
+ | * Click directly on the project name in the Project Navigator to make it editable. Change the name and accept the requests of the popups that follow. | ||
+ | * Click on " | ||
+ | - Select the target hardware: iPhone / iPod Touch / iPad | ||
+ | * Enter the project settings, tab: " | ||
+ | * Select the target of your choice for the setting " | ||
+ | |||
+ | That's it! | ||
+ | |||
+ | < | ||
+ | All the sample code in this manual uses " | ||
+ | |||
+ | If you want to use Sparrow without ARC, you can do that, too. Just disable " | ||
+ | </ | ||
+ | |||
+ | ----- | ||
+ | |||
+ | //Next Section: [[The Barebone Project]]// |