Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

cocos2d Xcode Templates

Author

Dave Sanders - DaveRC on the forums

Versions

0.81 and up

Problem

You want to install cocos2d templates into Xcode so that you can quickly start up a cocos2d project.

Solution

Install the cocos2d templates via the provided command line script.

To install the templates, start Terminal and navigate to your cocos2d-iphone directory, then type:

$ . ./install_template.sh

Discussion

Running this install script will create three new templates in your iPhone OS Xcode menu:

  • cocos2d-{version} Application - a basic cocos2d project without an included physics library, just shows “Hello World” text.
  • cocos2d-{version} Box2d Application- cocos2d project that uses Box2d physics, touch to drop a box on the screen which then drops down, interacting with existing boxes.
  • cocos2d-{version} Chipmunk - cocos2d project that uses Chipmunk physics, initially shows one figure, you can touch to add more figures, which squeeze in among each other.

See also

* If you want to create a completely empty cocos2d project, see this tutorial: Monocle Studios cocos2d whitepaper

cookbook/xcodetemplates.txt · Last modified: 2010/06/12 18:14 by kimptoc
Trace: animation instructions touchcoordcamera xcodetemplates
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0