简体   繁体   English

包装cocoon.io中的相位器应用程序时出错

[英]Error in wrapping phaser app in cocoon.io

I have created a game in Phaser and it runs file on my local machine via XAMPP. 我在Phaser中创建了一个游戏,它通过XAMPP在本地计算机上运行文件。 I have reshuffled my files to align to the Cocoon structure as per their example (basically just used the default Cocoon template, switched out a few files and editor the config.xml file with my own params), successfully compiled the app via Cocoon.io cloud service and created the .ipa file which I have put onto my device (the iPad mini). 我已经按照示例修改了文件以使其与Cocoon结构对齐(基本上只使用了默认的Cocoon模板,切换了一些文件,并使用自己的参数编辑了config.xml文件),并通过Cocoon.io成功编译了该应用程序云服务并创建了.ipa文件,该文件已放入设备(iPad mini)中。 However, when I run the file I get a black screen. 但是,当我运行文件时,出现黑屏。

I downloaded and installed the developer app on my iPad and dropped my zipped game into it. 我在iPad上下载并安装了开发人员应用程序,然后将压缩后的游戏放入了其中。 Then I ran the game via canvas+ and got these errors - the first when I run the app, the ones in red when I look at the debug. 然后,我通过canvas +运行了游戏,并得到了这些错误-第一个是我运行应用程序时出现的错误,而当我查看调试时是红色的错误。

When I compile to a native IOS app and launch, I just goes to a black screen. 当我编译为本地IOS应用并启动时,我只是进入黑屏。

Any ideas what is going on? 有什么想法吗? Completely at loss on this one. 完全不知所措。

Max. 最大。 在此处输入图片说明 在此处输入图片说明

刚刚意识到,在使用Cocoon开发应用程序时,您只需要移动www文件夹,而不需要像编译应用程序时那样移动整个应用程序文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM