我也不知道在做什么 反正做的东西不少....

This commit is contained in:
DESKTOP-5RP3AKU\Jisol 2023-12-01 02:08:21 +08:00
parent e73cf98ff4
commit 088e91a32b
58 changed files with 4506 additions and 122 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "cb305b38-bf16-4a31-851f-e05188cde66b",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

View File

@ -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"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View File

@ -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"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -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"
}
}

View File

@ -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<number, TB.TbGRoleUpGrow>
private _dataList: TB.TbGRoleUpGrow[]
constructor(_json_: any) {
this._dataMap = new Map<number, TB.TbGRoleUpGrow>()
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<number, TB.TbGRoleUpGrow> { 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<number, TB.TbSServerInfo>
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)

View File

@ -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
}
]

View File

@ -3,7 +3,7 @@
"id": 1,
"data": {
"level": 1,
"petLevel": 1,
"petLevel": 0,
"oddsId": 1
}
}

View File

@ -0,0 +1,11 @@
{
"ver": "2.0.1",
"importer": "json",
"imported": true,
"uuid": "6baeb0a2-41ee-4611-b21b-bccecaf19df3",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -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": "魔法阵 这里有魔法精灵~"
}
]

View File

@ -0,0 +1,11 @@
{
"ver": "2.0.1",
"importer": "json",
"imported": true,
"uuid": "50368b9b-31bf-44b2-ad98-b5faf101faa0",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,8 @@
[
{
"id": 0,
"Blood": 1,
"Attack": 1,
"Defend": 1
}
]

View File

@ -0,0 +1,11 @@
{
"ver": "2.0.1",
"importer": "json",
"imported": true,
"uuid": "044ec3bd-0504-4dcf-ac6c-ffe3d6ae31d7",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -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,

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "462dbd5c-5197-4369-baf8-a69b5e93a9ed",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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
}
]

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.49",
"importer": "prefab",
"imported": true,
"uuid": "92db5508-42dd-44b8-9c4f-b3489e11cd05",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "主页挂机页面"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "8ead86ff-2169-44e2-ac7f-d882873f0835",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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
}
]

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.49",
"importer": "prefab",
"imported": true,
"uuid": "c7179571-fa91-4fa3-be60-e77afb0bae8e",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "地图展示节点"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.49",
"importer": "prefab",
"imported": true,
"uuid": "5d1fb219-0b98-4c4b-b6ed-4019cc19603e",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "地图选择页面"
}
}

View File

@ -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({

View File

@ -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;
})
}
//刷新属性

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "be0566e4-1b70-468b-8845-15e4e8c0e89b",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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<T extends Asset>(res:string,onComplete?:((err: Error | null, data: T) => void)){
app.tbRes.get().load<T>(res,onComplete)
}
static loadSpriteFrame(res:string,sprite:Sprite,comp:Component){
this.load<SpriteFrame>(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();
}
})
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "2b16106c-1170-4a46-bea0-4ea99ccf34f2",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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);
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "3ea68af5-bbc6-48ae-bc9f-7d60a2f55f8c",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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 {
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "2ff462ee-27ac-4917-a72c-932754221b93",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "1421f8ee-f141-4e8e-9d80-53b75b883859",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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<TB.TbGOnHookMaps> {
@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);
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "e30501ff-fe51-4db6-9fc9-aaf7df8f6ba0",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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())
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "dcbf1c81-3947-4aae-9a11-bd14764750a0",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -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,
},
}
//宠物页面

View File

@ -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"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "ef8d50e6-0309-40f8-a138-670738a96bf3",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "002a46b2-db68-4b07-a3a9-97d2dd8f7a27",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

View File

@ -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"
}
}

View File

@ -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 + ","

View File

@ -0,0 +1,61 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
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 + ","
+ "}";
}
}

View File

@ -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"));

View File

@ -0,0 +1,37 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg;
import luban.*;
import com.google.gson.JsonElement;
public final class TbGRoleUpGrow {
private final java.util.HashMap<Integer, cfg.TB.TbGRoleUpGrow> _dataMap;
private final java.util.ArrayList<cfg.TB.TbGRoleUpGrow> _dataList;
public TbGRoleUpGrow(JsonElement _buf) {
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRoleUpGrow>();
_dataList = new java.util.ArrayList<cfg.TB.TbGRoleUpGrow>();
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<Integer, cfg.TB.TbGRoleUpGrow> getDataMap() { return _dataMap; }
public java.util.ArrayList<cfg.TB.TbGRoleUpGrow> getDataList() { return _dataList; }
public cfg.TB.TbGRoleUpGrow get(int key) { return _dataMap.get(key); }
}

View File

@ -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
}
]

View File

@ -3,7 +3,7 @@
"id": 1,
"data": {
"level": 1,
"petLevel": 1,
"petLevel": 0,
"oddsId": 1
}
}

View File

@ -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": "魔法阵 这里有魔法精灵~"
}
]

View File

@ -0,0 +1,8 @@
[
{
"id": 0,
"Blood": 1,
"Attack": 1,
"Defend": 1
}
]