Files
KateLegend2_proj/assets/resources/README.md
T
2026-05-06 08:17:32 +08:00

17 lines
732 B
Markdown

# `assets/resources`
Runtime-loadable resource bundle. Cocos Creator treats everything under
`resources/` as eligible for `resources.load()`/`loadBundle()` APIs.
```
resources/
├── prefabs/ # reusable prefabs (player, enemies, bullets, particles)
├── textures/ # atlas textures, sprite sheets (forest/castle/mocastle)
├── audio/ # bgm (mp3) and sfx (wav) — total ≤ 500KB (req 16.5)
└── configs/ # JSON config tables (enemies, levels, items, story)
```
First-package footprint must stay ≤ 4MB (req 18.7). Non-chapter-1 resources
are expected to sit under `assets/resources/chapter2/`, `chapter3/` etc. as
**remote sub-packages** once those chapters are implemented (out of MVP).