{
  "schemaVersion": 1,
  "atomId": "preloader_scene.aicomponent",
  "bundleType": "aicomponent",
  "category": "scene",
  "mode": "fixed",
  "label": { "zh": "预加载场景", "en": "Preloader scene" },
  "tags": ["scene", "preloader", "asset-loading", "loading-ui", "phaser"],
  "bindingRoles": ["preloaderScene"],
  "scaffold": {
    "files": {
      "src/game/scenes/Preloader.ts": {
        "source": "ref/Preloader.ts",
        "mode": "full",
        "weight": 10
      }
    }
  },
  "imports": [
    { "slot": "engine",    "pinAtomId": "phaser.aicomponent",                "edgeKind": "requires", "bindAs": "engine" },
    { "slot": "lifecycle", "pinAtomId": "phaser_scene_lifecycle.aicomponent", "edgeKind": "requires", "bindAs": "lifecycle" },
    {
      "slot": "loadingScreen",
      "description": "Loading 页面 UI 组件（logo/title/stars/desc/dots 动画）",
      "bindAs": "loadingUI",
      "required": true,
      "edgeKind": "compatibleWith",
      "matchBindingRoles": ["loadingScreen"],
      "allowedBundleTypes": ["aicomponent"]
    }
  ],
  "exports": [
    { "name": "Preloader", "kind": "class", "location": "src/game/scenes/Preloader.ts" }
  ],
  "neutralDescriptor": {
    "geometry": "Phaser scene that preloads all game assets with a visual loading indicator, then signals the ad platform and transitions to the main game scene",
    "layers": ["asset-loading", "loading-progress-ui", "scene-transition"]
  },
  "files": {
    "skill": "SKILL.md",
    "preloader": "ref/Preloader.ts"
  }
}
