如何在Xcode中包括cocos2d-x模板? [英] How can I include cocos2d-x templates in Xcode?
问题描述
我想关注这个指南,该指南经常被引用为Cocos2d-x的精彩教程。问题是,我的下载Cocos2d-x(2.2和3.0 alpha0)不包括教程指示的文件, install-templates-xcode.sh > strong>。
任何想法在这里发生了什么?我做了一个搜索这个术语,没有出现,所以我假设它不是深藏在文件中。
出于挫折我下载cocos2d-iphone,并且该文件夹显然包含 install-templates.sh 文件。我宁愿开发多平台,但这个简单的问题是真的困扰我。我只想创建一个Xcode项目并选择cocos2d-x模板(如上面链接的教程中所示)。
查看github库:
请注意,iPhone存储库具有install-templates文件。
也许我缺少一些显而易见的东西,这是通常的情况。无论如何,帮助将非常感谢。
它不存在了。您需要在终端中使用 create_project.py 工具/项目创建者。
- > python create_project.py [params]
例如:
- > python create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language cpp
我知道真的吸。但是最好创建多平台项目。
I'm trying to follow this guide which is often quoted as being an excellent tutorial for Cocos2d-x.
The problem is that my downloads for Cocos2d-x (2.2 and 3.0 alpha0) do not include the file the tutorial indicates, install-templates-xcode.sh.
Any idea what happened here? I did a search for that term, and nothing came up, so I'm assuming it's not hidden deeper in the files.
Out of frustration I downloaded cocos2d-iphone, and that folder clearly has the install-templates.sh file. I'd rather develop for multi-platform, but this simple issue is really bothering me. I simply want to be able to create an Xcode project and choose the cocos2d-x template (as is indicated in the tutorial I linked above).
See the github repositories:
Notice the iPhone repository has the install-templates file.
Maybe I'm missing something obvious, which is usually the case. Regardless, help would be very appreciated.
It doesn't exist anymore. You need to use create_project.py inside tools/project-creator in terminal.
-> python create_project.py [params]
example:
-> python create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language cpp
I know, it really sucks. But it's better for creating multi-platform projects.
这篇关于如何在Xcode中包括cocos2d-x模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!