update final game assets structure

This commit is contained in:
dungdq 2025-06-12 14:31:15 +07:00
parent 73e27c2a6b
commit 763c605437
2 changed files with 13 additions and 20 deletions

View File

@ -235,7 +235,7 @@ Feature game assets (e.g., free-game, pickup, bonus, gamble) are stored in a fol
#### Localized Assets
The `localizes/` folder contains assets tailored for different languages (e.g., ZH, TH, ID). This ensures that fonts and textures can be displayed appropriately for each supported locale.
The `localizes/` folder stores language-specific assets (e.g., `zh`, `th`, `id`, etc.), allowing the game to display the correct fonts and textures based on the selected language.
##### Folder structure:
@ -263,25 +263,18 @@ The `localizes/` folder contains assets tailored for different languages (e.g.,
---
#### Meta JSON Merger (Cocos Creator Editor Extension)
#### Meta JSON Merger
##### Purpose
Merges multiple JSON metadata files from `library/imports/` into one consolidated file (`fullMetaData.json`) to streamline asset management and build optimization.
Merges JSON metadata files under library/imports/ into one fullMetaData.json.
![Purpose](./img/merge-json-assets.png)
##### Features
###### Excludes:
- Recursively collects `.json` files (excluding `fullMetaData.json`)
- Filters out:
- `cc.SceneAsset`
- `cc.Prefab`
##### Example
- **Input**: `{Project}/library/imports/**/*.json`
- **Output**: `{Project}/library/imports/fullMetaData.json`
- cc.SceneAsset
- cc.Prefab
```json
{
@ -291,11 +284,11 @@ Merges multiple JSON metadata files from `library/imports/` into one consolidate
```
---
#### Texture Compression Tool (Cocos Creator Extension)
#### Texture Compression Tool
##### Purpose
This editor extension manages texture compression settings for game assets to optimize performance and build size.
Manages and applies compression settings to game textures.
![Compression](./img/compress-over.png)
@ -327,11 +320,11 @@ Compression settings for PNG and JPG formats:
---
#### Remove Packable Texture Cocos Creator Tool
#### Remove Packable Texture Tool
##### Overview
This editor extension removes the `packable` flag from all texture assets in your project, preventing them from being packed into texture atlases.
Removes the `packable` flag from all texture assets to prevent automatic atlas packing.
![Remove Packable](./img/remove-packable-texture.png)

6
package-lock.json generated
View File

@ -8091,9 +8091,9 @@
}
},
"node_modules/docusaurus-lunr-search": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/docusaurus-lunr-search/-/docusaurus-lunr-search-3.6.1.tgz",
"integrity": "sha512-ms2FWYzR7OrvS2x0/HSPaAenAATrBenGpCwWpjmpK8SnUpqygVPvuss2RG5l2ZuMxpKFP0rhEnEy8Kx4lSQimw==",
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/docusaurus-lunr-search/-/docusaurus-lunr-search-3.6.0.tgz",
"integrity": "sha512-CCEAnj5e67sUZmIb2hOl4xb4nDN07fb0fvRDDmdWlYpUvyS1CSKbw4lsGInLyUFEEEBzxQmT6zaVQdF/8Zretg==",
"license": "MIT",
"dependencies": {
"autocomplete.js": "^0.37.1",