欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Cocos2d
来自开放百科 - 灰狐
您可以在Wikipedia上了解到此条目的英文信息 Cocos2d Thanks, Wikipedia. |
Cocos2d 是一个开源的 2D 游戏框架。它有两个版本:一个用 Python 编写,另一个用 Objective-C 编写面向 iOS 应用.
相关项目:cocos2d-x
目录 |
功能
- 流控制: Manage the flow control between different scenes in an easy way
- 精灵(Sprites): Fast and easy sprites
- 行为: Just tell sprites what you want them to do. Composable actions like move, rotate, scale and much more
- 效果: Effects like waves, twirl, lens and much more
- Tiled Maps: Support for rectangular and hexagonal tiled maps
- 转换: Move from scene to scene with style
- 菜单: Built in classes to create menus
- 文本描述: Label and HTMLLabel with action support
- 文档: Programming Guide + API Reference + Video Tutorials + Lots of simple tests showing how to use it
- 内置Python解析器: For debugging purposes
- BSD 许可: Just use it
- 基于Pyglet: No external dependencies
- 基于OpenGL: Hardware Acceleration
安装
- 下载,如 cocos2d-0.4.0.zip, python setup.py install
- 安装 setuptools
- 安装 Pyglet,如 pyglet-1.1.4.msi
- 测试:cd cocos2d-0.4.0/samples, python hello_world.py
iPhone
项目
链接
分享您的观点