Game Development Reference
In-Depth Information or directly from the Kobold2D website: . Again, use the link for the appropriate version,
which for this topic is Kobold2D 2.0.
API References in Xcode and elsewhere
If you install Kobold2D from the installer package, it also installs the API references of
all libraries used in Kobold2D (including cocos2d of course) as documentation sets.
These so-called docsets are available from within Xcode. Choose Help > Xcode Help
to browse the available documentation sets. Even if you don't plan to use Kobold2D,
you should install it for this reason alone.
The alternative for cocos2d users—and in fact this is generally recommended—is to in-
stall the Dash (Docs & Snippets) app from the Mac App Store. Dash remains resident
and waits for you to press a keyboard shortcut to bring its window to the front. Then
just type in whatever function, property, or class name you want to search for, and it
shows you the results not just for Xcode documentation but for a number of other doc-
umentation sets like PHP, HTML, Java, and so on.
I mention Dash as an alternative because one of the optionally downloadable docsets is
for cocos2d. Simply go to Dash's Preferences screen and download the cocos2d docset
if you want an offline version. Kobold2D users, however, shouldn't do so since you
already have the cocos2d docset.
You can download Dash (Docs & Snippets) from the Mac App Store via this link: .
Wow! That was a lot to take in! I don't expect you to remember all of this chapter's
content at once. Feel free to come back at any time to look again at cocos2d's scene
graph and how to use the various CCNode classes. I wrote this chapter to be a good
reference whenever you need it, as well as the accompanying NodeHierarchy and Es-
sentials Xcode projects.
Search Nedrilad ::

Custom Search