-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Basis Universal format * sound & mesh * gamepad event mapping * admob url * Minor edit to building blocks intro text * update gamepad & ios * project settings * libffi version * scaling * image compression * update gamepads * increase memory * caching assets * update 2021/10/6 * update 2021/10/16 blend-modes.md * update 2021/11/12 * allow dynamic transforms update * Bundle update * update faq * bullet & bob * script properties update * editor-styling * build server url * editor templates * spine extension update * Fix typo in the "optimizations" word in Chinese docs * Update to material.md - Constants buffers * Verify Graphics Calls * H5 parameters * OpenJDK downloads * cn update corresponds to [pull 259](#259) * application security * porting guidelines * update for 8f1651f * cn update for 094bf6f * cn update for 20fdfc5 & 6263317 * cn update for 7/19/2022 * title * profiling update * update editor.md * update bob.md * update shortcuts * update fixed update note * Update properties.md * Update material.md * Updates links * Update bob help with the latest info * camera & renderer * Updated android keystore info zh_cn * bundling.md release vs debug zh_cn * update bob.md & gui-clipping.md * contentless bundle * consoles update * model animation link * gamepad & faq * remove a camera lib * font shadow render mode fix * updates about app-manifest and others * Update script.md * includes in shaders * editor scripts * material updates * Added dynamic atlas and texture creation * fixes for atlas and some others * update screenshots and add explanations (CN) * add a line about Dynamic Prototype (CN) * remove "inline" marks in pics * de-translate the subtitle "Running the debugger" & images fix * bundle identifier restrictions * node properties Enabled and Visible (CN) * release checklist & slice-9 * Update project-settings.md (CN) * Update camera.md (CN) * Update project-settings.md (CN) * culling of meshes (CN) * Update project-settings.md (CN) * gltf model file support (CN) * updates about factory (CN) * Update bob.md (CN) * Update bob.jar help (CN) * Update about renderer and other things * Update PS4 development and other things * Dynamic prototype part of the collection factory. * sync to atlas.md * sync to design.md * sync to gpgs.md * sync to hot-reload.md * sync to linux.md * sync to live-update.md * sync to lua.md * sync to networking.md * sync to physics-shapes.md * sync to push.md * sync to test.md * sync to working-offline.md * update material.md * update zerobrane.md * all done * Splitting .zip archives in live-update.md * manual for collision events * Updated sprite documentation to include info about multiple textures * update editor-scripts.md & physics-events.md * update buffer.md & physics-shapes.md * screen blend mode * Update camera manual for zh with new function. * Fix texture profile documentation for 1.7.0 zh * update material.md & render.md * notice about physics-events * script-properties notes & PS5 * Clarified collision messages * Update 3rd party camera list * Fixed links in live update manual zh * Update lua.md * Update html5 manual with new information about CUSTOM_PARAMETERS. zh * Added note on Apple Privacy Manifests zh * typo * Add info about collection proxies for zh * fix minor mistakes * typo * custom resource & physics.set_shape * Add missing type property in the physics.set_shape for zh * html5 param & coordinates convertion * Update install.md for zh * Added app manifest manual for zh * Added more info on build variants for zh
- Loading branch information
1 parent
f960d14
commit 610ce76
Showing
5 changed files
with
161 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: App manifest | ||
brief: 本教程介绍了如何使用应用清单来去掉引擎的特性. | ||
--- | ||
|
||
# App manifest | ||
|
||
应用清单控制为引擎加入或去掉功能特性. 推荐为引擎去掉不用的特性因为可以减小游戏包体. | ||
|
||
![](images/app_manifest/create-app-manifest.png) | ||
|
||
![](images/app_manifest/app-manifest.png) | ||
|
||
## Physics | ||
|
||
控制使用哪个物理引擎, 或者选择 None 来完全去掉物理引擎. | ||
|
||
|
||
## Exclude Record | ||
|
||
从引擎中去掉视频录制功能 (参见手册 [`start_record`](https://defold.com/ref/stable/sys/#start_record) 消息). | ||
|
||
|
||
## Exclude Profiler | ||
|
||
从引擎中去掉分析器. 分析器用来收集性能和使用计数器. 参见 [分析器教程](/manuals/profiling/). | ||
|
||
|
||
## Exclude Sound | ||
|
||
从引擎中去掉所有声音播放功能. | ||
|
||
|
||
## Exclude Input | ||
|
||
从引擎中去掉所有输入处理. | ||
|
||
|
||
## Exclude Live Update | ||
|
||
从引擎中去掉 [热更新功能](/manuals/live-update). | ||
|
||
|
||
## Exclude Basis Universal | ||
|
||
从引擎中去掉基础通用 [纹理压缩库](/manuals/texture-profiles). | ||
|
||
|
||
## Use Android Support Lib | ||
|
||
使用安卓支持库而不使用 Android X. [更多详情参见这里](https://defold.com/manuals/android/#using-androidx). | ||
|
||
|
||
## Graphics | ||
|
||
选择使用的图形后端. | ||
|
||
* OpenGL - 只包含 OpenGL. | ||
* Vulkan - 只包含 Vulkan. | ||
* OpenGL and Vulkan - 同时包含 OpenGL 和 Vulkan. Vulkan 是默认的, Vulkan 不可以时使用 OpenGL. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## Build variants | ||
|
||
打包游戏时, 需要选择你想用的引擎类型. 有三个基本类型可以选择: | ||
|
||
* Debug | ||
* Release | ||
* Headless | ||
|
||
这些类型即是 `Build variants` | ||
|
||
::: sidenote | ||
使用 <kbd>Project ▸ Build</kbd> 时使用的是 debug 版引擎. | ||
::: | ||
|
||
### Debug | ||
|
||
此版本通常在游戏开发阶段使用, 因为它具有许多有用的调试功能: | ||
|
||
* 分析器 - 用于收集性能和使用计数器. 如何使用分析器参见 [分析器教程](/manuals/profiling/). | ||
* 日志 - 日志开启后引擎会记录系统信息, 警告和错误. 引擎也会通过 Lua `print()` 功能, 原生扩展使用 `dmLogInfo()`, `dmLogError()` 之类的功能记录日志. 如何阅读日志参见 [游戏和系统日志教程](https://defold.com/manuals/debugging-game-and-system-logs/). | ||
* 热重载 - 热重载是一个强大的功能, 能让开发者在游戏运行时重新载入资源. 如何使用热重载参见 [热重载教程](https://defold.com/manuals/hot-reload/). | ||
* 引擎服务 - 游戏的调试版本可以连结一些开启的 TCP 端口和服务并与之交互. 这些服务包括热重载功能, 远程日志存取和上述的分析器功能, 以及其他一些各种各样的服务. 关于引擎服务参见 [开发者教程](https://github.com/defold/defold/blob/dev/engine/docs/DEBUG_PORTS_AND_SERVICES.md). | ||
|
||
### Release | ||
|
||
此版本移除调试功能. 准备发布到应用商店时使用此版本. 基于以下原因不推荐发布包含调试功能的游戏: | ||
|
||
* 调试功能会使包体略微变大, [我们应该尽量使发布游戏包体最小](https://defold.com/manuals/optimization/#optimize-application-size). | ||
* 调试功能也会占用一点 CPU 时长. 这可能使用户的老机型卡顿. 在手机上增加 CPU 使用也会造成过热和电池消耗. | ||
* 调试功能可能会给用户暴露不应暴露的信息, 无论从安全, 作弊还是欺诈角度. | ||
|
||
### Headless | ||
|
||
此版本没有图像和声音. 也就是说它可以 CI 服务器上进行 unit/smoke 测试, 甚至可以在云端作为服务器程序使用. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters