Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
MingSnake_241120
Commits
67d73ad1
Commit
67d73ad1
authored
Dec 10, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
e6cbff6f
Changes
31
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
3061 additions
and
0 deletions
+3061
-0
OpenLuckyPanel.meta
assets/Bundles/OpenLuckyPanel.meta
+1
-0
OpenLuckyPanel.prefab
assets/Bundles/OpenLuckyPanel/OpenLuckyPanel.prefab
+1702
-0
OpenLuckyPanel.prefab.meta
assets/Bundles/OpenLuckyPanel/OpenLuckyPanel.prefab.meta
+13
-0
jpg.meta
assets/Bundles/OpenLuckyPanel/jpg.meta
+9
-0
bg.jpg
assets/Bundles/OpenLuckyPanel/jpg/bg.jpg
+0
-0
bg.jpg.meta
assets/Bundles/OpenLuckyPanel/jpg/bg.jpg.meta
+134
-0
png.meta
assets/Bundles/OpenLuckyPanel/png.meta
+1
-0
OpenLuckyPanel.pac
assets/Bundles/OpenLuckyPanel/png/OpenLuckyPanel.pac
+3
-0
OpenLuckyPanel.pac.meta
assets/Bundles/OpenLuckyPanel/png/OpenLuckyPanel.pac.meta
+36
-0
diamond.png
assets/Bundles/OpenLuckyPanel/png/diamond.png
+0
-0
diamond.png.meta
assets/Bundles/OpenLuckyPanel/png/diamond.png.meta
+134
-0
five_btn.png
assets/Bundles/OpenLuckyPanel/png/five_btn.png
+0
-0
five_btn.png.meta
assets/Bundles/OpenLuckyPanel/png/five_btn.png.meta
+134
-0
gold.png
assets/Bundles/OpenLuckyPanel/png/gold.png
+0
-0
gold.png.meta
assets/Bundles/OpenLuckyPanel/png/gold.png.meta
+134
-0
one_btn.png
assets/Bundles/OpenLuckyPanel/png/one_btn.png
+0
-0
one_btn.png.meta
assets/Bundles/OpenLuckyPanel/png/one_btn.png.meta
+134
-0
open.png
assets/Bundles/OpenLuckyPanel/png/open.png
+0
-0
open.png.meta
assets/Bundles/OpenLuckyPanel/png/open.png.meta
+134
-0
sliver.png
assets/Bundles/OpenLuckyPanel/png/sliver.png
+0
-0
sliver.png.meta
assets/Bundles/OpenLuckyPanel/png/sliver.png.meta
+134
-0
think.png
assets/Bundles/OpenLuckyPanel/png/think.png
+0
-0
think.png.meta
assets/Bundles/OpenLuckyPanel/png/think.png.meta
+134
-0
x5.png
assets/Bundles/OpenLuckyPanel/png/x5.png
+0
-0
x5.png.meta
assets/Bundles/OpenLuckyPanel/png/x5.png.meta
+134
-0
svga.meta
assets/Bundles/OpenLuckyPanel/svga.meta
+9
-0
120输出开福袋.svga
assets/Bundles/OpenLuckyPanel/svga/120输出开福袋.svga
+0
-0
120输出开福袋.svga.meta
assets/Bundles/OpenLuckyPanel/svga/120输出开福袋.svga.meta
+1
-0
OpenLuckyPanel.ts
assets/Scripts/Panels/OpenLuckyPanel.ts
+70
-0
OpenLuckyPanel.ts.meta
assets/Scripts/Panels/OpenLuckyPanel.ts.meta
+1
-0
shareStore.ts.meta
assets/Scripts/store/shareStore.ts.meta
+9
-0
No files found.
assets/Bundles/OpenLuckyPanel.meta
0 → 100644
View file @
67d73ad1
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"0fb560f4-2a23-4e45-a0b8-487e45f4e585","files":[],"subMetas":{},"userData":{"isBundle":true}}
assets/Bundles/OpenLuckyPanel/OpenLuckyPanel.prefab
0 → 100644
View file @
67d73ad1
This diff is collapsed.
Click to expand it.
assets/Bundles/OpenLuckyPanel/OpenLuckyPanel.prefab.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "862cb80a-d17c-46c5-ab4b-02874ee2915e",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "OpenLuckyPanel"
}
}
assets/Bundles/OpenLuckyPanel/jpg.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "281b3728-da7b-4249-aca7-2727cbe7a868",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Bundles/OpenLuckyPanel/jpg/bg.jpg
0 → 100644
View file @
67d73ad1
31.4 KB
assets/Bundles/OpenLuckyPanel/jpg/bg.jpg.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a2682367-47f0-4766-9086-ef3276d50cfc",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a2682367-47f0-4766-9086-ef3276d50cfc@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a2682367-47f0-4766-9086-ef3276d50cfc",
"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": "a2682367-47f0-4766-9086-ef3276d50cfc@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1624,
"height": 750,
"rawWidth": 1624,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-812,
-375,
0,
812,
-375,
0,
-812,
375,
0,
812,
375,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
750,
1624,
750,
0,
0,
1624,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-812,
-375,
0
],
"maxPos": [
812,
375,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a2682367-47f0-4766-9086-ef3276d50cfc@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a2682367-47f0-4766-9086-ef3276d50cfc@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png.meta
0 → 100644
View file @
67d73ad1
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"8df59efa-2d0d-44f6-8931-1743aa66cd80","files":[],"subMetas":{},"userData":{}}
assets/Bundles/OpenLuckyPanel/png/OpenLuckyPanel.pac
0 → 100644
View file @
67d73ad1
{
"__type__": "cc.SpriteAtlas"
}
assets/Bundles/OpenLuckyPanel/png/OpenLuckyPanel.pac.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.8",
"importer": "auto-atlas",
"imported": true,
"uuid": "b5b15748-64af-423e-ba6b-a24f18f70004",
"files": [
".json"
],
"subMetas": {},
"userData": {
"maxWidth": 2048,
"maxHeight": 2048,
"padding": 2,
"allowRotation": true,
"forceSquared": false,
"powerOfTwo": false,
"algorithm": "MaxRects",
"format": "png",
"quality": 80,
"contourBleed": true,
"paddingBleed": true,
"filterUnused": false,
"removeTextureInBundle": true,
"removeImageInBundle": true,
"removeSpriteAtlasInBundle": true,
"compressSettings": {},
"textureSetting": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
}
}
}
assets/Bundles/OpenLuckyPanel/png/diamond.png
0 → 100644
View file @
67d73ad1
63.1 KB
assets/Bundles/OpenLuckyPanel/png/diamond.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a29ee445-fb60-49eb-b22f-1888690aa391",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a29ee445-fb60-49eb-b22f-1888690aa391@6c48a",
"displayName": "diamond",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a29ee445-fb60-49eb-b22f-1888690aa391",
"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": "a29ee445-fb60-49eb-b22f-1888690aa391@f9941",
"displayName": "diamond",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 389,
"height": 451,
"rawWidth": 389,
"rawHeight": 451,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-194.5,
-225.5,
0,
194.5,
-225.5,
0,
-194.5,
225.5,
0,
194.5,
225.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
451,
389,
451,
0,
0,
389,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-194.5,
-225.5,
0
],
"maxPos": [
194.5,
225.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a29ee445-fb60-49eb-b22f-1888690aa391@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a29ee445-fb60-49eb-b22f-1888690aa391@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png/five_btn.png
0 → 100644
View file @
67d73ad1
3.74 KB
assets/Bundles/OpenLuckyPanel/png/five_btn.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@6c48a",
"displayName": "five_btn",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b",
"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": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@f9941",
"displayName": "five_btn",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png/gold.png
0 → 100644
View file @
67d73ad1
51.7 KB
assets/Bundles/OpenLuckyPanel/png/gold.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@6c48a",
"displayName": "gold",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59",
"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": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@f9941",
"displayName": "gold",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 370,
"height": 433,
"rawWidth": 370,
"rawHeight": 433,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-185,
-216.5,
0,
185,
-216.5,
0,
-185,
216.5,
0,
185,
216.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
433,
370,
433,
0,
0,
370,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-185,
-216.5,
0
],
"maxPos": [
185,
216.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png/one_btn.png
0 → 100644
View file @
67d73ad1
3.24 KB
assets/Bundles/OpenLuckyPanel/png/one_btn.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "38a5f137-ebeb-428c-923a-f76aec12cfc4",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "38a5f137-ebeb-428c-923a-f76aec12cfc4@6c48a",
"displayName": "one_btn",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "38a5f137-ebeb-428c-923a-f76aec12cfc4",
"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": "38a5f137-ebeb-428c-923a-f76aec12cfc4@f9941",
"displayName": "one_btn",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "38a5f137-ebeb-428c-923a-f76aec12cfc4@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "38a5f137-ebeb-428c-923a-f76aec12cfc4@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png/open.png
0 → 100644
View file @
67d73ad1
2.56 KB
assets/Bundles/OpenLuckyPanel/png/open.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "406a705b-d498-412a-8326-3fd42feafd7e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "406a705b-d498-412a-8326-3fd42feafd7e@6c48a",
"displayName": "open",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "406a705b-d498-412a-8326-3fd42feafd7e",
"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": "406a705b-d498-412a-8326-3fd42feafd7e@f9941",
"displayName": "open",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "406a705b-d498-412a-8326-3fd42feafd7e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "406a705b-d498-412a-8326-3fd42feafd7e@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png/sliver.png
0 → 100644
View file @
67d73ad1
47.6 KB
assets/Bundles/OpenLuckyPanel/png/sliver.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "298ae8cb-2eb1-4e24-b835-1880c0187b46",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "298ae8cb-2eb1-4e24-b835-1880c0187b46@6c48a",
"displayName": "sliver",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "298ae8cb-2eb1-4e24-b835-1880c0187b46",
"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": "298ae8cb-2eb1-4e24-b835-1880c0187b46@f9941",
"displayName": "sliver",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 370,
"height": 394,
"rawWidth": 370,
"rawHeight": 394,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-185,
-197,
0,
185,
-197,
0,
-185,
197,
0,
185,
197,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
394,
370,
394,
0,
0,
370,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-185,
-197,
0
],
"maxPos": [
185,
197,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "298ae8cb-2eb1-4e24-b835-1880c0187b46@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "298ae8cb-2eb1-4e24-b835-1880c0187b46@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png/think.png
0 → 100644
View file @
67d73ad1
3.61 KB
assets/Bundles/OpenLuckyPanel/png/think.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@6c48a",
"displayName": "think",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1",
"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": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@f9941",
"displayName": "think",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/png/x5.png
0 → 100644
View file @
67d73ad1
2.05 KB
assets/Bundles/OpenLuckyPanel/png/x5.png.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "53cef085-d40e-4dae-9de7-5ec418a8d99a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "53cef085-d40e-4dae-9de7-5ec418a8d99a@6c48a",
"displayName": "x5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "53cef085-d40e-4dae-9de7-5ec418a8d99a",
"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": "53cef085-d40e-4dae-9de7-5ec418a8d99a@f9941",
"displayName": "x5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 84,
"height": 84,
"rawWidth": 84,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-42,
-42,
0,
42,
-42,
0,
-42,
42,
0,
42,
42,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
84,
84,
84,
0,
0,
84,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-42,
-42,
0
],
"maxPos": [
42,
42,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "53cef085-d40e-4dae-9de7-5ec418a8d99a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "53cef085-d40e-4dae-9de7-5ec418a8d99a@6c48a"
}
}
assets/Bundles/OpenLuckyPanel/svga.meta
0 → 100644
View file @
67d73ad1
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "fa6f5230-97d1-4e00-8f84-c5d4bf7d510b",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Bundles/OpenLuckyPanel/svga/120输出开福袋.svga
0 → 100644
View file @
67d73ad1
File added
assets/Bundles/OpenLuckyPanel/svga/120输出开福袋.svga.meta
0 → 100644
View file @
67d73ad1
{"ver":"1.0.0","importer":"*","imported":true,"uuid":"d8db21e4-8237-4d18-8afe-8e460175b323","files":[".json",".svga"],"subMetas":{},"userData":{}}
assets/Scripts/Panels/OpenLuckyPanel.ts
0 → 100644
View file @
67d73ad1
import
Panel
from
"../../Module/Panel"
;
import
{
_decorator
,
Button
,
Node
,
Sprite
,
Label
,
SpriteFrame
}
from
"cc"
;
import
{
observer
}
from
"../store/decorators"
;
import
{
hidePanel
,
showPanel
}
from
"db://assets/Module/UIFast"
;
import
{
sendWebNetWithToken
,
WebNetName
}
from
"db://assets/Scripts/Utils/WebNet/WebNet"
;
import
GetPrize
from
"db://assets/Scripts/Panels/GetPrize"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
observer
@
ccclass
(
"OpenLuckyPanel"
)
export
default
class
OpenLuckyPanel
extends
Panel
{
static
bundle
=
"OpenLuckyPanel"
;
static
skin
=
"OpenLuckyPanel"
;
@
property
(
Node
)
open
:
Node
=
null
;
@
property
(
Node
)
cancel
:
Node
=
null
;
@
property
(
Node
)
bag
:
Node
=
null
;
@
property
(
Node
)
x5
:
Node
=
null
;
@
property
(
SpriteFrame
)
sliverBag
:
SpriteFrame
=
null
;
@
property
(
SpriteFrame
)
goldBag
:
SpriteFrame
=
null
;
@
property
(
SpriteFrame
)
diamondBag
:
SpriteFrame
=
null
;
onLoad
()
{
this
.
open
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickOpen
);
this
.
cancel
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickCancel
);
}
start
()
{
const
{
type
,
num
=
1
}
=
this
.
data
;
this
.
bag
.
getComponent
(
Sprite
).
spriteFrame
=
{
"sliver"
:
this
.
sliverBag
,
"gold"
:
this
.
goldBag
,
"diamond"
:
this
.
diamondBag
,
}[
type
]
||
this
.
sliverBag
;
this
.
x5
.
active
=
num
==
5
;
}
async
clickOpen
()
{
const
{
type
,
num
}
=
this
.
data
;
const
drawType
=
{
"sliver"
:
1
,
"gold"
:
2
,
"diamond"
:
3
,
}[
type
];
const
{
success
,
data
}
=
await
sendWebNetWithToken
(
WebNetName
.
bagExchange
,
{
drawType
,
drawCount
:
num
,
});
if
(
!
success
)
{
this
.
hidePanel
();
return
;
}
showPanel
(
GetPrize
,
data
.
prizeVOList
);
}
clickCancel
()
{
this
.
hidePanel
();
}
}
assets/Scripts/Panels/OpenLuckyPanel.ts.meta
0 → 100644
View file @
67d73ad1
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"16727cdf-dae6-4d93-ab87-02bb43881ad3","files":[],"subMetas":{},"userData":{}}
assets/Scripts/store/shareStore.ts.meta
0 → 100644
View file @
67d73ad1
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "dd608f35-c09e-4a17-8580-17aa35650bce",
"files": [],
"subMetas": {},
"userData": {}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment