egret-docs-master/Engine2D/publish/README.md

36 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

通过 `Egret` 引擎制作的游戏,不仅可以发布成 `Html5` 网页项目,还可以发布成原生项目。
## 使用命令行
您可以使用命令 `egret publish` 命令来发布 `Html5` 项目
## 使用 Egret Launcher 发布
#### 发布的项目类型
我们在引擎工具 [Egret Launcher](https://egret.com/products/engine.html) 里集成了打包发布的可视化工具,可以把您的项目发布成多种类型。
目前支持的发布类型有:
* `Html5`
* `iOS`
* `Android`
* `微信小游戏`
* `QQ 玩一玩`
* `Facebook Instant Game`
* `QQ 玩一玩`
* `区块链项目`
#### 如何发布
* 1切换到项目面板点击右侧的`发布项目`按钮
![](./p1.png)
* 2在弹出的面板中左侧可以选择要发布的项目类型。
![](./p2.png)
* 3`Html5` 类型里可以填写版本号,用于版本控制。比如版本号填写了`v1`,那么发布出来的项目结构如下图所示
![](./p3.png)
**更多发布原生项目的信息,请查看 [Egret Native 相关文档](http://developer.egret.com/cn/github/egret-docs/Native/index.html?home=1)**