a 2D framework for games and multimedia
cocos2d simplifies the game development in these areas:
- Defining a workflow for your game
- Creating special effects in layers
- Creating transitions between scenes
- Managing sprites
- Basic menus
- and much more!http://cocos2d.org
- python 2.6, python 2.5 or python 2.4 with ctypes and elementtree
- pyglet 1.1.4 or newer (http://www.pyglet.org)
- Linux, Windows or Mac OS/X
- To execute some effects you will need a video card with the:
- GL_EXT_framebuffer_object extension.
Being a pure python package the usual options are available; you can look at the INSTALL file for details
go to the online tuturials / documentation page: http://cocos2d.org/doc.html
- you will find:
. the Programming Guide . the API Reference . some tutorial videos
- The tutorials are included in the source package or can be download from:
Lot of miniprograms that demostrates the available objects and posible actions. There are a great starting point while learning and experimenting with cocos: you find a sample with the object that interest you exercising the features that you need, read the code, run, modify and re-run to experiment.
Also, handy to know what is available in cocos: run all the tests and by looking at the code you know what to look at in the docs.
You can find them at the test directory in the source distribution. After unpacking, to run the tests you can do
$ cd test $ python test_*.py
more complex sample programs
You can find it in the samples directory in the source distribution, and the most complex in subdrectories there, including a presentation done with Cocos himself.
After unpacking, to run the samples you can do
$ cd samples $ python sample_name.py
Do you have any doubt ? http://groups.google.com/group/cocos-discuss
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.