• Stars
    star
    4,070
  • Rank 10,670 (Top 0.3 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 14 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cocos2d for iOS and OS X, built using Objective-C

Cocos2D-ObjC

Want pure x-platform Swift?

We experience rewrite in this repository.

PLEASE READ BEFORE POSTING AN ISSUE!
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.

Documentation

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

Important:

Version 3.5 is introduced. See release notes

Features

  • 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

Forum

Download from Github

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

More Repositories

1

cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
C++
18,090
star
2

cocos2d-html5

Cocos2d for Web Browsers. Built using JavaScript.
JavaScript
3,055
star
3

cocos2d-js

cocos2d-x for JS
C++
1,858
star
4

CocosBuilder

CocosBuilder, the visual editor for cocos2d
Objective-C
1,012
star
5

cocos2d-iphone-extensions

3rd party extensions for cocos2d-iphone
Objective-C
638
star
6

cocos2d-x-samples

Contains different cocos2d-x samples
Python
575
star
7

creator_to_cocos2dx

Creator plugin to support C++& Lua in cocos2d-x
C++
234
star
8

cocos2d-x-3rd-party-libs-bin

C
197
star
9

cocos2d-js-tests

cocos2d JavaScript test cases and games.
JavaScript
187
star
10

bindings-generator

JSBindings generator for C++
Python
168
star
11

cocos2d-x-extensions

samples games & code snips for cocos2d-x
C++
152
star
12

cocos2d-console

cocos2d command line tool
Python
151
star
13

cocos2d-x-3rd-party-libs-src

Dependencies of cocos2d-x.
Perl
140
star
14

cocos2d-x-for-xna

port cocos2d-x into c# based on XNA
C#
123
star
15

cocos2d-x-docs

documentation of cocos2d-x
HTML
102
star
16

cocos2d-objc-ext

Extensions and utility classes for Cocos2D-iphone
Objective-C
58
star
17

cocos2d-iphone-classic

Repository of original V1 and V2 of Cocos2D-iphone
Objective-C
47
star
18

cocos2d-frame

Player and "stub" for cocos2d
C
37
star
19

cocos2d-js-samples

Includes different samples to be used with cocos2d
JavaScript
36
star
20

cocos2d-x-swift-bindings

Swift bindings for cocos2d-x
Objective-C++
32
star
21

cocos2d-x-external

use CMake to build external 3rd party modules for cocos2d-x
C
18
star
22

cocos2d-js__old__

cocos2d in JavaScript central repository
JavaScript
14
star
23

js-bindings

C++
13
star
24

cocos2d-x-classic

For full history commit logs of cocos2d-x
C
8
star
25

v8

V8 building
Python
7
star
26

migration-demo-objc

The Objective-C flavoured version of migration-demo-x
Objective-C
6
star
27

migration-demo-x

Demonstrates -obj to -x project migration
C++
5
star
28

console-binary

The binary files for cocos2d-console
4
star
29

cocos2d-x-docs-deps

Dependencies of building cocos2d-x docs
Shell
2
star
30

cocos2d.github.io

1
star