Skip to content
Cocos2d for iOS and OS X, built using Objective-C
Objective-C C Other
Branch: v3.5.0
Clone or download
Latest commit 5903152 Jun 19, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resources Template changes Jul 16, 2015
UnitTests Merged CCDirector headers Feb 29, 2016
cocos2d-ext bug fix CCAnimationManager Jun 19, 2017
cocos2d-ui-tests SpriteBuilderTranslations renamed to CocosBuidlerTranslations Mar 21, 2016
cocos2d-ui Fixes issue where CCTextField.hidden doesn't hide NSTextField on OSX Mar 24, 2017
cocos2d Fixes issue that caused graphics loading to fail when only using @1x May 22, 2016
external - updated chipmunk submodule Oct 29, 2015
tools Update project name in docs Feb 21, 2015
.gitmodules SSZipArchive pointing to SB repo fork again. Sep 26, 2014
AUTHORS remove dummy files Feb 21, 2016
LICENSE_Chipmunk.txt Updating the Chipmunk license. Apr 3, 2014
LICENSE_cocos2d.txt Update project name in docs Feb 21, 2015 Update Dec 5, 2016
cocos2d-tests-ios copy-Info.plist
doxygen.config Removing Kazmath Mar 28, 2014
doxygen.footer added doxygen footer Mar 18, 2010


Want pure x-platform Swift?

We experience rewrite in this repository.

If in doubt, please post questions and comments in the forum
The Official Forum

This way, more users can learn from your experince.

===== Please note, that the official site has moved. Please update your bookmarks
The Official Site
The Official Forum

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

Cocos2D-ObjC is:

  • Fast
  • Free
  • Lightweight
  • Modular
  • Easy to use
  • Community Supported

Creating New Projects

For creating new projects you should use an official Cocos2D Installer.


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


Version 3.5 is introduced. See release notes


  • Scene management (workflow)
  • Transitions between scenes
  • Sprites and Sprite Sheets
  • Effects: Lens, Ripple, Waves, Liquid, etc. (Served as extension)
  • 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 (Served as extension)
  • Particle system (Served as extension)
  • Fonts:
    • Fast font rendering using Fixed and Variable width fonts
    • Support for .ttf fonts
  • Tile Map support: Orthogonal, Isometric and Hexagonal (Served as extension)
  • Parallax scrolling (Served as extension)
  • Motion Streak (Served as extension)
  • Render To Texture (Served as extension)
  • Touch/Accelerometer on iOS
  • Touch/Mouse/Keyboard on Mac
  • Sound Engine support based on OpenAL (Served as extension)
  • Integrated Slow motion/Fast forward
  • Fast textures: PVR compressed and uncompressed textures
  • Point based: RetinaDisplay mode compatible
  • Language: Objective-C / Swift
  • Open Source Commercial Friendly: Compatible with open and closed source projects
  • Image assets support
  • TVOS support
  • App thinning support
  • 3D touch support
  • OpenGL ES 2.0 or Metal (iOS) / OpenGL 2.1 (Mac) based

Build Requirements

Mac OS X 10.9 (or newer), Xcode 7.0 (or newer)

Runtime Requirements

  • iOS 6.0 (7.0 for Swift) 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


Download from Github

$ git clone --recursive
$ cd cocos2d-objc
You can’t perform that action at this time.