Really useful software project management and source code hosting.    tell me more...
BROWSE: projects / users / groups
Public clone: git://codaset.com/zwopple/zwoptexapp-cocos2d.git
star_disabled Dashboard Source Tickets Wiki Blog Network


Really Useful Social coding!

Codaset is an open system, so you can browse and search through all the open source projects, and check out what your friends are coding. Follow them, befriend them, and fork their code; quickly and easily.
Every single open source project you create is free, so come on and use Codaset at no cost. Your first private or semi-private project is also free. Read more about what it costs after that.
Name Age Message
page .gitattributes Apr 01, 2010 Create standard ignore / attributes for Xcode git repositories Stuart Carnie
page .gitignore Apr 11, 2010 Cleaned up framework search paths and added PLBlocks.framework folder to .git... Stuart Carnie
page AUTHORS Jul 09, 2010 Fixed issue #918. 2d projection + HighRes works OK Ricardo Quesada
page CHANGELOG Jul 14, 2010 Profiler typos in director (from jonkean repository) Ricardo Quesada
folder CocosDenshion Jul 14, 2010 Merge branch 'master' of http://github.com/steveoldmeadow/cocos2d-iphone into... Ricardo Quesada
page DONORS Jul 12, 2010 Updated DONORS Ricardo Quesada
page LICENSE.FontLabel Sep 16, 2009 fixed issue #534 Ricardo Quesada
page LICENSE.TouchJSON Mar 13, 2009 using udpated TouchJSON from svn Ricardo Quesada
page LICENSE.artwork Sep 17, 2009 fixed issue #552 Ricardo Quesada
page LICENSE.box2d Jul 17, 2009 fixed issue #447 Ricardo Quesada
page LICENSE.chipmunk Jan 21, 2010 updated copyright message of Chipmunk Ricardo Quesada
page LICENSE.cocos2d May 17, 2010 Using MIT license Ricardo Quesada
page LICENSE.cocosdenshion May 31, 2010 Intregrated CocosDenshion Ricardo Quesada
page LICENSE.libpng Aug 26, 2009 updated licenses Ricardo Quesada
page README.mdown May 11, 2010 fixed issue #861 Ricardo Quesada
page RELEASE_NOTES Jun 10, 2010 Higher res working OK....mmmm Ricardo Quesada
folder Resources-iPad Jun 06, 2010 CCArray: works OK with TMX maps. Improved iPad tests Ricardo Quesada
folder Resources Jul 03, 2010 issue #901 fixed again, workaround for issue #910 Ricardo Quesada
folder cocos2d-iphone.xcclassmodel Apr 11, 2009 renamed class model Ricardo Quesada
folder cocos2d-iphone.xcodeproj Jul 14, 2010 Xcode Analizer was complaining with [item contentSize] Ricardo Quesada
folder cocos2d Jul 15, 2010 Revert "squeezing performance". It will be commited in "develop" branch Ricardo Quesada
folder cocoslive May 17, 2010 Using MIT license Ricardo Quesada
page doxygen.config Jun 16, 2010 Doxygen only parses CocosDenshion/CocosDenshion subdir Ricardo Quesada
page doxygen.footer Mar 18, 2010 added doxygen footer Ricardo Quesada
folder experimental Jun 13, 2010 Simplified CCDirector. Ricardo Quesada
folder external Jun 14, 2010 CCDirector: easier way to setup a director. Ricardo Quesada
folder extras Oct 03, 2009 moving the proximity manager into it's own directory since it's not part of t... Jason Booth
page install-templates.sh Jun 14, 2010 Templates: work with new CocosDenshion directory Ricardo Quesada
folder templates Jul 08, 2010 GLES-Renderer: fixed solid color Ricardo Quesada
folder tests Jul 14, 2010 last minute fixes in test case #914 Ricardo Quesada
folder tools Jun 06, 2010 CCArray: works OK with TMX maps. Improved iPad tests Ricardo Quesada

README.mdown

cocos2d for iPhone

cocos2d for iPhone is a framework for building 2D games, demos, and other graphical/interactive applications for iPod Touch, iPhone and iPad.
It is based on the cocos2d design but instead of using python it, uses objective-c.

Main features

  • Scene management (workflow)
  • Transitions between scenes
  • Sprites and Sprite Sheets
  • Effects: Lens, Ripple, Waves, Liquid, etc.
  • Actions (behaviours):
    • Trasformation Actions: Move, Rotate, Scale, Fade, Tint, etc.
    • Composable actions: Sequence, Spawn, Repeat, Reverse
    • Ease Actions: Exp, Sin, Cubic, Elastic, etc.
    • Misc actions: CallFunc, OrbitCamera
  • Basic menus and buttons
  • Integrated with physics engines: Box2d and Chipmunk
  • Particle system
  • Fonts:
    • Fast font rendering using Fixed and Variable width fonts
    • Support for .ttf fonts
  • Texture Atlas support
  • Tile Map support: Orthogonal, Isometric and Hexagonal
  • Parallax scrolling
  • Motion Streak
  • High Score server (cocosLive library)
  • Touch/Accelerometer
  • Portrait and Landscape mode
  • Sound Engine support (CocosDenshion library)
  • Integrated Pause/Resume
  • Integrated Slow motion/Fast forward
  • Fast textures: PVRTC 2-bit & 4-bit textures, RGBA 16-bit (and 32-bit) textures
  • Language: objective-c
  • Open Source: Compatible with open and closed source projects
  • OpenGL ES 1.1 based

This library does not work with the toolchain, but it
should be easy to port it to it.

Build Requirements

Mac OS X 10.5.3, Xcode 3.1, iPhone OS 2.0, Beta 8 release or later

Runtime Requirements

Mac OS X 10.5.3, iPhone OS 2.0, Beta 8 release or later

Files and Folders

  • cocos2d/
    core files and folders of cocos2d
  • cocoslive/
    high score client library
  • CocosDenshion/
    sound engine library
  • tests/
    tests, demo and template examples
  • experimental/
    experimental stuff
  • external/
    3rd party libraries used by cocos2d or any other project.
    • Chipmunk/: physics library
    • Box2d/: physics library
    • TouchJSON/: JSON parser
    • Tremor/: OGG audio decoder

How to run the tests

Xcode -

View -> Customize toolbar

Then, drag "Active Target" and "Active Executable" to your top project tool bar.
Select the test you want to view in both drop downs and hit Build and Go.

How to start a new game

Run the 'install-templates.sh' script as root:

$ cd cocos2d-iphone
$ sudo ./install-templates.sh

or with -u to install the templates in your user directory:

$ cd cocos2d-iphone
$ ./install-templates.sh -u

And then open XCode -

New Project -> User Templates -> cocos2d