cocos package¶
Subpackages¶
- cocos.actions package
- Submodules
- cocos.actions.base_actions module
- cocos.actions.basegrid_actions module
- cocos.actions.camera_actions module
- cocos.actions.grid3d_actions module
- cocos.actions.instant_actions module
- cocos.actions.interval_actions module
- cocos.actions.move_actions module
- cocos.actions.quadmoveby_actions module
- cocos.actions.tiledgrid_actions module
- Module contents
- Submodules
- cocos.audio package
- cocos.layer package
- cocos.scenes package
Submodules¶
- cocos.batch module
- cocos.camera module
- cocos.cocosnode module
- cocos.collision_model module
- cocos.compat module
- cocos.custom_clocks module
- cocos.director module
- cocos.draw module
- cocos.euclid module
- cocos.fps module
- cocos.framegrabber module
- cocos.gl_framebuffer_object module
- cocos.grid module
- cocos.mapcolliders module
- cocos.menu module
- cocos.particle module
- cocos.particle_systems module
- cocos.path module
- cocos.rect module
- cocos.scene module
- cocos.shader module
- cocos.skeleton module
- cocos.sprite module
- cocos.text module
- cocos.tiles module
- cocos.utils module
- cocos.wired module
Module contents¶
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
Collision: Basic pure python support for collisions
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