iconmsg修改
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m15s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m15s
This commit is contained in:
parent
510bd4a1b9
commit
166a896c3e
@ -5592,6 +5592,24 @@
|
|||||||
"rightNode": {
|
"rightNode": {
|
||||||
"__id__": 114
|
"__id__": 114
|
||||||
},
|
},
|
||||||
|
"zxkFrames": [
|
||||||
|
{
|
||||||
|
"__uuid__": "fb975d49-84bd-44ce-93f5-35b625140fd6@f9941",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__uuid__": "479c23d5-6080-4e69-8324-3fc6ed99a421@f9941",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__uuid__": "22c56a64-39c1-4d5b-853a-ed171747f682@f9941",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__uuid__": "c38543d4-1cff-4464-9c3b-d5db88832ca3@f9941",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
|
}
|
||||||
|
],
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1413,8 +1413,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 300,
|
"width": 303,
|
||||||
"height": 110
|
"height": 92
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -1455,7 +1455,7 @@
|
|||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
"_sizeMode": 0,
|
"_sizeMode": 1,
|
||||||
"_fillCenter": {
|
"_fillCenter": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
|
|||||||
BIN
assets/Game/rp_11001/主页/咨询框/zxk_02.png
Executable file
BIN
assets/Game/rp_11001/主页/咨询框/zxk_02.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 137 KiB |
134
assets/Game/rp_11001/主页/咨询框/zxk_02.png.meta
Normal file
134
assets/Game/rp_11001/主页/咨询框/zxk_02.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "479c23d5-6080-4e69-8324-3fc6ed99a421",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "479c23d5-6080-4e69-8324-3fc6ed99a421@6c48a",
|
||||||
|
"displayName": "zxk_02",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "479c23d5-6080-4e69-8324-3fc6ed99a421",
|
||||||
|
"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": "479c23d5-6080-4e69-8324-3fc6ed99a421@f9941",
|
||||||
|
"displayName": "zxk_02",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 568,
|
||||||
|
"height": 403,
|
||||||
|
"rawWidth": 568,
|
||||||
|
"rawHeight": 403,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-284,
|
||||||
|
-201.5,
|
||||||
|
0,
|
||||||
|
284,
|
||||||
|
-201.5,
|
||||||
|
0,
|
||||||
|
-284,
|
||||||
|
201.5,
|
||||||
|
0,
|
||||||
|
284,
|
||||||
|
201.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
403,
|
||||||
|
568,
|
||||||
|
403,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
568,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-284,
|
||||||
|
-201.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
284,
|
||||||
|
201.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "479c23d5-6080-4e69-8324-3fc6ed99a421@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "479c23d5-6080-4e69-8324-3fc6ed99a421@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Game/rp_11001/主页/咨询框/zxk_03.png
Executable file
BIN
assets/Game/rp_11001/主页/咨询框/zxk_03.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 192 KiB |
134
assets/Game/rp_11001/主页/咨询框/zxk_03.png.meta
Normal file
134
assets/Game/rp_11001/主页/咨询框/zxk_03.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "22c56a64-39c1-4d5b-853a-ed171747f682",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "22c56a64-39c1-4d5b-853a-ed171747f682@6c48a",
|
||||||
|
"displayName": "zxk_03",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "22c56a64-39c1-4d5b-853a-ed171747f682",
|
||||||
|
"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": "22c56a64-39c1-4d5b-853a-ed171747f682@f9941",
|
||||||
|
"displayName": "zxk_03",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 568,
|
||||||
|
"height": 565,
|
||||||
|
"rawWidth": 568,
|
||||||
|
"rawHeight": 565,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-284,
|
||||||
|
-282.5,
|
||||||
|
0,
|
||||||
|
284,
|
||||||
|
-282.5,
|
||||||
|
0,
|
||||||
|
-284,
|
||||||
|
282.5,
|
||||||
|
0,
|
||||||
|
284,
|
||||||
|
282.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
565,
|
||||||
|
568,
|
||||||
|
565,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
568,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-284,
|
||||||
|
-282.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
284,
|
||||||
|
282.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "22c56a64-39c1-4d5b-853a-ed171747f682@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "22c56a64-39c1-4d5b-853a-ed171747f682@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Game/rp_11001/主页/咨询框/zxk_04.png
Executable file
BIN
assets/Game/rp_11001/主页/咨询框/zxk_04.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 257 KiB |
134
assets/Game/rp_11001/主页/咨询框/zxk_04.png.meta
Normal file
134
assets/Game/rp_11001/主页/咨询框/zxk_04.png.meta
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "c38543d4-1cff-4464-9c3b-d5db88832ca3",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "c38543d4-1cff-4464-9c3b-d5db88832ca3@6c48a",
|
||||||
|
"displayName": "zxk_04",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "c38543d4-1cff-4464-9c3b-d5db88832ca3",
|
||||||
|
"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": "c38543d4-1cff-4464-9c3b-d5db88832ca3@f9941",
|
||||||
|
"displayName": "zxk_04",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 568,
|
||||||
|
"height": 749,
|
||||||
|
"rawWidth": 568,
|
||||||
|
"rawHeight": 749,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-284,
|
||||||
|
-374.5,
|
||||||
|
0,
|
||||||
|
284,
|
||||||
|
-374.5,
|
||||||
|
0,
|
||||||
|
-284,
|
||||||
|
374.5,
|
||||||
|
0,
|
||||||
|
284,
|
||||||
|
374.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
749,
|
||||||
|
568,
|
||||||
|
749,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
568,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-284,
|
||||||
|
-374.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
284,
|
||||||
|
374.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "c38543d4-1cff-4464-9c3b-d5db88832ca3@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "c38543d4-1cff-4464-9c3b-d5db88832ca3@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -14,6 +14,9 @@ export class IconMsg extends Component {
|
|||||||
@property(Node)
|
@property(Node)
|
||||||
rightNode: Node = null;
|
rightNode: Node = null;
|
||||||
|
|
||||||
|
@property([SpriteFrame])
|
||||||
|
zxkFrames: SpriteFrame[] = [];
|
||||||
|
|
||||||
iconComponent: Icon = null;
|
iconComponent: Icon = null;
|
||||||
|
|
||||||
ui_payout: Node = null;
|
ui_payout: Node = null;
|
||||||
@ -60,6 +63,9 @@ export class IconMsg extends Component {
|
|||||||
this.ui_payout_wild.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
this.ui_payout_wild.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
||||||
this.ui_payout_scatter.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
this.ui_payout_scatter.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
||||||
|
|
||||||
|
this.ui_payout.getComponent(Sprite).spriteFrame = this.zxkFrames[iconComponent.lHeight - 1]
|
||||||
|
this.ui_payout_wild.getComponent(Sprite).spriteFrame = this.zxkFrames[iconComponent.lHeight - 1]
|
||||||
|
this.ui_payout_scatter.getComponent(Sprite).spriteFrame = this.zxkFrames[iconComponent.lHeight - 1]
|
||||||
|
|
||||||
this.right_ui_payout = this.rightNode.getChildByName('ui_payout');
|
this.right_ui_payout = this.rightNode.getChildByName('ui_payout');
|
||||||
this.right_ui_payout_wild = this.rightNode.getChildByName('ui_payout_wild');
|
this.right_ui_payout_wild = this.rightNode.getChildByName('ui_payout_wild');
|
||||||
@ -73,6 +79,9 @@ export class IconMsg extends Component {
|
|||||||
this.right_ui_payout_wild.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
this.right_ui_payout_wild.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
||||||
this.right_ui_payout_scatter.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
this.right_ui_payout_scatter.getComponent(UITransform).height = this.HEIGHT_MAP[iconComponent.lHeight];
|
||||||
|
|
||||||
|
this.right_ui_payout.getComponent(Sprite).spriteFrame = this.zxkFrames[iconComponent.lHeight - 1]
|
||||||
|
this.right_ui_payout_wild.getComponent(Sprite).spriteFrame = this.zxkFrames[iconComponent.lHeight - 1]
|
||||||
|
this.right_ui_payout_scatter.getComponent(Sprite).spriteFrame = this.zxkFrames[iconComponent.lHeight - 1]
|
||||||
|
|
||||||
this.ui_payout.active = false;
|
this.ui_payout.active = false;
|
||||||
this.ui_payout_wild.active = false;
|
this.ui_payout_wild.active = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user