Create a new project in SpriteBuilder

Create a new project in SpriteBuilder

June 8, 2015

Let's start the work on our game by creating a new SpriteBuilder project:

image

Name your new project “SushiNeko” and change the Primary Language to Swift. Once the project is created, open Finder and take a look at the folder structure of your project. If you can't find your project in Finder, search for it using Spotlight at the top right of your screen.

The folder structure should look something like this:

image

SpriteBuilder created a new folder (SushiNeko.spritebuilder). Inside it are a SpriteBuilder project (SushiNeko.ccbproj) and a new Xcode project (SushiNeko.xcodeproj).

The default SpriteBuilder project comes with one scene (MainScene.ccb). Your empty project should look like this:

image

Testing your setup

Let’s make sure everything was generated correctly. Click the publish button (on left side of the toolbar) in SpriteBuilder:

image

Now open SushiNeko.xcodeproj to view the project in Xcode. Run this on the iPhone simulator and verify it shows the “SpriteBuilder” message:

image

Congratulations! We are now ready to get started!

Feedback

If you have feedback on this tutorial or find any mistakes, please open issues on the GitHub Repository or comment below.

Summer academy

An iOS Development Summer Course

Design, code and launch your own app. Locations across the USA and Asia

Find your location

Product College

A computer science college

Graduate into a successful career as a founder or software engineer.

Learn more