简体   繁体   中英

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. 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). 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. 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.

When I compile to a native IOS app and launch, I just goes to a black screen.

Any ideas what is going on? Completely at loss on this one.

Max. 在此处输入图片说明 在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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