diff --git a/DataTables/Datas/__tables__.xlsx b/DataTables/Datas/__tables__.xlsx index 305fd983..5cdd1790 100644 Binary files a/DataTables/Datas/__tables__.xlsx and b/DataTables/Datas/__tables__.xlsx differ diff --git a/DataTables/Datas/战斗/地图.xlsx b/DataTables/Datas/战斗/地图.xlsx index 171700f0..eba3a185 100644 Binary files a/DataTables/Datas/战斗/地图.xlsx and b/DataTables/Datas/战斗/地图.xlsx differ diff --git a/DataTables/Datas/战斗/模式/无尽模式/OnHook地图.xlsx b/DataTables/Datas/战斗/模式/无尽模式/OnHook地图.xlsx index 2d3f8533..87accb1c 100644 Binary files a/DataTables/Datas/战斗/模式/无尽模式/OnHook地图.xlsx and b/DataTables/Datas/战斗/模式/无尽模式/OnHook地图.xlsx differ diff --git a/DataTables/Datas/战斗/模式/无尽模式/冒险岛地图.xlsx b/DataTables/Datas/战斗/模式/无尽模式/天空城地图.xlsx similarity index 62% rename from DataTables/Datas/战斗/模式/无尽模式/冒险岛地图.xlsx rename to DataTables/Datas/战斗/模式/无尽模式/天空城地图.xlsx index 1fdd8cf6..65aefae4 100644 Binary files a/DataTables/Datas/战斗/模式/无尽模式/冒险岛地图.xlsx and b/DataTables/Datas/战斗/模式/无尽模式/天空城地图.xlsx differ diff --git a/DataTables/Datas/战斗/角色/升级/角色升级属性成长.xlsx b/DataTables/Datas/战斗/角色/升级/角色升级属性成长.xlsx new file mode 100644 index 00000000..95883fe6 Binary files /dev/null and b/DataTables/Datas/战斗/角色/升级/角色升级属性成长.xlsx differ diff --git a/DataTables/Datas/战斗/角色/属性/角色属性成长.xlsx b/DataTables/Datas/战斗/角色/属性/角色属性成长.xlsx deleted file mode 100644 index 3af99a73..00000000 Binary files a/DataTables/Datas/战斗/角色/属性/角色属性成长.xlsx and /dev/null differ diff --git a/JisolGameCocos/assets/battle/map/MAP4.meta b/JisolGameCocos/assets/battle/map/MAP4.meta new file mode 100644 index 00000000..950c1c46 --- /dev/null +++ b/JisolGameCocos/assets/battle/map/MAP4.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "cb305b38-bf16-4a31-851f-e05188cde66b", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/JisolGameCocos/assets/battle/map/MAP4/MAP4_1.png b/JisolGameCocos/assets/battle/map/MAP4/MAP4_1.png new file mode 100644 index 00000000..c1817d0f Binary files /dev/null and b/JisolGameCocos/assets/battle/map/MAP4/MAP4_1.png differ diff --git a/JisolGameCocos/assets/battle/map/MAP4/MAP4_1.png.meta b/JisolGameCocos/assets/battle/map/MAP4/MAP4_1.png.meta new file mode 100644 index 00000000..eeb02888 --- /dev/null +++ b/JisolGameCocos/assets/battle/map/MAP4/MAP4_1.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "397a317f-6d92-4141-a86b-b220cedc36b1", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "397a317f-6d92-4141-a86b-b220cedc36b1@6c48a", + "displayName": "MAP4_1", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "nearest", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "397a317f-6d92-4141-a86b-b220cedc36b1", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "397a317f-6d92-4141-a86b-b220cedc36b1@f9941", + "displayName": "MAP4_1", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": -1.5, + "trimX": 0, + "trimY": 3, + "width": 1200, + "height": 559, + "rawWidth": 1200, + "rawHeight": 562, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -600, + -279.5, + 0, + 600, + -279.5, + 0, + -600, + 279.5, + 0, + 600, + 279.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 559, + 1200, + 559, + 0, + 0, + 1200, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 0.994661921708185, + 1, + 0.994661921708185 + ], + "minPos": [ + -600, + -279.5, + 0 + ], + "maxPos": [ + 600, + 279.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "397a317f-6d92-4141-a86b-b220cedc36b1@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "type": "sprite-frame", + "redirect": "397a317f-6d92-4141-a86b-b220cedc36b1@f9941" + } +} diff --git a/JisolGameCocos/assets/battle/map/MAP4/MAP4_2.png b/JisolGameCocos/assets/battle/map/MAP4/MAP4_2.png new file mode 100644 index 00000000..b36ba853 Binary files /dev/null and b/JisolGameCocos/assets/battle/map/MAP4/MAP4_2.png differ diff --git a/JisolGameCocos/assets/battle/map/MAP4/MAP4_2.png.meta b/JisolGameCocos/assets/battle/map/MAP4/MAP4_2.png.meta new file mode 100644 index 00000000..70ff7d3a --- /dev/null +++ b/JisolGameCocos/assets/battle/map/MAP4/MAP4_2.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "53f4aa8b-f685-4691-bf50-1bf47c11b894", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "53f4aa8b-f685-4691-bf50-1bf47c11b894@6c48a", + "displayName": "MAP4_2", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "nearest", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "53f4aa8b-f685-4691-bf50-1bf47c11b894", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "53f4aa8b-f685-4691-bf50-1bf47c11b894@f9941", + "displayName": "MAP4_2", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 1200, + "height": 530, + "rawWidth": 1200, + "rawHeight": 530, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -600, + -265, + 0, + 600, + -265, + 0, + -600, + 265, + 0, + 600, + 265, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 530, + 1200, + 530, + 0, + 0, + 1200, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -600, + -265, + 0 + ], + "maxPos": [ + 600, + 265, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "53f4aa8b-f685-4691-bf50-1bf47c11b894@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": false, + "type": "sprite-frame", + "redirect": "53f4aa8b-f685-4691-bf50-1bf47c11b894@f9941" + } +} diff --git a/JisolGameCocos/assets/battle/map/MAP4/MAP4_3.png b/JisolGameCocos/assets/battle/map/MAP4/MAP4_3.png new file mode 100644 index 00000000..30645bdf Binary files /dev/null and b/JisolGameCocos/assets/battle/map/MAP4/MAP4_3.png differ diff --git a/JisolGameCocos/assets/battle/map/MAP4/MAP4_3.png.meta b/JisolGameCocos/assets/battle/map/MAP4/MAP4_3.png.meta new file mode 100644 index 00000000..dbbebcbb --- /dev/null +++ b/JisolGameCocos/assets/battle/map/MAP4/MAP4_3.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "c95509a9-9777-46f9-9bb7-da430e292710", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "c95509a9-9777-46f9-9bb7-da430e292710@6c48a", + "displayName": "MAP4_3", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "nearest", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "c95509a9-9777-46f9-9bb7-da430e292710", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "c95509a9-9777-46f9-9bb7-da430e292710@f9941", + "displayName": "MAP4_3", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 24, + "height": 24, + "rawWidth": 24, + "rawHeight": 24, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -12, + -12, + 0, + 12, + -12, + 0, + -12, + 12, + 0, + 12, + 12, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 24, + 24, + 24, + 0, + 0, + 24, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -12, + -12, + 0 + ], + "maxPos": [ + 12, + 12, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "c95509a9-9777-46f9-9bb7-da430e292710@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "type": "sprite-frame", + "redirect": "c95509a9-9777-46f9-9bb7-da430e292710@f9941" + } +} diff --git a/JisolGameCocos/assets/resources/config/data/schema.ts b/JisolGameCocos/assets/resources/config/data/schema.ts index a2f12c0e..2a869278 100644 --- a/JisolGameCocos/assets/resources/config/data/schema.ts +++ b/JisolGameCocos/assets/resources/config/data/schema.ts @@ -426,6 +426,45 @@ export class TbGRoleUpStar { } +export namespace TB { +export class TbGRoleUpGrow { + + constructor(_json_: any) { + if (_json_.id === undefined) { throw new Error() } + this.id = _json_.id + if (_json_.Blood === undefined) { throw new Error() } + this.Blood = _json_.Blood + if (_json_.Attack === undefined) { throw new Error() } + this.Attack = _json_.Attack + if (_json_.Defend === undefined) { throw new Error() } + this.Defend = _json_.Defend + } + + /** + * 角色Id (0 则默认) + */ + readonly id: number + /** + * 血量成长 + */ + readonly Blood: number + /** + * 攻击成长 + */ + readonly Attack: number + /** + * 防御成长 + */ + readonly Defend: number + + resolve(tables:Tables) + { + } +} + +} + + export namespace TB { export class TbSServerInfo { @@ -539,6 +578,8 @@ export class TbGOnHookMaps { this.id = _json_.id if (_json_.name === undefined) { throw new Error() } this.name = _json_.name + if (_json_.mapImage === undefined) { throw new Error() } + this.mapImage = _json_.mapImage if (_json_.mapId === undefined) { throw new Error() } this.mapId = _json_.mapId if (_json_.petIds === undefined) { throw new Error() } @@ -557,6 +598,10 @@ export class TbGOnHookMaps { * 地图名称 */ readonly name: string + /** + * 地图图片 + */ + readonly mapImage: string /** * 地图场景Id */ @@ -967,6 +1012,38 @@ export class TbGRoleUpStar{ +export class TbGRoleUpGrow{ + private _dataMap: Map + private _dataList: TB.TbGRoleUpGrow[] + constructor(_json_: any) { + this._dataMap = new Map() + this._dataList = [] + for(var _json2_ of _json_) { + let _v: TB.TbGRoleUpGrow + _v = new TB.TbGRoleUpGrow(_json2_) + this._dataList.push(_v) + this._dataMap.set(_v.id, _v) + } + } + + getDataMap(): Map { return this._dataMap; } + getDataList(): TB.TbGRoleUpGrow[] { return this._dataList; } + + get(key: number): TB.TbGRoleUpGrow | undefined { return this._dataMap.get(key); } + + resolve(tables:Tables) + { + for(let data of this._dataList) + { + data.resolve(tables) + } + } + +} + + + + export class TbSServerInfo{ private _dataMap: Map private _dataList: TB.TbSServerInfo[] @@ -1150,6 +1227,8 @@ export class Tables { get TbGRoleUpLevel(): TbGRoleUpLevel { return this._TbGRoleUpLevel;} private _TbGRoleUpStar: TbGRoleUpStar get TbGRoleUpStar(): TbGRoleUpStar { return this._TbGRoleUpStar;} + private _TbGRoleUpGrow: TbGRoleUpGrow + get TbGRoleUpGrow(): TbGRoleUpGrow { return this._TbGRoleUpGrow;} private _TbSServerInfo: TbSServerInfo get TbSServerInfo(): TbSServerInfo { return this._TbSServerInfo;} private _TbGAttribute: TbGAttribute @@ -1172,6 +1251,7 @@ export class Tables { this._TbGResource = new TbGResource(loader('tbgresource')) this._TbGRoleUpLevel = new TbGRoleUpLevel(loader('tbgroleuplevel')) this._TbGRoleUpStar = new TbGRoleUpStar(loader('tbgroleupstar')) + this._TbGRoleUpGrow = new TbGRoleUpGrow(loader('tbgroleupgrow')) this._TbSServerInfo = new TbSServerInfo(loader('tbsserverinfo')) this._TbGAttribute = new TbGAttribute(loader('tbgattribute')) this._TbGRoleBaseAttribute = new TbGRoleBaseAttribute(loader('tbgrolebaseattribute')) @@ -1188,6 +1268,7 @@ export class Tables { this._TbGResource.resolve(this) this._TbGRoleUpLevel.resolve(this) this._TbGRoleUpStar.resolve(this) + this._TbGRoleUpGrow.resolve(this) this._TbSServerInfo.resolve(this) this._TbGAttribute.resolve(this) this._TbGRoleBaseAttribute.resolve(this) diff --git a/JisolGameCocos/assets/resources/config/json/tbgmap.json b/JisolGameCocos/assets/resources/config/json/tbgmap.json index 3caec599..caaf6355 100644 --- a/JisolGameCocos/assets/resources/config/json/tbgmap.json +++ b/JisolGameCocos/assets/resources/config/json/tbgmap.json @@ -9,5 +9,16 @@ "map2OffsetY": 520, "map3OffsetY": 520, "scale": 1.5 + }, + { + "id": 60002, + "mapName": "魔法镇", + "map1": "map/MAP4/MAP4_1/spriteFrame", + "map2": "map/MAP4/MAP4_2/spriteFrame", + "map3": "map/MAP4/MAP4_3/spriteFrame", + "map1OffsetY": 80, + "map2OffsetY": 520, + "map3OffsetY": 520, + "scale": 1.5 } ] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/config/json/tbgonhookmap1.json b/JisolGameCocos/assets/resources/config/json/tbgonhookmap1.json index a47d8de6..71aa9a83 100644 --- a/JisolGameCocos/assets/resources/config/json/tbgonhookmap1.json +++ b/JisolGameCocos/assets/resources/config/json/tbgonhookmap1.json @@ -3,7 +3,7 @@ "id": 1, "data": { "level": 1, - "petLevel": 1, + "petLevel": 0, "oddsId": 1 } } diff --git a/JisolGameCocos/assets/resources/config/json/tbgonhookmap1.json.meta b/JisolGameCocos/assets/resources/config/json/tbgonhookmap1.json.meta new file mode 100644 index 00000000..93b655e2 --- /dev/null +++ b/JisolGameCocos/assets/resources/config/json/tbgonhookmap1.json.meta @@ -0,0 +1,11 @@ +{ + "ver": "2.0.1", + "importer": "json", + "imported": true, + "uuid": "6baeb0a2-41ee-4611-b21b-bccecaf19df3", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/config/json/tbgonhookmaps.json b/JisolGameCocos/assets/resources/config/json/tbgonhookmaps.json index 1a866b22..2b21c7d8 100644 --- a/JisolGameCocos/assets/resources/config/json/tbgonhookmaps.json +++ b/JisolGameCocos/assets/resources/config/json/tbgonhookmaps.json @@ -1,7 +1,8 @@ [ { "id": 120001, - "name": "冒险岛", + "name": "天空城", + "mapImage": "ui/map/天空城_图片/spriteFrame", "mapId": 60001, "petIds": [ 10001, @@ -10,5 +11,17 @@ ], "sign": "", "introduce": "新手地图在这里可以遇到可爱的宠物哦~" + }, + { + "id": 120002, + "name": "魔法镇", + "mapImage": "ui/map/天空城_图片/spriteFrame", + "mapId": 60002, + "petIds": [ + 10003, + 10004 + ], + "sign": "", + "introduce": "魔法阵 这里有魔法精灵~" } ] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/config/json/tbgonhookmaps.json.meta b/JisolGameCocos/assets/resources/config/json/tbgonhookmaps.json.meta new file mode 100644 index 00000000..c16f64dd --- /dev/null +++ b/JisolGameCocos/assets/resources/config/json/tbgonhookmaps.json.meta @@ -0,0 +1,11 @@ +{ + "ver": "2.0.1", + "importer": "json", + "imported": true, + "uuid": "50368b9b-31bf-44b2-ad98-b5faf101faa0", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/config/json/tbgroleupgrow.json b/JisolGameCocos/assets/resources/config/json/tbgroleupgrow.json new file mode 100644 index 00000000..c3d9dd93 --- /dev/null +++ b/JisolGameCocos/assets/resources/config/json/tbgroleupgrow.json @@ -0,0 +1,8 @@ +[ + { + "id": 0, + "Blood": 1, + "Attack": 1, + "Defend": 1 + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/config/json/tbgroleupgrow.json.meta b/JisolGameCocos/assets/resources/config/json/tbgroleupgrow.json.meta new file mode 100644 index 00000000..d338fc66 --- /dev/null +++ b/JisolGameCocos/assets/resources/config/json/tbgroleupgrow.json.meta @@ -0,0 +1,11 @@ +{ + "ver": "2.0.1", + "importer": "json", + "imported": true, + "uuid": "044ec3bd-0504-4dcf-ac6c-ffe3d6ae31d7", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab index 10556889..0b900bc6 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab @@ -28,29 +28,29 @@ "__id__": 78 }, { - "__id__": 162 + "__id__": 164 }, { - "__id__": 181 + "__id__": 183 }, { - "__id__": 196 + "__id__": 198 } ], "_active": true, "_components": [ - { - "__id__": 211 - }, { "__id__": 213 }, { "__id__": 215 + }, + { + "__id__": 217 } ], "_prefab": { - "__id__": 217 + "__id__": 219 }, "_lpos": { "__type__": "cc.Vec3", @@ -1578,18 +1578,18 @@ ], "_active": true, "_components": [ - { - "__id__": 155 - }, { "__id__": 157 }, { "__id__": 159 + }, + { + "__id__": 161 } ], "_prefab": { - "__id__": 161 + "__id__": 163 }, "_lpos": { "__type__": "cc.Vec3", @@ -2183,20 +2183,20 @@ "__id__": 118 }, { - "__id__": 134 + "__id__": 135 } ], "_active": true, "_components": [ { - "__id__": 150 + "__id__": 152 }, { - "__id__": 152 + "__id__": 154 } ], "_prefab": { - "__id__": 154 + "__id__": 156 }, "_lpos": { "__type__": "cc.Vec3", @@ -2253,7 +2253,7 @@ } ], "_prefab": { - "__id__": 133 + "__id__": 134 }, "_lpos": { "__type__": "cc.Vec3", @@ -2534,7 +2534,11 @@ "__prefab": { "__id__": 132 }, - "clickEvents": [], + "clickEvents": [ + { + "__id__": 133 + } + ], "_interactable": true, "_transition": 3, "_normalColor": { @@ -2592,6 +2596,16 @@ "__type__": "cc.CompPrefabInfo", "fileId": "4fEzfFuwpJA5y8tCAlhH7K" }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "b51bfKvsidNPKBbFirAFgQI", + "handler": "onOpenOnHookView", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -2615,23 +2629,23 @@ }, "_children": [ { - "__id__": 135 + "__id__": 136 } ], "_active": true, "_components": [ { - "__id__": 143 + "__id__": 144 }, { - "__id__": 145 + "__id__": 146 }, { - "__id__": 147 + "__id__": 148 } ], "_prefab": { - "__id__": 149 + "__id__": 151 }, "_lpos": { "__type__": "cc.Vec3", @@ -2668,23 +2682,23 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 134 + "__id__": 135 }, "_children": [], "_active": true, "_components": [ { - "__id__": 136 + "__id__": 137 }, { - "__id__": 138 + "__id__": 139 }, { - "__id__": 140 + "__id__": 141 } ], "_prefab": { - "__id__": 142 + "__id__": 143 }, "_lpos": { "__type__": "cc.Vec3", @@ -2721,11 +2735,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 136 }, "_enabled": true, "__prefab": { - "__id__": 137 + "__id__": 138 }, "_contentSize": { "__type__": "cc.Size", @@ -2749,11 +2763,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 136 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 140 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2794,11 +2808,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 136 }, "_enabled": true, "__prefab": { - "__id__": 141 + "__id__": 142 }, "_color": { "__type__": "cc.Color", @@ -2833,11 +2847,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 134 + "__id__": 135 }, "_enabled": true, "__prefab": { - "__id__": 144 + "__id__": 145 }, "_contentSize": { "__type__": "cc.Size", @@ -2861,11 +2875,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 134 + "__id__": 135 }, "_enabled": true, "__prefab": { - "__id__": 146 + "__id__": 147 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2906,13 +2920,17 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 134 + "__id__": 135 }, "_enabled": true, "__prefab": { - "__id__": 148 + "__id__": 149 }, - "clickEvents": [], + "clickEvents": [ + { + "__id__": 150 + } + ], "_interactable": true, "_transition": 3, "_normalColor": { @@ -2962,7 +2980,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 134 + "__id__": 135 }, "_id": "" }, @@ -2970,6 +2988,16 @@ "__type__": "cc.CompPrefabInfo", "fileId": "691d24ldNIzrFp+X5irgGN" }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "b51bfKvsidNPKBbFirAFgQI", + "handler": "onOpenMap", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -2993,7 +3021,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 151 + "__id__": 153 }, "_contentSize": { "__type__": "cc.Size", @@ -3021,7 +3049,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 153 + "__id__": 155 }, "_resizeMode": 1, "_layoutType": 2, @@ -3072,7 +3100,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 158 }, "_contentSize": { "__type__": "cc.Size", @@ -3100,7 +3128,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 158 + "__id__": 160 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3145,7 +3173,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 160 + "__id__": 162 }, "_alignFlags": 44, "_target": null, @@ -3194,14 +3222,11 @@ }, "_children": [ { - "__id__": 163 + "__id__": 165 } ], "_active": true, "_components": [ - { - "__id__": 171 - }, { "__id__": 173 }, @@ -3210,10 +3235,13 @@ }, { "__id__": 177 + }, + { + "__id__": 179 } ], "_prefab": { - "__id__": 180 + "__id__": 182 }, "_lpos": { "__type__": "cc.Vec3", @@ -3250,23 +3278,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 162 + "__id__": 164 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 164 - }, { "__id__": 166 }, { "__id__": 168 + }, + { + "__id__": 170 } ], "_prefab": { - "__id__": 170 + "__id__": 172 }, "_lpos": { "__type__": "cc.Vec3", @@ -3303,11 +3331,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 165 }, "_enabled": true, "__prefab": { - "__id__": 165 + "__id__": 167 }, "_contentSize": { "__type__": "cc.Size", @@ -3331,11 +3359,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 165 }, "_enabled": true, "__prefab": { - "__id__": 167 + "__id__": 169 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3376,11 +3404,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 165 }, "_enabled": true, "__prefab": { - "__id__": 169 + "__id__": 171 }, "_color": { "__type__": "cc.Color", @@ -3415,11 +3443,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 172 + "__id__": 174 }, "_contentSize": { "__type__": "cc.Size", @@ -3443,11 +3471,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 174 + "__id__": 176 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3488,11 +3516,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 176 + "__id__": 178 }, "_alignFlags": 44, "_target": null, @@ -3524,15 +3552,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 178 + "__id__": 180 }, "clickEvents": [ { - "__id__": 179 + "__id__": 181 } ], "_interactable": true, @@ -3611,23 +3639,23 @@ }, "_children": [ { - "__id__": 182 + "__id__": 184 } ], "_active": true, "_components": [ - { - "__id__": 188 - }, { "__id__": 190 }, { "__id__": 192 + }, + { + "__id__": 194 } ], "_prefab": { - "__id__": 195 + "__id__": 197 }, "_lpos": { "__type__": "cc.Vec3", @@ -3664,20 +3692,20 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 181 + "__id__": 183 }, "_children": [], "_active": true, "_components": [ { - "__id__": 183 + "__id__": 185 }, { - "__id__": 185 + "__id__": 187 } ], "_prefab": { - "__id__": 187 + "__id__": 189 }, "_lpos": { "__type__": "cc.Vec3", @@ -3714,11 +3742,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 182 + "__id__": 184 }, "_enabled": true, "__prefab": { - "__id__": 184 + "__id__": 186 }, "_contentSize": { "__type__": "cc.Size", @@ -3742,11 +3770,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 182 + "__id__": 184 }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 188 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3800,11 +3828,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 189 + "__id__": 191 }, "_contentSize": { "__type__": "cc.Size", @@ -3828,11 +3856,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 191 + "__id__": 193 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3873,15 +3901,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 193 + "__id__": 195 }, "clickEvents": [ { - "__id__": 194 + "__id__": 196 } ], "_interactable": true, @@ -3933,7 +3961,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 181 + "__id__": 183 }, "_id": "" }, @@ -3974,23 +4002,23 @@ }, "_children": [ { - "__id__": 197 + "__id__": 199 } ], "_active": true, "_components": [ - { - "__id__": 203 - }, { "__id__": 205 }, { "__id__": 207 + }, + { + "__id__": 209 } ], "_prefab": { - "__id__": 210 + "__id__": 212 }, "_lpos": { "__type__": "cc.Vec3", @@ -4027,20 +4055,20 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 196 + "__id__": 198 }, "_children": [], "_active": true, "_components": [ { - "__id__": 198 + "__id__": 200 }, { - "__id__": 200 + "__id__": 202 } ], "_prefab": { - "__id__": 202 + "__id__": 204 }, "_lpos": { "__type__": "cc.Vec3", @@ -4077,11 +4105,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 199 + "__id__": 201 }, "_contentSize": { "__type__": "cc.Size", @@ -4105,11 +4133,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 201 + "__id__": 203 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4163,11 +4191,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 198 }, "_enabled": true, "__prefab": { - "__id__": 204 + "__id__": 206 }, "_contentSize": { "__type__": "cc.Size", @@ -4191,11 +4219,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 198 }, "_enabled": true, "__prefab": { - "__id__": 206 + "__id__": 208 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4236,15 +4264,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 198 }, "_enabled": true, "__prefab": { - "__id__": 208 + "__id__": 210 }, "clickEvents": [ { - "__id__": 209 + "__id__": 211 } ], "_interactable": true, @@ -4296,7 +4324,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 196 + "__id__": 198 }, "_id": "" }, @@ -4337,7 +4365,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 212 + "__id__": 214 }, "_contentSize": { "__type__": "cc.Size", @@ -4365,7 +4393,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 214 + "__id__": 216 }, "_alignFlags": 45, "_target": null, @@ -4401,7 +4429,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 216 + "__id__": 218 }, "mask": false, "maskOpcity": 80, diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/挂机.meta b/JisolGameCocos/assets/resources/prefab/ui/主页/挂机.meta new file mode 100644 index 00000000..2522f141 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/挂机.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "462dbd5c-5197-4369-baf8-a69b5e93a9ed", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/挂机/主页挂机页面.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/挂机/主页挂机页面.prefab new file mode 100644 index 00000000..e58d2141 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/挂机/主页挂机页面.prefab @@ -0,0 +1,302 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "主页挂机页面", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "主页挂机页面", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + } + ], + "_prefab": { + "__id__": 14 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 500, + "height": 700 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "02Yd9SIjNCrIdkQytGYaMd" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ceRKsrEKhIJrkJ+5FgX6er" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f9x0HrcxRFMJYAWDJkNn2A", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dgJxmIH5HIpXD6y0/xMwI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "582zBz6m5DKqmkTkiS/LE0" + }, + { + "__type__": "2ff46LuJ6xJF6cskydUIhuT", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "mask": true, + "maskOpcity": 80, + "isClickMaskeClose": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2dImC0TaxEcazL2bpSPu1v" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "08xLpDDa9NlK3pgR7XiOqb", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/挂机/主页挂机页面.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/主页/挂机/主页挂机页面.prefab.meta new file mode 100644 index 00000000..a3446d15 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/挂机/主页挂机页面.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "92db5508-42dd-44b8-9c4f-b3489e11cd05", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "主页挂机页面" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/地图.meta b/JisolGameCocos/assets/resources/prefab/ui/地图.meta new file mode 100644 index 00000000..fc1855b7 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/地图.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "8ead86ff-2169-44e2-ac7f-d882873f0835", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/地图/地图展示节点.prefab b/JisolGameCocos/assets/resources/prefab/ui/地图/地图展示节点.prefab new file mode 100644 index 00000000..cabe3211 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/地图/地图展示节点.prefab @@ -0,0 +1,653 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "地图展示节点", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "地图展示节点", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + }, + { + "__id__": 16 + } + ], + "_active": true, + "_components": [ + { + "__id__": 24 + }, + { + "__id__": 26 + }, + { + "__id__": 28 + } + ], + "_prefab": { + "__id__": 30 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -145, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "地图预览图", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -170.316, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 250, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "07Ej2nplpI24N9pXjkyfH9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cdRYl998lB4ZS+H2bXIt/y" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "29DoVgG4NKXq0ts67EMEC0", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "地图名称", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + }, + { + "__id__": 13 + } + ], + "_prefab": { + "__id__": 15 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 134.316, + "y": 73.264, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "54Knpt5OVPXLa39dZqom2A" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "地图名称", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 26, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "edhcJf2GNNOrXJBMLE/zeB" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "841FqnwZNA5rJlM9bsFDGr" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "60xec46PlB2JZ7Wo0r6OcH", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "地图介绍", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 17 + }, + { + "__id__": 19 + }, + { + "__id__": 21 + } + ], + "_prefab": { + "__id__": 23 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 134.316, + "y": -24.321, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 280, + "height": 130 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8785TToPhFFpPg5EGQjnfv" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "地图介绍地图介绍地图介绍地图介绍地图介绍地图介绍地图介绍地图介绍", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 19, + "_fontSize": 18, + "_fontFamily": "Arial", + "_lineHeight": 28, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "18kW22HJJFnoXVIMU4iuS+" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "08w117tbxJmZ483KBsO0sJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3bZpaH3j1LZqqBhug9VakL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, + "height": 250 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "064LPbZPtBe5V4pSkcOeNl" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 207, + "g": 207, + "b": 207, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4bN0ccDGROXZrqVJGdxUvp" + }, + { + "__type__": "e3050H//lFNtp/Jqvffj2ug", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "mapImage": { + "__id__": 5 + }, + "mapName": { + "__id__": 11 + }, + "mapText": { + "__id__": 19 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b75RhaWlJOVbpbqITFkrle" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "931iFgNMJBgI9K1aQiJlv0", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/地图/地图展示节点.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/地图/地图展示节点.prefab.meta new file mode 100644 index 00000000..92caf75c --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/地图/地图展示节点.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "c7179571-fa91-4fa3-be60-e77afb0bae8e", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "地图展示节点" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/地图/地图选择页面.prefab b/JisolGameCocos/assets/resources/prefab/ui/地图/地图选择页面.prefab new file mode 100644 index 00000000..57a8f1d8 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/地图/地图选择页面.prefab @@ -0,0 +1,2264 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "地图选择页面", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "地图选择页面", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 97 + }, + { + "__id__": 99 + }, + { + "__id__": 101 + } + ], + "_prefab": { + "__id__": 103 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 47 + } + ], + "_active": true, + "_components": [ + { + "__id__": 88 + }, + { + "__id__": 90 + }, + { + "__id__": 92 + }, + { + "__id__": 94 + } + ], + "_prefab": { + "__id__": 96 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "宠物列表", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [ + { + "__id__": 40 + }, + { + "__id__": 42 + }, + { + "__id__": 44 + }, + { + "__id__": 37 + } + ], + "_prefab": { + "__id__": 46 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + }, + { + "__id__": 19 + } + ], + "_prefab": { + "__id__": 21 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 565, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 4 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 12 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 20 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "169LX0J4JK+IDHV5bSZvB4" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 10, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 20, + "_spacingX": 8, + "_spacingY": 20, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "80vS8e6VdJUoUoJA0kj5v2" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_alignFlags": 40, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 220, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dcIxnHKV1AO6+p+iARObW6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c4nhY4kfBNBruf39Up6xoW", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1130 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6eSqmKgHtGF7P9+QWLlIju" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9fU6YwemtM/b0qwn8H0gHs" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_lineWidth": 1, + "_strokeColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_lineJoin": 2, + "_lineCap": 0, + "_fillColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_miterLimit": 10, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "54p6h5l4ZBtYA8999Fkjlm" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a0LvzRR2FEl7mR/+XEkdal" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9ahbMB8D9M7K59kILdbqiM", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 23 + } + ], + "_active": true, + "_components": [ + { + "__id__": 29 + }, + { + "__id__": 31 + }, + { + "__id__": 33 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 39 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 360, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + }, + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -31.25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 156.25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ebEwuqp1xJvavg4CMyUm+t" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c1o1NsKFdMmZxbLZFrgLRS" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c5tmkGDfJKFrziDq+y5bwG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 1130 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b7lwCo0lJL4LUKOmUXI6H5" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "baRnIvv0xL6Yq8DwP4746y" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59oCuRhPVKq5BP1fxEGoCS" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_scrollView": { + "__id__": 37 + }, + "_handle": { + "__id__": 26 + }, + "_direction": 1, + "_enableAutoHide": true, + "_autoHideTime": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "89lUrbVlZBUqHAmdzSE9wu" + }, + { + "__type__": "563f2c1JcVKmrpHhC0vl3PI", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 38 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 5 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 35 + }, + "itemPrefab": { + "__uuid__": "c7179571-fa91-4fa3-be60-e77afb0bae8e", + "__expectedType__": "cc.Prefab" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "da77On66JJ/oyu5LtMi7r3" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "434A2MRDZDl5EW/zXSR5+5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1130 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "90fHFTeG5FfJfQQE94e/8M" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 43 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b730527c-3233-41c2-aaf7-7cdab58f9749@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "46ag5bjPVKd6timcN0USaI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 150, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fbQWAV0MxOhpOfPI1dQuG0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7aN37s7+BA0Yxbqz+4JLNC", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "底部内容", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 48 + }, + { + "__id__": 65 + } + ], + "_active": true, + "_components": [ + { + "__id__": 81 + }, + { + "__id__": 83 + }, + { + "__id__": 85 + } + ], + "_prefab": { + "__id__": 87 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -565, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "返回按钮", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 + }, + "_children": [ + { + "__id__": 49 + } + ], + "_active": true, + "_components": [ + { + "__id__": 57 + }, + { + "__id__": 59 + }, + { + "__id__": 61 + } + ], + "_prefab": { + "__id__": 64 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -146.169, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 48 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 50 + }, + { + "__id__": 52 + }, + { + "__id__": 54 + } + ], + "_prefab": { + "__id__": 56 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 49 + }, + "_enabled": true, + "__prefab": { + "__id__": 51 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b2/q0BeHdKH62EnRlx6V4s" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 49 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "返回", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b1kfG6hsZKkpctdUd3RhwW" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 49 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b4IGU/NBRDZ5oCbLs4Di0z" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a52Ju1mQVJrKAK7BY5V2W0", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": { + "__id__": 58 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "09xi3PHW9BTLvHdIbt5oj4" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": { + "__id__": 60 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 104, + "g": 104, + "b": 104, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "290LXbUfxNfqimW/qKS68X" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": { + "__id__": 62 + }, + "clickEvents": [ + { + "__id__": 63 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 48 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3XcFiEnxMDZ4uO7qYk/FA" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "dcbf1yBOUdKrpoRvRR2R1Cg", + "handler": "onJNClose", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cfAzcPr8BEfokioydvrXfu", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "确认按钮", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 + }, + "_children": [ + { + "__id__": 66 + } + ], + "_active": true, + "_components": [ + { + "__id__": 74 + }, + { + "__id__": 76 + }, + { + "__id__": 78 + } + ], + "_prefab": { + "__id__": 80 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 168.515, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 65 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 67 + }, + { + "__id__": 69 + }, + { + "__id__": 71 + } + ], + "_prefab": { + "__id__": 73 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": { + "__id__": 68 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4cW6pkBJ1NNbBsaUvcMkG2" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": { + "__id__": 70 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "确认", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "66Ei2xkWdFV4O5oZejegDO" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": { + "__id__": 72 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "98DdQwYbZCV5VdTJHyrtSO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d4BLelyQdGaokac+PnzQpg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 65 + }, + "_enabled": true, + "__prefab": { + "__id__": 75 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d3/2UXto9E1LJ8nJP2UZ+Q" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 65 + }, + "_enabled": true, + "__prefab": { + "__id__": 77 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 104, + "g": 104, + "b": 104, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "13qycCsp1FJJX80zLACX3Z" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 65 + }, + "_enabled": true, + "__prefab": { + "__id__": 79 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 65 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "16iwUIB3FHjagBzGAl31Zl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a0heAzWiVMw7iaH2vFAfOn", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": { + "__id__": 82 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e3qmpK7chBN4/aivoRu/gu" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": { + "__id__": 84 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 207, + "g": 207, + "b": 207, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "49MBew5M9HkYKr1G5W2f2B" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": { + "__id__": 86 + }, + "_alignFlags": 44, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 295, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63n2Dt87FKibzogLSyK7Ta" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "946QxBoI5CgKVxxgiDAJFC", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68UQQu1bBAQrAtTHy1yB8t" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 91 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b3/zsRycZIh7r2rjWWtX8P" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 93 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "415sfQkxFOvIr61TWj3cl/" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 95 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 550, + "_originalHeight": 900, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4a+bSC8CFDpp5/ByEt/bl+" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8eQw+AA5xI/oCYsJa9dIvN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 98 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dgJxmIH5HIpXD6y0/xMwI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 100 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "582zBz6m5DKqmkTkiS/LE0" + }, + { + "__type__": "dcbf1yBOUdKrpoRvRR2R1Cg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 102 + }, + "mask": false, + "maskOpcity": 80, + "isClickMaskeClose": false, + "views": { + "__id__": 37 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "87kndFbIhFyowp560aGsjl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "08xLpDDa9NlK3pgR7XiOqb", + "instance": null, + "targetOverrides": [] + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/地图/地图选择页面.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/地图/地图选择页面.prefab.meta new file mode 100644 index 00000000..b0d77c8a --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/地图/地图选择页面.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "5d1fb219-0b98-4c4b-b6ed-4019cc19603e", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "地图选择页面" + } +} diff --git a/JisolGameCocos/assets/script/App.ts b/JisolGameCocos/assets/script/App.ts index a49ed0b3..a571f3c1 100644 --- a/JisolGameCocos/assets/script/App.ts +++ b/JisolGameCocos/assets/script/App.ts @@ -220,6 +220,7 @@ export const app = { battle : GBattleModeManager.getIns(), //战斗 config : new JNGConfig(), //配置文件 battleRes : new JLoaderBattle("battle"), //battle包 + tbRes : new JLoaderSystem("tbresource"), //tbresource包 data : new AppData(), //游戏基础信息 action : new AppAction(), //游戏行为 loading : new Loading({ diff --git a/JisolGameCocos/assets/script/battle/base/values/attribute/role/GPetAttribute.ts b/JisolGameCocos/assets/script/battle/base/values/attribute/role/GPetAttribute.ts index 388b39e2..d2a76c84 100644 --- a/JisolGameCocos/assets/script/battle/base/values/attribute/role/GPetAttribute.ts +++ b/JisolGameCocos/assets/script/battle/base/values/attribute/role/GPetAttribute.ts @@ -31,6 +31,20 @@ export default class GPetAttribute extends GAttributeBase{ this.attributes[attr.id] = baseAttribute[attr.sign] || 0; }); + //计算升级成长属性 + let level = this.pet.petLevel; //宠物等级 + let grow = TD.TbGRoleUpGrow.get(this.pet.petId) || TD.TbGRoleUpGrow.get(0); //成长 + + TD.TbGAttribute.getDataList().forEach(attr => { + + //过滤没有的属性 + if(!baseAttribute[attr.sign] || !grow[attr.sign]) return; + + //计算 累加 ((base * value) * level) + this.attributes[attr.id] += (baseAttribute[attr.sign] * grow[attr.sign]) * level; + + }) + } //刷新属性 diff --git a/JisolGameCocos/assets/script/tools.meta b/JisolGameCocos/assets/script/tools.meta new file mode 100644 index 00000000..d813f30b --- /dev/null +++ b/JisolGameCocos/assets/script/tools.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "be0566e4-1b70-468b-8845-15e4e8c0e89b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/tools/TbResource.ts b/JisolGameCocos/assets/script/tools/TbResource.ts new file mode 100644 index 00000000..b1549197 --- /dev/null +++ b/JisolGameCocos/assets/script/tools/TbResource.ts @@ -0,0 +1,46 @@ +import { Asset } from "cc"; +import { app } from "../App"; +import { Sprite } from "cc"; +import { SpriteFrame } from "cc"; +import { Node } from "cc"; +import { Component } from "cc"; + +export default class TbResource { + + static load(res:string,onComplete?:((err: Error | null, data: T) => void)){ + app.tbRes.get().load(res,onComplete) + } + + static loadSpriteFrame(res:string,sprite:Sprite,comp:Component){ + + this.load(res,(err,data:SpriteFrame) => { + + if(!data) return; + + if(!sprite.isValid || !comp.isValid) { + //提前销毁 + data.addRef(); + data.decRef(); + } + + sprite.spriteFrame = data; + //添加引用标记 + data.addRef(); + + //添加销毁资源引用 + let onDestroy = comp["onDestroy"]; + + comp["onDestroy"] = () => { + if(onDestroy) + onDestroy.bind(comp)(); + //销毁引用 + if(sprite.isValid && sprite.spriteFrame == data) sprite.spriteFrame = null; + data.decRef(); + } + + }) + + } + +} + diff --git a/JisolGameCocos/assets/script/tools/TbResource.ts.meta b/JisolGameCocos/assets/script/tools/TbResource.ts.meta new file mode 100644 index 00000000..f7cd4f66 --- /dev/null +++ b/JisolGameCocos/assets/script/tools/TbResource.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "2b16106c-1170-4a46-bea0-4ea99ccf34f2", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Home/MainView.ts b/JisolGameCocos/assets/script/ui/Home/MainView.ts index 6ff74fbd..d6efb850 100644 --- a/JisolGameCocos/assets/script/ui/Home/MainView.ts +++ b/JisolGameCocos/assets/script/ui/Home/MainView.ts @@ -50,6 +50,16 @@ export class MainView extends JNGLayerBase { app.socket.Send(GAction.S_MODE_PVP_JOIN); } + //点击挂机按钮 + onOpenOnHookView(){ + app.layer.Open(GUI.MainOnHookView); + } + + //点击地图 + onOpenMap(){ + app.layer.Open(GUI.MapSelectView); + } + } diff --git a/JisolGameCocos/assets/script/ui/Home/OnHook.meta b/JisolGameCocos/assets/script/ui/Home/OnHook.meta new file mode 100644 index 00000000..5df5e525 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Home/OnHook.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "3ea68af5-bbc6-48ae-bc9f-7d60a2f55f8c", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Home/OnHook/MainOnHookView.ts b/JisolGameCocos/assets/script/ui/Home/OnHook/MainOnHookView.ts new file mode 100644 index 00000000..c489f385 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Home/OnHook/MainOnHookView.ts @@ -0,0 +1,10 @@ +import { _decorator, Component, Node } from 'cc'; +import { JNGLayerBase } from '../../../components/JNComponent'; +const { ccclass, property } = _decorator; + +@ccclass('MainOnHookView') +export class MainOnHookView extends JNGLayerBase { + +} + + diff --git a/JisolGameCocos/assets/script/ui/Home/OnHook/MainOnHookView.ts.meta b/JisolGameCocos/assets/script/ui/Home/OnHook/MainOnHookView.ts.meta new file mode 100644 index 00000000..7485d027 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Home/OnHook/MainOnHookView.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "2ff462ee-27ac-4917-a72c-932754221b93", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Map.meta b/JisolGameCocos/assets/script/ui/Map.meta new file mode 100644 index 00000000..59487cc2 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Map.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "1421f8ee-f141-4e8e-9d80-53b75b883859", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Map/MapSelectShowItem.ts b/JisolGameCocos/assets/script/ui/Map/MapSelectShowItem.ts new file mode 100644 index 00000000..eff4e216 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Map/MapSelectShowItem.ts @@ -0,0 +1,40 @@ +import { _decorator, Component, Node } from 'cc'; +import JNScrollViewItem from '../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem'; +import { TB } from '../../../resources/config/data/schema'; +import { Label } from 'cc'; +import { Sprite } from 'cc'; +import TbResource from '../../tools/TbResource'; +const { ccclass, property } = _decorator; + +@ccclass('MapSelectShowItem') +export class MapSelectShowItem extends JNScrollViewItem { + + @property({type:Sprite,displayName:"地图预览图"}) + mapImage:Sprite; + + @property({type:Label,displayName:"地图名称"}) + mapName:Label; + + @property({type:Label,displayName:"地图介绍"}) + mapText:Label; + + onInit(data: TB.TbGOnHookMaps): void { + + this.onUpdateView(); + + } + + //刷新页面 + onUpdateView(){ + + this.mapName.string = this.data.name; + this.mapText.string = this.data.introduce; + + //加载预览图 + TbResource.loadSpriteFrame(this.data.mapImage,this.mapImage,this); + + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/Map/MapSelectShowItem.ts.meta b/JisolGameCocos/assets/script/ui/Map/MapSelectShowItem.ts.meta new file mode 100644 index 00000000..6ffd4888 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Map/MapSelectShowItem.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "e30501ff-fe51-4db6-9fc9-aaf7df8f6ba0", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Map/MapSelectView.ts b/JisolGameCocos/assets/script/ui/Map/MapSelectView.ts new file mode 100644 index 00000000..9d2a653f --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Map/MapSelectView.ts @@ -0,0 +1,23 @@ +import { _decorator, Component, Node } from 'cc'; +import JNLayerBase from '../../../../extensions/ngame/assets/ngame/ui/base/JNLayerBase'; +import JNScrollView from '../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollView'; +import { TD } from '../../App'; +const { ccclass, property } = _decorator; + +@ccclass('MapSelectView') +export class MapSelectView extends JNLayerBase { + + //地图列表 + @property(JNScrollView) + views:JNScrollView; + + onJNLoad(data?: any): void { + super.onJNLoad(data); + + this.views.refreshData(TD.TbGOnHookMaps.getDataList()) + + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/Map/MapSelectView.ts.meta b/JisolGameCocos/assets/script/ui/Map/MapSelectView.ts.meta new file mode 100644 index 00000000..c67fda22 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Map/MapSelectView.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "dcbf1c81-3947-4aae-9a11-bd14764750a0", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/UIConfig.ts b/JisolGameCocos/assets/script/ui/UIConfig.ts index 231264c0..325710f5 100644 --- a/JisolGameCocos/assets/script/ui/UIConfig.ts +++ b/JisolGameCocos/assets/script/ui/UIConfig.ts @@ -20,10 +20,10 @@ export enum GUI{ /** 主页页面 */ MainChat = "MainChat", //主页聊天页面 - IntoBattleView = "IntoBattleView", //上阵页面 - PetUpStarView = "PetUpStarView", //宠物升星页面 + MainOnHookView = "MainOnHookView", //挂机弹窗 + MapSelectView = "MapSelectView", //地图选择页面 /**游戏模式页面 */ PVPModeMatchView = "PVPModeMatchView", //PVP模式匹配页面 @@ -85,6 +85,16 @@ const UIMainConfig:{ [key: string]: JNLayerInfo; } = { uri: "prefab/ui/阵法/阵法选择页面", anims:BackOutScale, }, + [GUI.MainOnHookView]:{ + layer:GLayer.Popup, + uri: "prefab/ui/主页/挂机/主页挂机页面", + anims:BackOutScale, + }, + [GUI.MapSelectView]:{ + layer:GLayer.Popup, + uri: "prefab/ui/地图/地图选择页面", + anims:BackOutScale, + }, } //宠物页面 diff --git a/JisolGameCocos/assets/tbresource.meta b/JisolGameCocos/assets/tbresource.meta new file mode 100644 index 00000000..4bbb2078 --- /dev/null +++ b/JisolGameCocos/assets/tbresource.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "c849a392-f8d1-47f3-b4a7-4cdf5f56f228", + "files": [], + "subMetas": {}, + "userData": { + "isBundle": true, + "bundleConfigID": "514cB4o1lDLr4YHgRwsEVt" + } +} diff --git a/JisolGameCocos/assets/tbresource/ui.meta b/JisolGameCocos/assets/tbresource/ui.meta new file mode 100644 index 00000000..7bb0ce2f --- /dev/null +++ b/JisolGameCocos/assets/tbresource/ui.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "ef8d50e6-0309-40f8-a138-670738a96bf3", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/tbresource/ui/map.meta b/JisolGameCocos/assets/tbresource/ui/map.meta new file mode 100644 index 00000000..23ecd6a9 --- /dev/null +++ b/JisolGameCocos/assets/tbresource/ui/map.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "002a46b2-db68-4b07-a3a9-97d2dd8f7a27", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/tbresource/ui/map/天空城_图片.jpg b/JisolGameCocos/assets/tbresource/ui/map/天空城_图片.jpg new file mode 100644 index 00000000..adf00684 Binary files /dev/null and b/JisolGameCocos/assets/tbresource/ui/map/天空城_图片.jpg differ diff --git a/JisolGameCocos/assets/tbresource/ui/map/天空城_图片.jpg.meta b/JisolGameCocos/assets/tbresource/ui/map/天空城_图片.jpg.meta new file mode 100644 index 00000000..e29d0b63 --- /dev/null +++ b/JisolGameCocos/assets/tbresource/ui/map/天空城_图片.jpg.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "7723c85e-365f-4f00-8dce-afe81fbfeeed", + "files": [ + ".jpg", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "7723c85e-365f-4f00-8dce-afe81fbfeeed@6c48a", + "displayName": "天空城_图片", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "7723c85e-365f-4f00-8dce-afe81fbfeeed", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "7723c85e-365f-4f00-8dce-afe81fbfeeed@f9941", + "displayName": "天空城_图片", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 422, + "height": 308, + "rawWidth": 422, + "rawHeight": 308, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -211, + -154, + 0, + 211, + -154, + 0, + -211, + 154, + 0, + 211, + 154, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 308, + 422, + 308, + 0, + 0, + 422, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -211, + -154, + 0 + ], + "maxPos": [ + 211, + 154, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "7723c85e-365f-4f00-8dce-afe81fbfeeed@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "7723c85e-365f-4f00-8dce-afe81fbfeeed@f9941" + } +} diff --git a/JisolGameServer/Main/src/main/java/cfg/TB/TbGOnHookMaps.java b/JisolGameServer/Main/src/main/java/cfg/TB/TbGOnHookMaps.java index f88530d9..531c5306 100644 --- a/JisolGameServer/Main/src/main/java/cfg/TB/TbGOnHookMaps.java +++ b/JisolGameServer/Main/src/main/java/cfg/TB/TbGOnHookMaps.java @@ -18,6 +18,7 @@ public final class TbGOnHookMaps extends AbstractBean { public TbGOnHookMaps(JsonObject _buf) { id = _buf.get("id").getAsInt(); name = _buf.get("name").getAsString(); + mapImage = _buf.get("mapImage").getAsString(); mapId = _buf.get("mapId").getAsInt(); { com.google.gson.JsonArray _json0_ = _buf.get("petIds").getAsJsonArray(); int __n0 = _json0_.size(); petIds = new int[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { int __v0; __v0 = __e0.getAsInt(); petIds[__index0++] = __v0; } } sign = _buf.get("sign").getAsString(); @@ -36,6 +37,10 @@ public final class TbGOnHookMaps extends AbstractBean { * 地图名称 */ public final String name; + /** + * 地图图片 + */ + public final String mapImage; /** * 地图场景Id */ @@ -63,6 +68,7 @@ public final class TbGOnHookMaps extends AbstractBean { return "{ " + "(format_field_name __code_style field.name):" + id + "," + "(format_field_name __code_style field.name):" + name + "," + + "(format_field_name __code_style field.name):" + mapImage + "," + "(format_field_name __code_style field.name):" + mapId + "," + "(format_field_name __code_style field.name):" + petIds + "," + "(format_field_name __code_style field.name):" + sign + "," diff --git a/JisolGameServer/Main/src/main/java/cfg/TB/TbGRoleUpGrow.java b/JisolGameServer/Main/src/main/java/cfg/TB/TbGRoleUpGrow.java new file mode 100644 index 00000000..ec7e953d --- /dev/null +++ b/JisolGameServer/Main/src/main/java/cfg/TB/TbGRoleUpGrow.java @@ -0,0 +1,61 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg.TB; + +import luban.*; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; + + +public final class TbGRoleUpGrow extends AbstractBean { + public TbGRoleUpGrow(JsonObject _buf) { + id = _buf.get("id").getAsInt(); + Blood = _buf.get("Blood").getAsInt(); + Attack = _buf.get("Attack").getAsInt(); + Defend = _buf.get("Defend").getAsInt(); + } + + public static TbGRoleUpGrow deserialize(JsonObject _buf) { + return new cfg.TB.TbGRoleUpGrow(_buf); + } + + /** + * 角色Id (0 则默认) + */ + public final int id; + /** + * 血量成长 + */ + public final int Blood; + /** + * 攻击成长 + */ + public final int Attack; + /** + * 防御成长 + */ + public final int Defend; + + public static final int __ID__ = 387207741; + + @Override + public int getTypeId() { return __ID__; } + + @Override + public String toString() { + return "{ " + + "(format_field_name __code_style field.name):" + id + "," + + "(format_field_name __code_style field.name):" + Blood + "," + + "(format_field_name __code_style field.name):" + Attack + "," + + "(format_field_name __code_style field.name):" + Defend + "," + + "}"; + } +} + diff --git a/JisolGameServer/Main/src/main/java/cfg/Tables.java b/JisolGameServer/Main/src/main/java/cfg/Tables.java index ec1f89fd..c5d0508c 100644 --- a/JisolGameServer/Main/src/main/java/cfg/Tables.java +++ b/JisolGameServer/Main/src/main/java/cfg/Tables.java @@ -39,6 +39,8 @@ public final class Tables public cfg.TbGRoleUpLevel getTbGRoleUpLevel() { return _tbgroleuplevel; } private final cfg.TbGRoleUpStar _tbgroleupstar; public cfg.TbGRoleUpStar getTbGRoleUpStar() { return _tbgroleupstar; } + private final cfg.TbGRoleUpGrow _tbgroleupgrow; + public cfg.TbGRoleUpGrow getTbGRoleUpGrow() { return _tbgroleupgrow; } private final cfg.TbSServerInfo _tbsserverinfo; public cfg.TbSServerInfo getTbSServerInfo() { return _tbsserverinfo; } private final cfg.TbGAttribute _tbgattribute; @@ -61,6 +63,7 @@ public final class Tables _tbgresource = new cfg.TbGResource(loader.load("tbgresource")); _tbgroleuplevel = new cfg.TbGRoleUpLevel(loader.load("tbgroleuplevel")); _tbgroleupstar = new cfg.TbGRoleUpStar(loader.load("tbgroleupstar")); + _tbgroleupgrow = new cfg.TbGRoleUpGrow(loader.load("tbgroleupgrow")); _tbsserverinfo = new cfg.TbSServerInfo(loader.load("tbsserverinfo")); _tbgattribute = new cfg.TbGAttribute(loader.load("tbgattribute")); _tbgrolebaseattribute = new cfg.TbGRoleBaseAttribute(loader.load("tbgrolebaseattribute")); diff --git a/JisolGameServer/Main/src/main/java/cfg/TbGRoleUpGrow.java b/JisolGameServer/Main/src/main/java/cfg/TbGRoleUpGrow.java new file mode 100644 index 00000000..5cdc5dbd --- /dev/null +++ b/JisolGameServer/Main/src/main/java/cfg/TbGRoleUpGrow.java @@ -0,0 +1,37 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg; + +import luban.*; +import com.google.gson.JsonElement; + + +public final class TbGRoleUpGrow { + private final java.util.HashMap _dataMap; + private final java.util.ArrayList _dataList; + + public TbGRoleUpGrow(JsonElement _buf) { + _dataMap = new java.util.HashMap(); + _dataList = new java.util.ArrayList(); + + for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) { + cfg.TB.TbGRoleUpGrow _v; + _v = cfg.TB.TbGRoleUpGrow.deserialize(_e_.getAsJsonObject()); + _dataList.add(_v); + _dataMap.put(_v.id, _v); + } + } + + public java.util.HashMap getDataMap() { return _dataMap; } + public java.util.ArrayList getDataList() { return _dataList; } + + public cfg.TB.TbGRoleUpGrow get(int key) { return _dataMap.get(key); } + +} diff --git a/JisolGameServer/Main/src/main/resources/json/tbgmap.json b/JisolGameServer/Main/src/main/resources/json/tbgmap.json index 3caec599..caaf6355 100644 --- a/JisolGameServer/Main/src/main/resources/json/tbgmap.json +++ b/JisolGameServer/Main/src/main/resources/json/tbgmap.json @@ -9,5 +9,16 @@ "map2OffsetY": 520, "map3OffsetY": 520, "scale": 1.5 + }, + { + "id": 60002, + "mapName": "魔法镇", + "map1": "map/MAP4/MAP4_1/spriteFrame", + "map2": "map/MAP4/MAP4_2/spriteFrame", + "map3": "map/MAP4/MAP4_3/spriteFrame", + "map1OffsetY": 80, + "map2OffsetY": 520, + "map3OffsetY": 520, + "scale": 1.5 } ] \ No newline at end of file diff --git a/JisolGameServer/Main/src/main/resources/json/tbgonhookmap1.json b/JisolGameServer/Main/src/main/resources/json/tbgonhookmap1.json index a47d8de6..71aa9a83 100644 --- a/JisolGameServer/Main/src/main/resources/json/tbgonhookmap1.json +++ b/JisolGameServer/Main/src/main/resources/json/tbgonhookmap1.json @@ -3,7 +3,7 @@ "id": 1, "data": { "level": 1, - "petLevel": 1, + "petLevel": 0, "oddsId": 1 } } diff --git a/JisolGameServer/Main/src/main/resources/json/tbgonhookmaps.json b/JisolGameServer/Main/src/main/resources/json/tbgonhookmaps.json index 1a866b22..2b21c7d8 100644 --- a/JisolGameServer/Main/src/main/resources/json/tbgonhookmaps.json +++ b/JisolGameServer/Main/src/main/resources/json/tbgonhookmaps.json @@ -1,7 +1,8 @@ [ { "id": 120001, - "name": "冒险岛", + "name": "天空城", + "mapImage": "ui/map/天空城_图片/spriteFrame", "mapId": 60001, "petIds": [ 10001, @@ -10,5 +11,17 @@ ], "sign": "", "introduce": "新手地图在这里可以遇到可爱的宠物哦~" + }, + { + "id": 120002, + "name": "魔法镇", + "mapImage": "ui/map/天空城_图片/spriteFrame", + "mapId": 60002, + "petIds": [ + 10003, + 10004 + ], + "sign": "", + "introduce": "魔法阵 这里有魔法精灵~" } ] \ No newline at end of file diff --git a/JisolGameServer/Main/src/main/resources/json/tbgroleupgrow.json b/JisolGameServer/Main/src/main/resources/json/tbgroleupgrow.json new file mode 100644 index 00000000..c3d9dd93 --- /dev/null +++ b/JisolGameServer/Main/src/main/resources/json/tbgroleupgrow.json @@ -0,0 +1,8 @@ +[ + { + "id": 0, + "Blood": 1, + "Attack": 1, + "Defend": 1 + } +] \ No newline at end of file