简体   繁体   English

带有Dashcode的HTML5游戏

[英]Html5 game with Dashcode

I'm new to Dashcode and I got quick question here: 我是Dashcode的新手,在这里我有一个快速的问题:

Say I have a Html5 game (javascript) already, is it possible to integrate it into Dashcode (I don't know if I have myself understood) ~ I know I can add widget made with Dashcode into a ebook (using iBooks author) so it will be cool if I can add a "html5 widget game" into the book ~ 假设我已经有一个Html5游戏(javascript),是否可以将其集成到Dashcode中(我不知道自己是否了解)〜我知道我可以将Dashcode制作的小部件添加到电子书中(使用iBooks作者),因此如果可以在书中添加“ html5小部件游戏”,那就太好了〜

Hope someone familiar with Dashcode can help me here, thanks :) 希望熟悉Dashcode的人可以在这里帮助我,谢谢:)

I finally got this working and it is quite easy. 我终于完成了这项工作,这很容易。

Just create a folder and copy the required info.plist and Default.png in~ 只需创建一个文件夹,然后将所需的info.plist和Default.png复制到〜

Then copy all the game files and resource in and rename the launch html to main.html 然后复制所有游戏文件和资源,并将启动html重命名为main.html。

Finally rename the folder to xxxx.wdgt and that's it :) 最后,将文件夹重命名为xxxx.wdgt,就是这样:)

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

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