问题描述
注意到对于Apache Cordova的增加的支持构建到Visual Studio 2013的Update 2中,我想知道是否可以创建一个使用Construct 2的游戏,导出为phonegap应用程序并使用这个新的VS功能构建。
After noticing the added support for Apache Cordova builds into Update 2 of Visual Studio 2013, I wonder if it could be possible to create a game with Construct 2, export as phonegap app and build using this new VS feature.
提前感谢
Marcelo
推荐答案
如果问题是你是否应该能够采取PhoneGap项目并转换它,然后是。然而,他们可能需要调整一些插件和config.xml的东西,取决于项目的年龄。 (例如:config.xml中有一些只是phonegap的东西)
If the question is whether you should be able to take a PhoneGap project and convert it, then yes. However, they may need to tweak some things around plugins and config.xml depending on how old the project is. (Ex: There are some things in config.xml that are phonegap only)
-
基本上,
Basically, copy the contents of what would go into the "www" folder into the root of the project.
在插件上:
a 。如果他们使用基础Cordova插件,那么他们可以去
点击清单编辑器中的插件
a. If they are using base Cordova plugins, then they can just goclick the plugins in the manifest editor
b。如果他们使用PhoneGap CLI项目,那么对于插件,他们实际上可以将其plugins文件夹的内容复制到VS项目
b. If they used a PhoneGap CLI project, then for plugins they can actually copy the contents of their "plugins" folder to a "plugins" folder in the VS project
c中的plugins文件夹。如果他们通过特性元素(旧的Cordova 2.x方式)引用自定义非基本插件,则他们可能需要进行一些调整 - 主要是因为插件像push和条形码不在plugins.cordova.io中
c. If they were referencing custom non-base plugins via feature elements (the old Cordova 2.x way), then they may need to make some adjustments – Mainly because plugins like push and barcode aren’t in plugins.cordova.io yet
这篇关于我可以构建游戏w /构造2和编译w /新VS 2013 Cordova支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!