发了个帖子,结果消失了,又得重发了....没保存........2小时写的.........好气......
所以本贴挑重点讲
如何将Godot的HTML5导出项载入小程序
我们需要HBuilderX作为构建工具,并且需要下载对应平台的开发者工具并注册
首先下载HBuilderX标准版:

下载uni-app编译插件:


新建一个uni-app项目,使用默认模板:


将Godot导出的HTML5文件全部移入刚才项目的static文件夹:


修改index.vue为以下代码:

<template height: 100%>
<iframe src="../../../static/名称.html" width=100% height=100% frameborder="0" scrolling="auto"></iframe>
</template>
<style >
uni-page-body{
height: 100%;
}
</style>
