doc-slot-core-manual/docs/05-custom-cocos-engine/03-setup-after-change-assets copy.md

48 lines
1.4 KiB
Markdown

# Setup After Change Assets
## CUSTOM-SCALE
:::info
Short description: This helper will help you update file custom-scale-data, which can auto scale your asset to optimize.
:::
![Add Symbol Texture](./img/run-custom-scale.png)
This file will change after you run this.
![Add Symbol Texture](./img/custom-scale.png)
## REMOVE PACKAGE
:::info
Short description: Asset of cocos will auto pack atlas when build. Our atlas already packed by tps, so we have to remove this setting.
:::
![Add Symbol Texture](./img/run-remove-packable.png)
Your asset will change this setting.
![Add Symbol Texture](./img/remove-packable.png)
## COMPRESS TEXTURE FORMAT
:::info
Short description: This helper will help you update file custom-scale-data, which can auto scale your asset to optimize.
:::
![Add Symbol Texture](./img/run-compress-texture.png)
Your asset will change this setting.
![Add Symbol Texture](./img/compress-texture.png)
## RUN PRELOAD HYPER HELPER
:::info
Short description: This helper will setup to load your assets with mobile/desktop & localize.
:::
![Add Symbol Texture](./img/run-preload-helper.png)
:::warning
Remember open preload scene when run this helper.
:::
## MERGE JSON FILES
:::info
Short description: This helper merges all your JSON files into one, helping the game run faster in the editor.
:::
![Add Symbol Texture](./img/run-merge-json.png)