File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ String getFileDirByUrl(String urlString /*"http://game.com/game/index.html"*/) {
60
60
61
61
以Android为例,解压完成后 /sdcard/egretGame/http/game.com/game/ 下的内容如下:
62
62
63
- ![ ] ( /native/img/docs/manual /hotupdate/p1.png)
63
+ ![ ] ( . /hotupdate/p1.png)
64
64
65
65
游戏资源解压完成后,设置config.preloadPath指定预加载目录,启动游戏后runtime会优先从这个目录加载资源。
66
66
Original file line number Diff line number Diff line change @@ -18,27 +18,27 @@ title: 如何发布微端项目
18
18
19
19
- 进入微端界面
20
20
21
- ![ ] ( /native/img/docs/manual /microclient/p0.png)
21
+ ![ ] ( . /microclient/p0.png)
22
22
23
23
- 注册游戏,填写游戏名称和地址
24
24
25
- ![ ] ( /native/img/docs/manual /microclient/p1.png)
25
+ ![ ] ( . /microclient/p1.png)
26
26
27
27
- 创建Android工程,填写应用报名和应用名称
28
28
29
- ![ ] ( /native/img/docs/manual /microclient/p2.png)
29
+ ![ ] ( . /microclient/p2.png)
30
30
31
31
- 根据需求选择是否使用Runtime加速,如果没有勾选,将通过WebView加载游戏,两种模式的优缺点如下:
32
32
33
- ![ ] ( /native/img/docs/manual /microclient/p3.png)
33
+ ![ ] ( . /microclient/p3.png)
34
34
35
35
## 使用本地资源
36
36
37
37
微端使用的资源默认从网络加载,从 v0.0.13 版本开始,可以将资源打包在 app 中。
38
38
39
39
使用本地资源或想要把H5游戏打包到微端里,只需将h5发布的项目直接拷贝到 assets/game 目录,如没有这个目录请创建。
40
40
41
- ![ ] ( /native/img/docs/manual /microclient/p4.jpg)
41
+ ![ ] ( . /microclient/p4.jpg)
42
42
43
43
## JS与Java通信
44
44
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ title: 如何发布原生项目
23
23
24
24
- 在launcher的项目面板找到需要发布Android工程的Egret项目,点击发布设置
25
25
26
- ![ ] ( /native/img/docs/manual /projectsetting/p0.png)
26
+ ![ ] ( . /projectsetting/p0.png)
27
27
28
28
- 点击左侧的Android按钮,在右侧页面中,输入应用名称、应用包名,点击确定。
29
29
30
- ![ ] ( /native/img/docs/manual /projectsetting/p1.png)
30
+ ![ ] ( . /projectsetting/p1.png)
31
31
32
32
33
33
## 发布iOS工程
@@ -36,11 +36,11 @@ title: 如何发布原生项目
36
36
37
37
- 在launcher的项目面板找到需要发布iOS工程的Egret项目,点击发布设置
38
38
39
- ![ ] ( /native/img/docs/manual /projectsetting/p0.png)
39
+ ![ ] ( . /projectsetting/p0.png)
40
40
41
41
- 点击左侧的iOS按钮,在右侧页面中,输入应用名称、应用包名,点击确定。
42
42
43
- ![ ] ( /native/img/docs/manual /projectsetting/p2.png)
43
+ ![ ] ( . /projectsetting/p2.png)
44
44
45
45
46
46
## 工程设置
You can’t perform that action at this time.
0 commit comments