news
August 12, 2012: cocos2d 0.5.5 available. Adds basic support for TMX maps, supports particles even in weak hardware, fixes bugs.
See the changelog here.
See an example loading a TMX file in test/test_tmx.pyOctober 26, 2011: cocos2d 0.5.0 available. It brings faster sprites, and a basic collision module.
See the changelog here.
For the new collision module look at the API section, module collision_model; you can look some example code at
- test/test_all_collisions.py
- benchmarks/collision
- samples/mouse_elastic_box_selection.py
- samples/balldrive_toy_game
August 14, 2011: cocos2d 0.5rc0 available. It brings faster sprites, and a basic collision module.
See the changelog here.
Online docs will be updated after release, the download includes the docs. For the new collision module look at the API section, module collision_model; you can look some example code at
- test/test_all_collisions.py
- benchmarks/collision
- samples/mouse_elastic_box_selection.py
- samples/balldrive_toy_game
September 8, 2010: cocos2d v 0.4.0 released.
After two months and around 1700 downloads for rc0, with only one issue reported (compatibility with python 2.4 , fixed), it was time to do the final release.
See the changelog here.July 7, 2010: cocos2d 0.4rc0 available.
September 5, 2008: cocos2d-0.3.0 released.
about
cocos2d is a framework for building 2D games, demos, and other graphical/interactive applications.
main features
- Flow control: Manage the flow control between different scenes in an easy way
- Sprites: Fast and easy sprites
- Actions: Just tell sprites what you want them to do. Composable actions like move, rotate, scale and much more
- Effects: Effects like waves, twirl, lens and much more
- Tiled Maps: Support for rectangular and hexagonal tiled maps
- Transitions: Move from scene to scene with style
- Menus: Built in classes to create menus
- Text Rendering: Label and HTMLLabel with action support
- Documentation: Programming Guide + API Reference + Video Tutorials + Lots of simple tests showing how to use it
- Built-in Python Interpreter: For debugging purposes
- BSD License: Just use it
- Pyglet Based: No external dependencies
- OpenGL Based: Hardware Acceleration
This video shows some effects that are executed in the running scene.
Source code: demo_grid_effects.py
cocos2d for iphone
If you are looking for the iphone version, please visit this page: cocos2d for iPhone