iconMsg修改
This commit is contained in:
parent
ea320cf741
commit
24be564532
@ -300,7 +300,7 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 154.162,
|
||||
"x": 172,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
@ -341,7 +341,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 504,
|
||||
"width": 540,
|
||||
"height": 187
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@ -2529,7 +2529,7 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 114.775,
|
||||
"x": 110.578,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
@ -2570,7 +2570,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 309,
|
||||
"width": 313,
|
||||
"height": 100
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@ -2607,7 +2607,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "9f00c35a-ec58-4fd9-854f-0de598452c51@f9941",
|
||||
"__uuid__": "58e43b7b-0994-42ad-b579-268068c3b0fb@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@ -2728,7 +2728,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 265,
|
||||
"width": 281,
|
||||
"height": 64
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@ -2765,7 +2765,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "0bb67012-41ea-4475-a482-2f4bab192128@f9941",
|
||||
"__uuid__": "05d95c97-dc47-4be3-ac35-26ce1c500c0d@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@ -2886,7 +2886,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 281,
|
||||
"width": 235,
|
||||
"height": 28
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@ -2923,7 +2923,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "be369aeb-945e-48a6-ab53-12bb971958fe@f9941",
|
||||
"__uuid__": "8597b655-a1f3-40b0-aca1-13e9cc5dbd3f@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@ -5610,7 +5610,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 309,
|
||||
"width": 313,
|
||||
"height": 100
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@ -5647,7 +5647,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "9f00c35a-ec58-4fd9-854f-0de598452c51@f9941",
|
||||
"__uuid__": "58e43b7b-0994-42ad-b579-268068c3b0fb@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@ -5768,7 +5768,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 265,
|
||||
"width": 281,
|
||||
"height": 64
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@ -5805,7 +5805,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "0bb67012-41ea-4475-a482-2f4bab192128@f9941",
|
||||
"__uuid__": "05d95c97-dc47-4be3-ac35-26ce1c500c0d@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@ -5926,7 +5926,7 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 281,
|
||||
"width": 235,
|
||||
"height": 28
|
||||
},
|
||||
"_anchorPoint": {
|
||||
@ -5963,7 +5963,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "be369aeb-945e-48a6-ab53-12bb971958fe@f9941",
|
||||
"__uuid__": "8597b655-a1f3-40b0-aca1-13e9cc5dbd3f@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -52,6 +52,7 @@ export class SlotBar extends Component {
|
||||
private left_1: Node = null;
|
||||
private leftCount: Label = null;
|
||||
private left_2: Node = null;
|
||||
private Msg: Node = null;
|
||||
|
||||
private gameInfo: any = null; // 初始信息
|
||||
private betGrade: number[] = []; // 下注区间
|
||||
@ -75,8 +76,8 @@ export class SlotBar extends Component {
|
||||
|
||||
protected onLoad(): void {
|
||||
this.MaskNode = this.node.parent.parent;
|
||||
let Msg = this.node.getChildByName('Msg');
|
||||
let Labels = Msg.getChildByName('Labels');
|
||||
this.Msg = this.node.getChildByName('Msg');
|
||||
let Labels = this.Msg.getChildByName('Labels');
|
||||
this.balanceLabel = Labels.getChildByName('balance').getComponent(Label);
|
||||
this.betLabel = Labels.getChildByName('bet').getComponent(Label);
|
||||
this.winLabel = Labels.getChildByName('win').getComponent(Label);
|
||||
@ -563,6 +564,7 @@ export class SlotBar extends Component {
|
||||
BTNS3_ACTIVE = false;
|
||||
enterFreeSpin(leftCount: number) {
|
||||
this.freeSpinBg.active = true;
|
||||
this.Msg.setPosition(0, -1000, 0)
|
||||
|
||||
this.BTNS1_ACTIVE = this.btns1.active;
|
||||
this.BTNS2_ACTIVE = this.btns2.active;
|
||||
@ -594,6 +596,7 @@ export class SlotBar extends Component {
|
||||
|
||||
exitFreeSpin() {
|
||||
this.freeSpinBg.active = false;
|
||||
this.Msg.setPosition(0, -570, 0)
|
||||
this.btns1.active = this.BTNS1_ACTIVE;
|
||||
this.btns2.active = this.BTNS2_ACTIVE;
|
||||
this.btns3.active = this.BTNS3_ACTIVE;
|
||||
|
||||
@ -319,10 +319,10 @@ export class Icon extends Component {
|
||||
this._normalSpriteNode.getComponent(Sprite).spriteFrame = this.multiSprite[multi]
|
||||
this._fastSpriteNode.getComponent(Sprite).spriteFrame = this.multiBlurSprite[multi]
|
||||
switch (true) {
|
||||
case multi <= 4:
|
||||
case multi < 4:
|
||||
this._normalNode.getComponent(Sprite).spriteFrame = this.multiFrameSprite[0]
|
||||
break
|
||||
case multi >= 8:
|
||||
case multi >= 7:
|
||||
this._normalNode.getComponent(Sprite).spriteFrame = this.multiFrameSprite[2]
|
||||
break
|
||||
default:
|
||||
@ -423,7 +423,7 @@ export class Icon extends Component {
|
||||
this._normalSpriteNode && (this._normalSpriteNode.active = false);
|
||||
this.iconSpine.clearTracks();
|
||||
this.iconSpine.setCompleteListener(null);
|
||||
this.iconSpine.setAnimation(0, `win_${this.lHeight}`, false);
|
||||
this.iconSpine.setAnimation(0, 'win_1', false);
|
||||
}
|
||||
} else if (this.iconSpine && this.iconSpine.node) {
|
||||
// this.iconSpine.node.active = true;
|
||||
@ -437,7 +437,7 @@ export class Icon extends Component {
|
||||
this.iconSpine.setCompleteListener(() => {
|
||||
this.iconSpine.setCompleteListener(null);
|
||||
if (this._isWildOrScatter) {
|
||||
this.iconSpine.setAnimation(0, `idle_${this.lHeight}`, true);
|
||||
this.iconSpine.setAnimation(0, 'idle_1', true);
|
||||
} else {
|
||||
this.iconSpine.clearTracks();
|
||||
this.iconSpine.node.active = false;
|
||||
@ -535,10 +535,10 @@ export class Icon extends Component {
|
||||
if (!this.iconSpine) return;
|
||||
|
||||
if (this._isWildOrScatter) {
|
||||
this.iconSpine.setAnimation(0, `spawn_${this.lHeight}`, false);
|
||||
this.iconSpine.setAnimation(0, 'spawn_1', false);
|
||||
this.iconSpine.setCompleteListener(() => {
|
||||
if (!this.iconSpine) return;
|
||||
this.iconSpine.setAnimation(0, `idle_${this.lHeight}`, true);
|
||||
this.iconSpine.setAnimation(0, 'idle_1', true);
|
||||
this.iconSpine.setCompleteListener(null);
|
||||
});
|
||||
} else {
|
||||
@ -563,7 +563,7 @@ export class Icon extends Component {
|
||||
this._normalSpriteNode && (this._normalSpriteNode.active = false);
|
||||
this.iconSpine.clearTracks();
|
||||
this.iconSpine.setCompleteListener(null);
|
||||
this.iconSpine.setAnimation(0, `idle_${this.lHeight}`, false);
|
||||
this.iconSpine.setAnimation(0, 'idle_1', false);
|
||||
} else if (this.iconSpine) {
|
||||
this.iconSpine.node.active = false;
|
||||
this.iconSpine.clearTracks();
|
||||
|
||||
@ -135,7 +135,7 @@
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 4
|
||||
@ -274,7 +274,7 @@
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 10
|
||||
|
||||
@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env"
|
||||
const gameId = "rp_10012";
|
||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||
let apiaddr = "";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3NTgwMzU3MTYsIlMiOjEwMDMsIkQiOiJycF8xMDAxMiJ9.K9dFPkv9K7nP5Lp5uVku51rXJ7XQGVXDHwYXdPXszzc";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3NTgxMTkwMjIsIlMiOjk5OCwiRCI6InJwXzEwMDEyIn0.UODVsb525qgYF9Z9tztTMaxMX4MeLsxjusgk7iHBun8";
|
||||
let language = "en"
|
||||
let currency = "THB"
|
||||
let supportUrl = ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user