feat: 添加 Main 场景文件和脚本 .meta 文件
- assets/Scenes/Main.scene: 8x12 棋盘主场景 - 所有脚本添加 .meta 文件供 Cocos Creator 导入 - 场景已预配置 Canvas + GameController Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
52
assets/Scenes/Main.scene
Normal file
52
assets/Scenes/Main.scene
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"__type__": "cc.Scene",
|
||||
"_name": "Main",
|
||||
"_active": true,
|
||||
"_id": "00ScnFull000001",
|
||||
"_children": [
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Canvas",
|
||||
"_active": true,
|
||||
"_id": "00CnvsFull00001",
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_components": [
|
||||
{
|
||||
"__type__": "cc.Canvas",
|
||||
"_id": "00CnvCmp000001",
|
||||
"node": null,
|
||||
"designResolution": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 580,
|
||||
"height": 960
|
||||
},
|
||||
"fitWidth": false,
|
||||
"fitHeight": true
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_id": "00UiTrFull0001",
|
||||
"node": null,
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 580,
|
||||
"height": 960
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "00ScrGameCtrlr",
|
||||
"_id": "00ScrCmpFull01",
|
||||
"node": null,
|
||||
"_enabled": true
|
||||
}
|
||||
],
|
||||
"_prefab": null
|
||||
}
|
||||
],
|
||||
"_globals": {},
|
||||
"_autoReleaseAssets": false,
|
||||
"_preloadAudioSettings": {
|
||||
"allowMobileAudio": true
|
||||
}
|
||||
}
|
||||
8
assets/Scenes/Main.scene.meta
Normal file
8
assets/Scenes/Main.scene.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "scene",
|
||||
"uuid": "00ScnFull000001",
|
||||
"isBundle": false,
|
||||
"imported": true,
|
||||
"files": []
|
||||
}
|
||||
11
assets/Scripts/Block.ts.meta
Normal file
11
assets/Scripts/Block.ts.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "typescript",
|
||||
"uuid": "00ScrBlock0001",
|
||||
"isBundle": false,
|
||||
"imported": true,
|
||||
"files": [],
|
||||
"script": {
|
||||
"lifecycleFunctions": ["onLoad"]
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/BlockConfig.ts.meta
Normal file
9
assets/Scripts/BlockConfig.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "typescript",
|
||||
"uuid": "00ScrBlkCfg01",
|
||||
"isBundle": false,
|
||||
"imported": true,
|
||||
"files": [],
|
||||
"script": {}
|
||||
}
|
||||
11
assets/Scripts/GameBoard.ts.meta
Normal file
11
assets/Scripts/GameBoard.ts.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "typescript",
|
||||
"uuid": "00ScrGameBoard",
|
||||
"isBundle": false,
|
||||
"imported": true,
|
||||
"files": [],
|
||||
"script": {
|
||||
"lifecycleFunctions": ["onLoad"]
|
||||
}
|
||||
}
|
||||
11
assets/Scripts/GameController.ts.meta
Normal file
11
assets/Scripts/GameController.ts.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "typescript",
|
||||
"uuid": "00ScrGameCtrlr",
|
||||
"isBundle": false,
|
||||
"imported": true,
|
||||
"files": [],
|
||||
"script": {
|
||||
"lifecycleFunctions": ["onLoad", "start", "update"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user