How to Start a New Cocos2d-x Game for version 3.0
来源:互联网 发布:java项目开发流程 编辑:程序博客网 时间:2024/05/19 20:42
This documentation will show you how to use cocos console to create and run a new project.
Runtime Requirements
- Android 2.3+
- iOS 5.0+
- OS X 10.7+
- Windows 7+
- Ubuntu 12.04+
- Cocos2d-x v3.0+
Software Requirements
- Xcode 4.6 (for iOS or Mac)
- gcc 4.7 for Linux or Android. For Android ndk-r9 or newer is required.
- Visual Studio 2012 (for Windows)
- Python 2.7.5
Create A New Project
MyGame
: name of your project-p com.MyCompany.MyGame
: package name for android-l cpp
: programming language used for the project, valid value iscpp
andlua
-d ~/MyCompany
: directory to hold your project
Folder structure of the generated project is as following:
(Note: The directory may be different when the project type is lua.)
Build And Run New Project
-s
: directory of the new project. This could be an absolute path or a relative path.-p
: which platform to run on. Options areios
,android
,win32
,mac
andlinux
.
(Note: You are a tmux user, you should add reattach-to-user-namespace
before the command cocos
. For more information, please refer to this link for more information.)
You can run cocos run --help
for more detail information.
0 0
- How to Start a New Cocos2d-x Game for version 3.0
- How to Start a New Cocos2d-x Game
- How to start a new process for Android?
- How to start a new process for Android
- How to start a new process for Android?
- How to start a new process for Android?
- how to start a new goal
- How to create a new game
- How To Make A Simple iPhone Game with Cocos2D Tutorial
- How To Make a Tile Based Game with Cocos2D
- How To Make A Simple iPhone Game with Cocos2D Tutorial
- How To Make A Simple Android Game with Cocos2D
- How to Integrate AdWhirl into a Cocos2D Game
- Beginner's Guide For How To Start A Startup
- How To Make A Simple iPhone Game with Cocos2D 3.0 Tutorial
- A new start for me
- How to tune a new closeloop vcm, for instance, LC898214?
- How to make a sprite from URL in cocos2d-x
- std::vector,std::deque,std::list的区别的使用
- 微软cab 打包
- 单源最短路径的SPFA算法
- jsp中写js片段
- Androidz之Activity概要学习
- How to Start a New Cocos2d-x Game for version 3.0
- 二叉树的链表实现
- c#存储图片到数据库读数据库显示图片实例
- CSDN的博文如何转载
- A. Kitahara Haruki's Gift
- 通过实现一个 TableView 来理解 iOS UI 编程
- ScrollView嵌套ListView只显示一行
- iOS用plist初使化NSDictionary
- UIImageView的常用事项