Skip to content

Commit

Permalink
bundling.md release vs debug zh_cn (#293)
Browse files Browse the repository at this point in the history
* update physics

* update input

* update

* update code sharing in getting-help.md

* Export Compliance

* update on file i/o

* pi / 4

* inputs

* forum url

* read only user

* html5 gamepad

* sdk api update

* update

* image properties

* update editor

* defold sdk update

* animation updates

* animation fix

* run as admin

* update bob

* update about AndroidX support

* software render

* linux-faq.md update

* 4.28.2021 updates

* 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
  • Loading branch information
CocosGames authored Oct 25, 2022
1 parent cdf78f7 commit 818d04d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/zh/manuals/bundling.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,16 @@ Bundle 文件夹的内容每个平台也不一样.
通过 [custom_resources](https://defold.com/manuals/project-settings/#custom-resources) 项, 设置应打包 (同时也被压缩) 进 game.arcd 里的资源.
这类资源可以使用 [sys.load_resource()](https://defold.com/ref/sys/#sys.load_resource) 函数来进行访问.

## Release 与 Debug

打包游戏时有个选项允许选择创建 debug 还是 release 应用. 这两种应用包类似但是要记得两者存在如下区别:

* Release 包不包含 [性能分析器](/manuals/profiling)
* Release 包不包含 [屏幕录制器](/ref/stable/sys/#start_record)
* Release 不输出调用 `print()` 产生的信息也不输出原生扩展产生的任何信息
* Release 包的 `sys.get_engine_info()` 中的 `is_debug` 被设置为 `false`
* Release 包调用 `tostring()` 时不会反查 `hash` 值. 也就是说对于一个类型为 `url``hash` 值的 `tostring()` 不会返回原值字符串而是返回一个数字表示的字符串 (`'hash: [/camera_001]'` 对比 `'hash: [11844936738040519888 (unknown)]'`)
* Release 包不支持编辑器中设置的用于 [热重载](/manuals/hot-reload) 和类似功能的 target



0 comments on commit 818d04d

Please sign in to comment.