Cocos2d-x

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(JavaScript)
(链接)
 
(未显示1个用户的16个中间版本)
第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++==
  
==HTML5==
+
==Swift==
 +
[https://github.com/cocos2d/cocos2d-x-swift-bindings cocos2d-x-swift-bindings]
 +
 
 +
==JavaScript==
 
*[https://github.com/cocos2d/cocos2d-html5 Cocos2d-html5]
 
*[https://github.com/cocos2d/cocos2d-html5 Cocos2d-html5]
 
*[https://github.com/cocos2d/cocos2d-js Cocos2d-JS]
 
*[https://github.com/cocos2d/cocos2d-js Cocos2d-JS]
 +
 +
==Lua==
 +
*[https://github.com/chukong/quick-cocos2d-x quick-cocos2d-x]
 +
 +
==文档计划==
 +
*[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-js-structure.jpg|Cocos2d-JS
+
image:cocos2d-family.png|Cocos2d家族
 +
image:cocos2d-x-framework-architecture.jpg|Cocos2d-x架构
 +
image:cocos2d-js-structure.jpg|Cocos2d-JS架构
 
image:cocos2d-js-workflow.jpg|工作流
 
image:cocos2d-js-workflow.jpg|工作流
 
image:plugin-x-architecture.jpg|Plugin-x架构
 
image:plugin-x-architecture.jpg|Plugin-x架构
 
image:plugin-x-sequence-chart.jpg|Plugin-x序列图
 
image:plugin-x-sequence-chart.jpg|Plugin-x序列图
 +
image:Cocos-Creator-SpineBoy.png|SpineBoy
 +
image:PokerStars-Cocos2d-x.png|PokerStars扑克之星
 
</gallery>
 
</gallery>
  
第37行: 第61行:
 
*[http://www.cocos2d-x.org cocos2d-x官网]
 
*[http://www.cocos2d-x.org cocos2d-x官网]
 
*[https://github.com/cocos2d/cocos2d-x cocos2d-x @ github]
 
*[https://github.com/cocos2d/cocos2d-x cocos2d-x @ github]
 +
*[https://github.com/chukong 触控科技 @ GitHub]
 +
*[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]
第42行: 第69行:
  
 
[[category:game engine]]
 
[[category:game engine]]
 +
[[category:cocos2d]]
 
[[category:c++]]
 
[[category:c++]]
 
[[category:iOS]]
 
[[category:iOS]]
 
[[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

cocos creator

[编辑] Eclipse C/C++

[编辑] Swift

cocos2d-x-swift-bindings

[编辑] JavaScript

[编辑] Lua

[编辑] 文档计划

[编辑] 用户

[编辑] 图集

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱