提交地图选择

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-12-03 03:31:19 +08:00
parent 4c47969828
commit cebe7cc9d3
22 changed files with 697 additions and 168 deletions

View File

@@ -15,7 +15,7 @@
{
"id": 120002,
"name": "魔法镇",
"mapImage": "ui/map/天空城_图片/spriteFrame",
"mapImage": "ui/map/魔法镇_图片/spriteFrame",
"mapId": 60002,
"petIds": [
10003,

View File

@@ -25,23 +25,26 @@
"__id__": 8
},
{
"__id__": 16
}
],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 14
},
{
"__id__": 26
"__id__": 20
},
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 36
},
{
"__id__": 38
}
],
"_prefab": {
"__id__": 30
"__id__": 40
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -74,7 +77,7 @@
},
{
"__type__": "cc.Node",
"_name": "地图预览图",
"_name": "选中颜色",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -95,7 +98,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -170.316,
"x": 0,
"y": 0,
"z": 0
},
@@ -134,6 +137,278 @@
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 660,
"height": 260
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1fm/yIo8xG7L/MU3QUJXHv"
},
{
"__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": 0,
"g": 0,
"b": 0,
"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": "d1l3mfKhVDJJUPdPg0hi5c"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d9AGOwwU9KjIFcfeT9rrIy",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "背景颜色",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 13
},
"_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__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_contentSize": {
"__type__": "cc.Size",
"width": 650,
"height": 250
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "17QXJmOL1D/ITQjKUtojL0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_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": "2fhfYPV6ROg5kQ0npjJh+t"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "f9AFb9LfFBdqg7b8FD9OtW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "地图预览图",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 19
},
"_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__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_contentSize": {
"__type__": "cc.Size",
"width": 250,
@@ -156,11 +431,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
"__id__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 6
"__id__": 18
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -220,17 +495,17 @@
"_active": true,
"_components": [
{
"__id__": 9
"__id__": 21
},
{
"__id__": 11
"__id__": 23
},
{
"__id__": 13
"__id__": 25
}
],
"_prefab": {
"__id__": 15
"__id__": 27
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -267,11 +542,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
"__id__": 20
},
"_enabled": true,
"__prefab": {
"__id__": 10
"__id__": 22
},
"_contentSize": {
"__type__": "cc.Size",
@@ -295,11 +570,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
"__id__": 20
},
"_enabled": true,
"__prefab": {
"__id__": 12
"__id__": 24
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -340,11 +615,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
"__id__": 20
},
"_enabled": true,
"__prefab": {
"__id__": 14
"__id__": 26
},
"_color": {
"__type__": "cc.Color",
@@ -385,17 +660,17 @@
"_active": true,
"_components": [
{
"__id__": 17
"__id__": 29
},
{
"__id__": 19
"__id__": 31
},
{
"__id__": 21
"__id__": 33
}
],
"_prefab": {
"__id__": 23
"__id__": 35
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -432,11 +707,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 18
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
@@ -460,11 +735,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 20
"__id__": 32
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -505,11 +780,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 22
"__id__": 34
},
"_color": {
"__type__": "cc.Color",
@@ -548,7 +823,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 25
"__id__": 37
},
"_contentSize": {
"__type__": "cc.Size",
@@ -566,51 +841,6 @@
"__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": "",
@@ -621,22 +851,25 @@
},
"_enabled": true,
"__prefab": {
"__id__": 29
"__id__": 39
},
"mapImage": {
"__id__": 5
"__id__": 17
},
"mapName": {
"__id__": 11
"__id__": 23
},
"mapText": {
"__id__": 19
"__id__": 31
},
"selectNode": {
"__id__": 2
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b75RhaWlJOVbpbqITFkrle"
"fileId": "b6OKLKSjhEfoG7fZWOnH03"
},
{
"__type__": "cc.PrefabInfo",

View File

@@ -25,17 +25,17 @@
"_active": true,
"_components": [
{
"__id__": 97
"__id__": 98
},
{
"__id__": 99
"__id__": 100
},
{
"__id__": 101
"__id__": 102
}
],
"_prefab": {
"__id__": 103
"__id__": 104
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -85,20 +85,20 @@
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 89
},
{
"__id__": 90
"__id__": 91
},
{
"__id__": 92
"__id__": 93
},
{
"__id__": 94
"__id__": 95
}
],
"_prefab": {
"__id__": 96
"__id__": 97
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1088,17 +1088,17 @@
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 82
},
{
"__id__": 83
"__id__": 84
},
{
"__id__": 85
"__id__": 86
}
],
"_prefab": {
"__id__": 87
"__id__": 88
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1547,7 +1547,7 @@
}
],
"_prefab": {
"__id__": 80
"__id__": 81
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1828,7 +1828,11 @@
"__prefab": {
"__id__": 79
},
"clickEvents": [],
"clickEvents": [
{
"__id__": 80
}
],
"_interactable": true,
"_transition": 2,
"_normalColor": {
@@ -1886,6 +1890,16 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "16iwUIB3FHjagBzGAl31Zl"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "dcbf1yBOUdKrpoRvRR2R1Cg",
"handler": "onClickConfirm",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -1909,7 +1923,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 82
"__id__": 83
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1937,7 +1951,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 84
"__id__": 85
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1982,7 +1996,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 86
"__id__": 87
},
"_alignFlags": 44,
"_target": null,
@@ -2031,7 +2045,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 89
"__id__": 90
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2059,7 +2073,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 91
"__id__": 92
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2104,7 +2118,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 93
"__id__": 94
},
"_id": ""
},
@@ -2122,7 +2136,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 95
"__id__": 96
},
"_alignFlags": 45,
"_target": null,
@@ -2171,7 +2185,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 98
"__id__": 99
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2199,7 +2213,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 100
"__id__": 101
},
"_alignFlags": 45,
"_target": null,
@@ -2235,7 +2249,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 102
"__id__": 103
},
"mask": false,
"maskOpcity": 80,