Build Options

    You can designate a release path for the game by inputting a path in the Build Path input field or choosing one via the search icon button. The following cross-platform release will create assets or projects in child folders of this release path.

    The default release path is in the under the project folder. If you use version control systems like git and svn, you can ignore the build folder in version control.

    Included Scenes

    There are usually multiple game scenes in the project, this option allows you to choose the scenes you want to package. During the build process, all assets that depended on these selected scene assets in deep will be packaged. Just select the game scenes that are actually needed can reduce the size of game package after build.

    Start Scene

    The first scene after entering the game can be set directly in the Start Scene. You can also choose other scenes, that are part of your game, in Included Scenes. Move the mouse to the scene, a move up icon button will appear after the scene, then click the button to set it.

    start scene

    MD5 Cache

    Append MD5 hash to the exported assets for resolving CDN or browser cache issue.

    After being enabled, if any asset fails to load, it is because the renamed new file can not be found. It is usually because some third-party assets were not loaded by assetManager. If this happens, you can convert the url before loading, to fix the loading problem. Example:

    Set the compression type of the main package, please refer to the documentation for details.

    Main Bundle Is Remote

    This option is optional and needs to be used with the Resource Server Address option.

    If set, the main package is configured as a remote package, and along with its related dependent resources are built into a built-in Asset Bundle — under the remote folder of the release package directory. You need to upload the entire remote folder to the remote server.

    Resource Server Address

    This option is optional and used to fill in the address of the remote server where the resources are stored.

    • If this option is left blank, the remote folder in the release package directory will be packaged into the built game package.

    Debug

    If this option is not checked, release mode will be built and the editor will compress and obfuscate the uuid of the asset, the engine script and project script generated by the build, and subpackage the json of the same type asset, reducing the times of asset loading.

    If this option is checked, debug mode will be built, allowing you to debug the project and easily locate problems.

    The build will compress engine files and project scripts by default, if you want to generate a sourcemap, you need to check this box.

    A source map is a file that maps from the transformed source to the original source, enabling the browser to reconstruct the original source and present the reconstructed original in the debugger.

    Replace Splash Screen

    Mouse over this option and an Edit icon button will appear. Click this button and the panel will open. The first time you use this feature you need to fill out a questionnaire before opening the Replace Splash Screen panel. There will be some project-based information in the questionnaire, and we hope to gather more information on games developed using Cocos Creator, as well as more support programs in the future that developers will hopefully be able to fill out truthfully.

    Earse module structure (experimental)

    If this option is checked, importing scripts will be faster, but you will not be able to use module characteristics, such as import.meta, , etc.

    Cocos Service Config Set

    This option is used to display all the services integrated in the panel for the current project.

    If this option is checked, the Cocos Analytics service in the panel can be enabled directly.

    Currently, due to the adjustment of the build mechanism, the processing of different platforms are injected into the Build panel as plugins. After you select the platform you want to build in the Platform of the Build panel, you will see the expanded options for the corresponding platform, and the name of the expanded options is the platform plugin name. You can see each platform plugin in Extension -> Extension Manager -> Internal of the main menu of the editor.

    Custom build plugins are handled in the same way as platform plugins, see Extend the Build Process for details.

    The configuration in the editor menu bar Project -> Project Settings will affect the result of the project build, please refer to for details.