cocos2d for iOS and OS X, built using Objective-C
Objective-C M C C++ Matlab Java
Pull request Compare This branch is 4 commits behind cocos2d:develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Chipmunk7-ios.xcodeproj Fixes for AppStore Feb 23, 2015
Mac Adding sprite sheet tests. Fixed a Zwoptex sprite frame alias bug. Apr 16, 2015
Resources-Mac Removing Kazmath Mar 28, 2014
Resources-iPad/Images Removing Kazmath Mar 28, 2014
Resources Tilemap fixes Mar 18, 2015
UnitTests Refactoring CCFileLocator. Removing a lot of redundant code, simplify… Apr 21, 2015
cocos2d-tests-android Android fixes Apr 2, 2015
cocos2d-tests.xcodeproj Adding sprite sheet tests. Fixed a Zwoptex sprite frame alias bug. Apr 16, 2015
cocos2d-ui-tests Merge branch 'refactor/tilemaps' of github.com:slembcke/cocos2d-iphon… Apr 16, 2015
cocos2d-ui Merge branch 'v3.4' into develop Apr 15, 2015
cocos2d.xcodeproj Refactoring CCFileLocator. Removing a lot of redundant code, simplify… Apr 21, 2015
cocos2d CCEffectColorChannelOffset - Add private ...OffsetWithPoint methods Apr 21, 2015
cocos2dMacFramework Fixes for AppStore Feb 23, 2015
cocos2dMacFrameworkTests Fixes for AppStore Feb 23, 2015
external Updating libpng submodule. Apr 14, 2015
iOS Metal fixes. Apr 17, 2015
tests Removing Kazmath Mar 28, 2014
tools Merge branch 'develop' into refactor/CCFileLocator Mar 13, 2015
.gitignore Merge branch 'develop' into develop-v4 Jan 14, 2015
.gitmodules Cherry picking the libpng loader changes. Apr 13, 2015
API-Index.md Update project name in docs Feb 21, 2015
AUTHORS Update project name in docs Feb 21, 2015
CCRendererGLSupport.m Android fixes Apr 2, 2015
CHANGELOG Removing Kazmath Mar 28, 2014
DONORS Updated DONORS Oct 19, 2012
Default-568h@2x.png Added Touch tests for Mac and iOS Sep 5, 2013
Icon.png Opdated artwork Jan 13, 2014
LICENSE_CCBReader.txt Adds licenses from the JS Bindings projects Sep 6, 2012
LICENSE_Chipmunk.txt Updating the Chipmunk license. Apr 3, 2014
LICENSE_CocosDenshion.txt Adds licenses from the JS Bindings projects Sep 6, 2012
LICENSE_artwork.txt Fixes issue #1268 Dec 30, 2011
LICENSE_cocos2d.txt Update project name in docs Feb 21, 2015
README.md Merge branch 'Cocos2D-SpriteBuilder' of https://github.com/collinjack… Mar 11, 2015
RELEASE TODO.txt Updated installer version Mar 4, 2014
RELEASE_NOTES V3.0.0 release stuff Mar 3, 2014
VERSION Merge branch 'v3.4' into develop Mar 11, 2015
doxygen.config Removing Kazmath Mar 28, 2014
doxygen.footer added doxygen footer Mar 18, 2010

README.md

Cocos2D-SpriteBuilder

Cocos2D-SpriteBuilder is a framework for building 2D games, demos, and other graphical/interactive applications for iOS, Mac and Android. It is based on the Cocos2D design, but instead of using Python it uses Swift or Objective-C.

Cocos2D-SpriteBuilder is:

  • Fast
  • Free
  • Easy to use
  • Community Supported

Creating New Projects

New Cocos2D projects are created with SpriteBuilder. SpriteBuilder is, just like Cocos2D, free and open source. You can get SpriteBuilder from spritebuilder.com or from the Mac App Store. Projects created using SpriteBuilder contains the complete Cocos2D source code, and after the project has been created using SpriteBuilder is optional.

SpriteBuilder also allows you to update the Cocos2D version in your project, to newest version, making it trivial to always keep your project updated to latest Cocos2D version.

You can find the full Cocos2D documentation and user guide at our documentation page.

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, Follow, Tween
  • Basic menus and buttons
  • Integrated with Chipmunk physics engine
  • Particle system
  • Fonts:
    • Fast font rendering using Fixed and Variable width fonts
    • Support for .ttf fonts
  • Tile Map support: Orthogonal, Isometric and Hexagonal
  • Parallax scrolling
  • Motion Streak
  • Render To Texture
  • Touch/Accelerometer on iOS
  • Touch/Mouse/Keyboard on Mac
  • Sound Engine support (CocosDenshion library) based on OpenAL
  • Integrated Slow motion/Fast forward
  • Fast textures: PVR compressed and uncompressed textures
  • Point based: RetinaDisplay mode compatible
  • Language: Objective-C
  • Open Source Commercial Friendly: Compatible with open and closed source projects
  • OpenGL ES 2.0 (iOS) / OpenGL 2.1 (Mac) based

Build Requirements

Mac OS X 10.6 (or newer), Xcode 4.2 (or newer)

Runtime Requirements

  • iOS 6.0 or newer for iOS games
  • Snow Leopard (v10.6) or newer for Mac games

Running Tests

  1. Select the test you want from Xcode Scheme chooser

  2. Then click on Xcode → Product → Run

Forum

Download from Github

$ git clone --recursive https://github.com/cocos2d/cocos2d-spritebuilder.git
$ cd cocos2d-spritebuilder