Game Development Reference
In-Depth Information
templates from selected nodes and their properties but is currently used only
by particle effects.
The newly created project is actually a functional, runnable SpriteBuilder project. You can
try this now by choosing File
Publish or by clicking the corresponding Publish button
on the toolbar.
The publishing process copies, converts, and caches the resources in the Xcode project as-
sociated with the SpriteBuilder project.
The SpriteBuilder Project's Xcode Project
An Xcode project is located within every < projectname >.spritebuilder folder with a cor-
responding name < projectname >.xcodeproj. See Figure 2-2 for an example. The topmost
folder with the yellow icon named LearnSpriteBuilder.spritebuilder is the
project's folder. Inside it is the project's LearnSpriteBuilder.xcodeproj file,
and the source code and published resource files for the app are found inside the Source
folder. The SpriteBuilder Resources folder contains the resource and CCB files
that SpriteBuilder lists in its File View.
Figure 2-2 . SpriteBuilder project structure as seen in Finder
Note SpriteBuilder projects are folders with the extension .spritebuilder .
SpriteBuilder will recognize projects only if the folder has the .spritebuilder
suffix. If SpriteBuilder isn't running you can manually copy, move, or rename a
SpriteBuilder project folder using Finder, provided that you keep the .sprite-
builder suffix.
Search WWH ::




Custom Search