Animation Cocos2D provides basic animation primitives that can work on sprites using a set of actions and timers. They can be chained and composed together to form more complex animations. Most Cocos2D implementations let you manipulate the size, scale, position, and other effects of the sprite. Some versions of Cocos2D let you also animate particle effects, image filtering effects via shaders (warp, ripple, etc.).
GUI Cocos2D provides primitives to represent common GUI elements in game scenes. This includes things like text boxes, labels, menus, buttons, and other common elements.
Physics system Many Cocos2D implementations come with support for common 2D physics engines like
Box2D and
Chipmunk.
Audio Various versions of Cocos2D have audio libraries that wrap
OpenAL or other libraries to provide full audio capabilities. Features are dependent on the implementation of Cocos2D.
Scripting support Support binding to
JavaScript,
Lua, and other engines exist for Cocos2D. For example, Cocos2d JavaScript Binding (JSB) for
C/
C++/
Objective-C is the wrapper code that sits between native code and JavaScript code using
Mozilla's SpiderMonkey. With JSB, you can accelerate your development process by writing your game using easy and flexible JavaScript.
Editor support End of life support • SpriteBuilder: Previously known as CocosBuilder, SpriteBuilder is an IDE for Cocos2D-SpriteBuilder apps. SpriteBuilder is
free and its development was sponsored by
Apportable, who also sponsored the
free Cocos2D-SpriteBuilder, Cocos3D, and Chipmunk physics projects. It was available as a free app in the
Mac App Store. Its latest official version is 1.4. Its latest unofficial version is 1.5 which is compatible with cocos2d-objC 3.4.9. It supports Objective-C. • CocoStudio: a
proprietary toolkit based on Cocos2d-x, containing UI Editor, Animation Editor, Scene Editor and Data Editor, together forming a complete system; the former two are tools mainly for artists while the latter are two mainly for designers. This is a
proprietary project developed by
Chukong Technologies. Its latest version is 3.10 which is compatible with cocos2d-X 3.10. It supports C++. In April 2016 it was deprecated and replaced with Cocos Creator.
Current support • Cocos Creator, which is a
proprietary unified
game development tool for Cocos2d-X. As of August 2017, it supports JavaScript and
TypeScript only and does not support neither C++ nor Lua. It was based on the
free Fireball-X. C++ and Lua support for creator is under alpha-stage development since April 2017. • SpriteBuilderX, a
free scene editor for Cocos2d-X with C++ support and runs on macOS only. • X-Studio, a
proprietary scene editor for Cocos2d-X with Lua support and runs on Windows only. • CCProjectGenerator: a project generator for Cocos2d-ObjC 3.5 that generates Swift or Objective-C projects for Xcode. == Supported platforms and languages ==