欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Cocos2d-x
来自开放百科 - 灰狐
(版本间的差异)
小 (→Lua) |
小 (→链接) |
||
(未显示1个用户的9个中间版本) | |||
第7行: | 第7行: | ||
bin/cpp-empty-test/cpp-empty-test | bin/cpp-empty-test/cpp-empty-test | ||
bin/lua-empty-test/lua-empty-test | bin/lua-empty-test/lua-empty-test | ||
+ | 创建HelloWorld项目 | ||
+ | 进入到目录cocos2d-x-3.12/tools/cocos2d-console/bin/ | ||
+ | python cocos.py new HelloWorldDemo -p com.coco2dx.org -l cpp -d ~/Desktop | ||
创建一个新游戏 | 创建一个新游戏 | ||
cd cocos2d-x | cd cocos2d-x | ||
第19行: | 第22行: | ||
cocos run -p mac | cocos run -p mac | ||
更多[http://phabricator.huihoo.com/diffusion/COCOSDX/browse/master/cocos2d-x-3.3/ 安装细节] | 更多[http://phabricator.huihoo.com/diffusion/COCOSDX/browse/master/cocos2d-x-3.3/ 安装细节] | ||
+ | |||
+ | ==Cocos Creator== | ||
+ | [[cocos creator]] | ||
==Eclipse C/C++== | ==Eclipse C/C++== | ||
+ | |||
+ | ==Swift== | ||
+ | [https://github.com/cocos2d/cocos2d-x-swift-bindings cocos2d-x-swift-bindings] | ||
==JavaScript== | ==JavaScript== | ||
第31行: | 第40行: | ||
==文档计划== | ==文档计划== | ||
*[https://github.com/chukong/cocos-docs cocos-docs] Documentation for Cocos2d-x, Cocos2d-html5 and Cocos Studio | *[https://github.com/chukong/cocos-docs cocos-docs] Documentation for Cocos2d-x, Cocos2d-html5 and Cocos Studio | ||
+ | *[http://cocos2d-x.org/docs/ Cocos2d-x英文文档] | ||
+ | *[http://www.cocos.com/docs/ Cocos2d-x中文文档] | ||
+ | |||
+ | ==用户== | ||
+ | *[https://www.pokerstars.com/ PokerStars扑克之星] | ||
==图集== | ==图集== | ||
<gallery> | <gallery> | ||
+ | image:cocos2d-family.png|Cocos2d家族 | ||
image:cocos2d-x-framework-architecture.jpg|Cocos2d-x架构 | image:cocos2d-x-framework-architecture.jpg|Cocos2d-x架构 | ||
image:cocos2d-js-structure.jpg|Cocos2d-JS架构 | image:cocos2d-js-structure.jpg|Cocos2d-JS架构 | ||
第40行: | 第55行: | ||
image:plugin-x-sequence-chart.jpg|Plugin-x序列图 | image:plugin-x-sequence-chart.jpg|Plugin-x序列图 | ||
image:Cocos-Creator-SpineBoy.png|SpineBoy | image:Cocos-Creator-SpineBoy.png|SpineBoy | ||
+ | image:PokerStars-Cocos2d-x.png|PokerStars扑克之星 | ||
</gallery> | </gallery> | ||
第47行: | 第63行: | ||
*[https://github.com/chukong 触控科技 @ GitHub] | *[https://github.com/chukong 触控科技 @ GitHub] | ||
*[http://api.cocos.com/ cocos2d-x api 中文] | *[http://api.cocos.com/ cocos2d-x api 中文] | ||
+ | *[http://docs.huihoo.com/doxygen/cocos2d-x/ Cocos2d-x Doxygen] | ||
*[http://code.google.com/p/cocos2d-x/ cocos2d-x @ google code] | *[http://code.google.com/p/cocos2d-x/ cocos2d-x @ google code] | ||
*[http://slackmoehrle.github.io/ Cocos2d-x Programmers Guide v3.3] | *[http://slackmoehrle.github.io/ Cocos2d-x Programmers Guide v3.3] | ||
第57行: | 第74行: | ||
[[category:android]] | [[category:android]] | ||
[[category:OS X]] | [[category:OS X]] | ||
+ | [[category:huigou]] |
2017年4月24日 (一) 03:01的最后版本
Cocos2d-x 是 cocos2d 游戏引擎的C++版本,跨平台、轻量、友好、自由、开源(MIT)。
目录 |
[编辑] 安装
OS X
cd cocos2d-x/build open cocos_tests.xcodeproj bin/cpp-empty-test/cpp-empty-test bin/lua-empty-test/lua-empty-test
创建HelloWorld项目
进入到目录cocos2d-x-3.12/tools/cocos2d-console/bin/ python cocos.py new HelloWorldDemo -p com.coco2dx.org -l cpp -d ~/Desktop
创建一个新游戏
cd cocos2d-x python download-deps.py git submodule update --init ./setup.py source FILE_TO_SAVE_SYSTEM_VARIABLE cocos new MyGame -p com.huihoo.mygame -l cpp -d hellococos2d cd hellococos2d/MyGame cocos run -p android -j 4 cocos run -p ios cocos run -p mac
更多安装细节
[编辑] Cocos Creator
[编辑] Eclipse C/C++
[编辑] Swift
[编辑] JavaScript
[编辑] Lua
[编辑] 文档计划
- cocos-docs Documentation for Cocos2d-x, Cocos2d-html5 and Cocos Studio
- Cocos2d-x英文文档
- Cocos2d-x中文文档
[编辑] 用户
[编辑] 图集
[编辑] 链接
分享您的观点