This commit is contained in:
TJH 2026-04-11 11:00:24 +08:00
parent eeb4158187
commit 2994c329c6
17 changed files with 2189 additions and 1487 deletions

View File

@ -574,9 +574,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 158,
"g": 246, "g": 67,
"b": 187, "b": 195,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
@ -1058,9 +1058,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 158,
"g": 246, "g": 67,
"b": 187, "b": 195,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {

View File

@ -412,7 +412,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -140, "y": 158.812,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -732,7 +732,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -140, "y": 160.688,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -918,7 +918,7 @@
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "", "defaultAnimation": "<None>",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -964,8 +964,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "3bgmt+Q2ZGqp9HZyFDsZUZ", "fileId": "3bgmt+Q2ZGqp9HZyFDsZUZ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -1052,7 +1050,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -140, "y": 202.119,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1315,7 +1313,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -468, "y": -147.534,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1391,10 +1389,10 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "1920,222,300.00", "_string": "999.99",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 109, "_actualFontSize": 153,
"_fontSize": 170, "_fontSize": 170,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 300, "_lineHeight": 300,

View File

@ -707,9 +707,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 158,
"g": 246, "g": 67,
"b": 187, "b": 195,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
@ -1282,9 +1282,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 158,
"g": 246, "g": 67,
"b": 187, "b": 195,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
@ -1718,9 +1718,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 158,
"g": 246, "g": 67,
"b": 187, "b": 195,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {

View File

@ -308,7 +308,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 142.286,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -497,7 +497,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 372.306, "y": 320.038,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1136,8 +1136,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 213, "x": 240,
"y": -481.497, "y": -490,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1493,8 +1493,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -213, "x": -240,
"y": -481.497, "y": -490,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

View File

@ -488,7 +488,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -60.588, "y": -166.768,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -642,8 +642,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -9.097,
"y": 131.944, "y": 4.359,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -683,7 +683,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 403.92, "width": 319,
"height": 200 "height": 200
}, },
"_anchorPoint": { "_anchorPoint": {
@ -719,11 +719,11 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "+10", "_string": "+12",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 200, "_actualFontSize": 153,
"_fontSize": 200, "_fontSize": 153,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 200, "_lineHeight": 200,
"_overflow": 0, "_overflow": 0,
@ -733,7 +733,7 @@
"__expectedType__": "cc.BitmapFont" "__expectedType__": "cc.BitmapFont"
}, },
"_isSystemFontUsed": false, "_isSystemFontUsed": false,
"_spacingX": 0, "_spacingX": 7,
"_isItalic": false, "_isItalic": false,
"_isBold": false, "_isBold": false,
"_isUnderline": false, "_isUnderline": false,

View File

@ -660,7 +660,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -223.345, "y": -335,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -700,7 +700,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 425.49, "width": 203.14,
"height": 300 "height": 300
}, },
"_anchorPoint": { "_anchorPoint": {
@ -736,11 +736,11 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "10", "_string": "9",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 350, "_actualFontSize": 280,
"_fontSize": 350, "_fontSize": 280,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 300, "_lineHeight": 300,
"_overflow": 0, "_overflow": 0,
@ -825,7 +825,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 426.791, "y": 220.257,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -983,7 +983,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 263.804, "y": 61.448,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1123,7 +1123,7 @@
"__id__": 26 "__id__": 26
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 50 "__id__": 50
@ -1138,7 +1138,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -760, "y": -415,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1259,7 +1259,7 @@
"__id__": 26 "__id__": 26
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 56 "__id__": 56
@ -1274,7 +1274,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -760, "y": -415,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1440,7 +1440,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -760, "y": -775.713,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

View File

@ -654,7 +654,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 537.425, "y": 442.389,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -809,7 +809,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 158.85, "y": 85.944,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -888,10 +888,10 @@
"_string": "9", "_string": "9",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 300, "_actualFontSize": 250,
"_fontSize": 300, "_fontSize": 250,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 100, "_lineHeight": 20,
"_overflow": 2, "_overflow": 2,
"_enableWrapText": false, "_enableWrapText": false,
"_font": { "_font": {

View File

@ -179,17 +179,17 @@ export class Icon extends Component {
} }
playMultiSpine() { playMultiSpine() {
this.spineNode.active = true; // this.spineNode.active = true;
this.normalNode.active = false; // this.normalNode.active = false;
let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); // let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
if (spine) { // if (spine) {
// spine.setAnimation(0, 'xiaoshi', false); // spine.setAnimation(0, 'xiaoshi', false);
// spine.setCompleteListener(() => { // spine.setCompleteListener(() => {
// spine.setCompleteListener(null); // spine.setCompleteListener(null);
// this.spineNode.active = false; // this.spineNode.active = false;
// this.bombNode.active = true; // this.bombNode.active = true;
// }) // })
} // }
} }
playDeleteSpine() { playDeleteSpine() {

View File

@ -57,14 +57,16 @@ export class SlotGame extends Component {
onClickDoubleWin() { onClickDoubleWin() {
this.doubleWinIsOn = !this.doubleWinIsOn; this.doubleWinIsOn = !this.doubleWinIsOn;
this.doubleWinBtnNode.getChildByName('bg').active = this.doubleWinIsOn // this.doubleWinBtnNode.getChildByName('bg').active = this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('zxksctte1').active = this.doubleWinIsOn // this.doubleWinBtnNode.getChildByName('zxksctte1').active = this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('bet_bg').active = this.doubleWinIsOn // this.doubleWinBtnNode.getChildByName('bet_bg').active = this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('count').active = this.doubleWinIsOn // this.doubleWinBtnNode.getChildByName('count').active = this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('deng_on').active = this.doubleWinIsOn // this.doubleWinBtnNode.getChildByName('deng_on').active = this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('on').active = this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('off').active = !this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('deng_off').active = !this.doubleWinIsOn // this.doubleWinBtnNode.getChildByName('deng_off').active = !this.doubleWinIsOn
this.doubleWinBtnNode.getChildByName('bet_label').active = !this.doubleWinIsOn // this.doubleWinBtnNode.getChildByName('bet_label').active = !this.doubleWinIsOn
let pt_11 = this.doubleWinBtnNode.getChildByName('pt_11'); let pt_11 = this.doubleWinBtnNode.getChildByName('pt_11');

View File

@ -47,6 +47,8 @@ export class SlotMsg extends Component {
startPos: Vec3 = new Vec3(-259.5, 0, 0); startPos: Vec3 = new Vec3(-259.5, 0, 0);
maxWidth: number = 540; maxWidth: number = 540;
currTotaleMulti: number = 0
currRoundWinMsg: string = ''
showLabelMsgForTween() { showLabelMsgForTween() {
Tween.stopAllByTarget(this.i18nSpriteMsg.node); Tween.stopAllByTarget(this.i18nSpriteMsg.node);
this.smallMsgSpine.node.active = true; this.smallMsgSpine.node.active = true;
@ -104,6 +106,9 @@ export class SlotMsg extends Component {
} }
showTotalWinAnimaiton(startScore: number, endScore: number, cb) { showTotalWinAnimaiton(startScore: number, endScore: number, cb) {
this.currTotaleMulti = 0
this.node.getChildByName('totalMulti').active = false;
this.smallMsgSpine.node.active = false; this.smallMsgSpine.node.active = false;
this.middleMsgSpine.node.active = false; this.middleMsgSpine.node.active = false;
this.largeMsgSpine.node.active = true; this.largeMsgSpine.node.active = true;
@ -136,7 +141,7 @@ export class SlotMsg extends Component {
.start(); .start();
} }
showRoundWinMsg(endScore: number) { showRoundWinMsg(endScore: number, currMulti: number = 0) {
if (endScore === 0) return; if (endScore === 0) return;
this.smallMsgSpine.node.active = false; this.smallMsgSpine.node.active = false;
this.middleMsgSpine.node.active = true; this.middleMsgSpine.node.active = true;
@ -149,8 +154,14 @@ export class SlotMsg extends Component {
let msg = this.middleMsgSpine.node.getChildByName('msg'); let msg = this.middleMsgSpine.node.getChildByName('msg');
let winCount = msg.getChildByName('winCount'); let winCount = msg.getChildByName('winCount');
winCount.getComponent(Label).string = gold2cash(endScore); if (currMulti == 0) {
AudioManager.instance.playSFX('Slot_Msg_Normal_Win'); winCount.getComponent(Label).string = gold2cash(endScore);
this.currRoundWinMsg = winCount.getComponent(Label).string
AudioManager.instance.playSFX('Slot_Msg_Normal_Win');
} else {
winCount.getComponent(Label).string = this.currRoundWinMsg + ' x ' + currMulti
}
} }
showTotalWinMsg(endScore: number) { showTotalWinMsg(endScore: number) {
@ -188,7 +199,7 @@ export class SlotMsg extends Component {
// 获取倍率描述,多模式下兼容字段名 // 获取倍率描述,多模式下兼容字段名
let mulDesc = spinData?.WinInfo?.MulDesc || spinData?.WinInfo?.muldesc; let mulDesc = spinData?.WinInfo?.MulDesc || spinData?.WinInfo?.muldesc;
let multiedScore = mulDesc?.Multied; // 最终得到的分数 let multiedScore = mulDesc?.Multied; // 最终得到的分数
let mulValue = mulDesc?.Mul; // 总倍率 // let mulValue = mulDesc?.Mul; // 总倍率
let slotGame = director.getScene()?.getComponentInChildren(SlotGame); let slotGame = director.getScene()?.getComponentInChildren(SlotGame);
let bombInfos = slotGame?.getCurrentBombSettleInfos?.() || []; // 炸弹节点信息 let bombInfos = slotGame?.getCurrentBombSettleInfos?.() || []; // 炸弹节点信息
@ -201,14 +212,14 @@ export class SlotMsg extends Component {
let msg = this.largeMsgSpine.node.getChildByName('msg'); let msg = this.largeMsgSpine.node.getChildByName('msg');
let winCount = msg.getChildByName('winCount'); let winCount = msg.getChildByName('winCount');
let uiTf = this.node.getComponent(UITransform); let uiTf = this.node.getComponent(UITransform);
let centerLocalPos = v3(0, -315, 0); // 动画中心点坐标(本地) let centerLocalPos = v3(50, -500, 0); // 信息栏坐标(本地)
let targetLocalPos = uiTf.convertToNodeSpaceAR(winCount.getWorldPosition()); // 目标分数字显示位置 let targetLocalPos = uiTf.convertToNodeSpaceAR(winCount.getWorldPosition()); // 目标分数字显示位置
// 设置一个节点的多倍文本 // 设置一个节点的多倍文本
let setMulText = (node: Node, mul: number) => { let setMulText = (node: Node, mul: number) => {
let labNode = node.getChildByName('lab'); // let labNode = node.getChildByName('lab');
if (!labNode) return; if (!node) return;
let lab = labNode.getComponent(Label); let lab = node.getComponent(Label);
if (!lab) return; if (!lab) return;
lab.string = `x${mul}`; lab.string = `x${mul}`;
}; };
@ -233,6 +244,7 @@ export class SlotMsg extends Component {
}); });
}; };
// 延迟promise用于动画间隔 // 延迟promise用于动画间隔
let delayAsync = (seconds: number) => { let delayAsync = (seconds: number) => {
return new Promise<void>((resolve) => { return new Promise<void>((resolve) => {
@ -243,17 +255,26 @@ export class SlotMsg extends Component {
// === 跑队列 === // === 跑队列 ===
// 这部分run内部就是完整的队列模式所有动画/节点操作都是await同步执行 // 这部分run内部就是完整的队列模式所有动画/节点操作都是await同步执行
let run = async () => { let run = async () => {
// 1. 克隆一个multiNode做为动画的中心倍率展示 // 1. 确认总倍率节点,并首先飞入信息栏
let seedNode = bombInfos[0]?.multiNode; // let seedNode = bombInfos[0]?.multiNode;
let centerMulNode = instantiate(seedNode); let centerMulNode = this.node.getChildByName('totalMulti');
this.node.addChild(centerMulNode); this.node.addChild(centerMulNode);
centerMulNode.setPosition(centerLocalPos); // centerMulNode.setPosition(centerLocalPos);
centerMulNode.setScale(1, 1, 1); centerMulNode.setScale(1, 1, 1);
centerMulNode.active = false; centerMulNode.active = true;
setMulText(centerMulNode, 0); // setMulText(centerMulNode, 0);
//总倍率有值时要第一个参与倍率计算
if (this.currTotaleMulti > 0) {
let flyNode = instantiate(centerMulNode)
this.node.addChild(flyNode)
flyNode.setPosition(centerMulNode.getPosition())
await tweenToAsync(flyNode, centerLocalPos, 0.6);
flyNode.destroy()
this.showRoundWinMsg(1, this.currTotaleMulti)
}
let sumMul = 0; let sumMul = this.currTotaleMulti;
// 2. 遍历每一个待结算的bomb多倍icon按顺序“飞入中心”, 逐步累加 // 2. 遍历每一个待结算的bomb多倍icon按顺序“飞入信息栏”, 逐步累加
for (let i = 0; i < bombInfos.length; i++) { for (let i = 0; i < bombInfos.length; i++) {
let info = bombInfos[i]; let info = bombInfos[i];
if (!info?.multiNode?.isValid) continue; if (!info?.multiNode?.isValid) continue;
@ -268,7 +289,7 @@ export class SlotMsg extends Component {
// 2.2 当前multiNode放大脉冲动画await保证上一步结束 // 2.2 当前multiNode放大脉冲动画await保证上一步结束
await pulseAsync(info.multiNode); await pulseAsync(info.multiNode);
// 2.3 复制multiNode实际用于“飞入中心 // 2.3 复制multiNode实际用于“飞入信息栏
let sourceWorldPos = info.multiNode.getWorldPosition(); let sourceWorldPos = info.multiNode.getWorldPosition();
let sourceLocalPos = uiTf.convertToNodeSpaceAR(sourceWorldPos); let sourceLocalPos = uiTf.convertToNodeSpaceAR(sourceWorldPos);
let flyNode = instantiate(info.multiNode); let flyNode = instantiate(info.multiNode);
@ -276,28 +297,33 @@ export class SlotMsg extends Component {
this.node.addChild(flyNode); this.node.addChild(flyNode);
flyNode.setPosition(sourceLocalPos); flyNode.setPosition(sourceLocalPos);
// 2.4 飞到中心动画 // 2.4 飞到信息栏动画
await tweenToAsync(flyNode, centerLocalPos, 0.3); await tweenToAsync(flyNode, centerLocalPos, 0.6);
flyNode.destroy(); flyNode.destroy();
// 2.5 累加倍率,中心节点显示最新总倍率 // 2.5 累加倍率,信息栏文本根据每个倍率到达而改变
sumMul += info.mul; sumMul += info.mul;
centerMulNode.active = true; this.showRoundWinMsg(1, sumMul)
setMulText(centerMulNode, sumMul);
// centerMulNode.active = true;
// setMulText(centerMulNode, sumMul);
// 2.6 中心放大动画(脉冲) // 2.6 中心放大动画(脉冲)
await pulseAsync(centerMulNode); // await pulseAsync(centerMulNode);
// 2.7 小延迟准备下一个icon // 2.7 小延迟准备下一个icon
await delayAsync(0.08); await delayAsync(0.1);
} }
// 4. 中心multi飞到最终目标位置 // 4. 中心multi飞到最终目标位置
await tweenToAsync(centerMulNode, targetLocalPos, 0.2); // await tweenToAsync(centerMulNode, targetLocalPos, 0.2);
centerMulNode.destroy(); // centerMulNode.destroy();
// 5. 展示最终总分获胜弹窗 // 5. 展示最终总分获胜弹窗和新的总倍率
this.currTotaleMulti = sumMul
setMulText(centerMulNode, this.currTotaleMulti)
this.showTotalWinMsg(multiedScore); this.showTotalWinMsg(multiedScore);
// 直接调用回调(如果业务上需要动画结束后再回调可考虑调整) // 直接调用回调(如果业务上需要动画结束后再回调可考虑调整)
if (callBack) callBack(); if (callBack) callBack();

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,18 @@
info face="Arial" size=58 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0
common lineHeight=58 base=26 scaleW=507 scaleH=66 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0
page id=0 file="信息栏赢分数字.png"
chars count=13
char id=57 x=0 y=0 width=43 height=64 xoffset=0 yoffset=1 xadvance=43 page=0 chnl=15
char id=44 x=43 y=0 width=18 height=23 xoffset=0 yoffset=45 xadvance=18 page=0 chnl=15
char id=48 x=61 y=0 width=46 height=65 xoffset=0 yoffset=1 xadvance=46 page=0 chnl=15
char id=50 x=107 y=0 width=43 height=66 xoffset=0 yoffset=0 xadvance=43 page=0 chnl=15
char id=51 x=150 y=0 width=42 height=65 xoffset=0 yoffset=1 xadvance=42 page=0 chnl=15
char id=52 x=192 y=0 width=46 height=66 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=15
char id=54 x=238 y=0 width=43 height=64 xoffset=0 yoffset=1 xadvance=43 page=0 chnl=15
char id=56 x=281 y=0 width=45 height=64 xoffset=0 yoffset=1 xadvance=45 page=0 chnl=15
char id=46 x=326 y=0 width=18 height=17 xoffset=0 yoffset=45 xadvance=18 page=0 chnl=15
char id=120 x=344 y=0 width=56 height=65 xoffset=0 yoffset=1 xadvance=56 page=0 chnl=15
char id=49 x=400 y=0 width=26 height=66 xoffset=0 yoffset=0 xadvance=26 page=0 chnl=15
char id=53 x=426 y=0 width=43 height=65 xoffset=0 yoffset=1 xadvance=43 page=0 chnl=15
char id=55 x=469 y=0 width=38 height=64 xoffset=0 yoffset=1 xadvance=38 page=0 chnl=15
char id=32 x=628 y=0 width=0 height=119 xoffset=0 yoffset=26 xadvance=30 page=0 chnl=0

View File

@ -0,0 +1,176 @@
{
"ver": "1.0.6",
"importer": "bitmap-font",
"imported": true,
"uuid": "4ee54a0c-b02d-4346-894e-93fad7650fd7",
"files": [
".json"
],
"subMetas": {},
"userData": {
"_fntConfig": {
"commonHeight": 58,
"fontSize": 58,
"atlasName": "信息栏赢分数字.png",
"fontDefDictionary": {
"32": {
"rect": {
"x": 628,
"y": 0,
"width": 0,
"height": 119
},
"xOffset": 0,
"yOffset": 26,
"xAdvance": 30
},
"44": {
"rect": {
"x": 43,
"y": 0,
"width": 18,
"height": 23
},
"xOffset": 0,
"yOffset": 45,
"xAdvance": 18
},
"46": {
"rect": {
"x": 326,
"y": 0,
"width": 18,
"height": 17
},
"xOffset": 0,
"yOffset": 45,
"xAdvance": 18
},
"48": {
"rect": {
"x": 61,
"y": 0,
"width": 46,
"height": 65
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 46
},
"49": {
"rect": {
"x": 400,
"y": 0,
"width": 26,
"height": 66
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 26
},
"50": {
"rect": {
"x": 107,
"y": 0,
"width": 43,
"height": 66
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 43
},
"51": {
"rect": {
"x": 150,
"y": 0,
"width": 42,
"height": 65
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 42
},
"52": {
"rect": {
"x": 192,
"y": 0,
"width": 46,
"height": 66
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 46
},
"53": {
"rect": {
"x": 426,
"y": 0,
"width": 43,
"height": 65
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 43
},
"54": {
"rect": {
"x": 238,
"y": 0,
"width": 43,
"height": 64
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 43
},
"55": {
"rect": {
"x": 469,
"y": 0,
"width": 38,
"height": 64
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 38
},
"56": {
"rect": {
"x": 281,
"y": 0,
"width": 45,
"height": 64
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 45
},
"57": {
"rect": {
"x": 0,
"y": 0,
"width": 43,
"height": 64
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 43
},
"120": {
"rect": {
"x": 344,
"y": 0,
"width": 56,
"height": 65
},
"xOffset": 0,
"yOffset": 1,
"xAdvance": 56
}
},
"kerningDict": {}
},
"fontSize": 58,
"textureUuid": "12872afb-dd42-4e23-93f9-7c807adcafb1"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "12872afb-dd42-4e23-93f9-7c807adcafb1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "12872afb-dd42-4e23-93f9-7c807adcafb1@6c48a",
"displayName": "信息栏赢分数字",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "12872afb-dd42-4e23-93f9-7c807adcafb1",
"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": "12872afb-dd42-4e23-93f9-7c807adcafb1@f9941",
"displayName": "信息栏赢分数字",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 507,
"height": 66,
"rawWidth": 507,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-253.5,
-33,
0,
253.5,
-33,
0,
-253.5,
33,
0,
253.5,
33,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
66,
507,
66,
0,
0,
507,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-253.5,
-33,
0
],
"maxPos": [
253.5,
33,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "12872afb-dd42-4e23-93f9-7c807adcafb1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "12872afb-dd42-4e23-93f9-7c807adcafb1@6c48a"
}
}

BIN
assets/Game/阿拉丁神灯-资源/大厅/dt_bet_bg01.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -1354,9 +1354,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 158,
"g": 246, "g": 67,
"b": 187, "b": 195,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
@ -1724,9 +1724,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 130, "r": 158,
"g": 214, "g": 67,
"b": 40, "b": 195,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {