From 410379ebed1ecbcc8a88b0e0bfc1fc69ad760867 Mon Sep 17 00:00:00 2001 From: TJH Date: Fri, 10 Oct 2025 10:02:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=B8=B8=E6=88=8F=E4=B8=AD=E8=B5=A2?= =?UTF-8?q?=E5=88=86=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/prefabs/SlotScene.prefab | 118 +++++++++++++-------------- assets/Game/scripts/SlotScene.ts | 3 +- assets/Loading/game.scene | 2 +- assets/Loading/scripts/comm.ts | 2 +- 4 files changed, 62 insertions(+), 63 deletions(-) diff --git a/assets/Game/prefabs/SlotScene.prefab b/assets/Game/prefabs/SlotScene.prefab index f02448e..d7a82ab 100644 --- a/assets/Game/prefabs/SlotScene.prefab +++ b/assets/Game/prefabs/SlotScene.prefab @@ -2294,7 +2294,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "fb82hKCDJCUpZBI9E2Ul1z" + "fileId": "0anr2r+rZGRpm3dAu+hLQb" }, { "__type__": "cc.PrefabInfo", @@ -2304,7 +2304,7 @@ "asset": { "__id__": 0 }, - "fileId": "5cTfn1mUlBfo+Lr1q3vLCr", + "fileId": "75lPUwnBBGvo/l3oimd7cb", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2335,7 +2335,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3b5EnPlT1Ka4V4LOtVpGd8" + "fileId": "9aUbbrdZxM070eB/gTo7in" }, { "__type__": "cc.PrefabInfo", @@ -2345,7 +2345,7 @@ "asset": { "__id__": 0 }, - "fileId": "0aLpOOaH1DoqaahK0JlFPV", + "fileId": "47r7vaXN9ISr1XO18T8vGx", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2376,7 +2376,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4dEzry3zFG6p6WGfEfY4Y/" + "fileId": "f6RSEnvelL+Iv/qNNfLmLT" }, { "__type__": "5fc10Zl7lVO97/rr2J1uxWH", @@ -2400,7 +2400,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c8OQEuYr5NaIyQnv5wJovs" + "fileId": "51JWZZPeJL5I98K8LqvvmY" }, { "__type__": "5fd13+Xa69CZogb3Q/F1lnC", @@ -2573,7 +2573,7 @@ "asset": { "__id__": 0 }, - "fileId": "08Yvv46TtLgZqHyZJ8l2Xg", + "fileId": "fb9qRQn41P/ofPCVqIc6HM", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2598,7 +2598,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "0400agr/9OF4UStbA63NvG" + "fileId": "47MhhINnVO/ZGDRNU76820" }, { "__type__": "cc.UITransform", @@ -2626,7 +2626,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "26LMWgUnRGO4ct+Jw7ZT3k" + "fileId": "3eKyO/qIZBWKSpN0GkRIyS" }, { "__type__": "cc.Sprite", @@ -2671,7 +2671,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "851BpvlplPILqd7DYbuG4z" + "fileId": "dbtPrk9/RAZKLJATTg+Ogw" }, { "__type__": "cc.PrefabInfo", @@ -2681,7 +2681,7 @@ "asset": { "__id__": 0 }, - "fileId": "e1R70NnBVEPZk5B+ZlIvVj", + "fileId": "bcyY6Ur7hHX6bCY+A9VZ4h", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2936,7 +2936,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "49w4K5T7VIqLeNxnMDvQYw" + "fileId": "bdCCEk3vpLvZFUdNNh/lQX" }, { "__type__": "cc.PrefabInfo", @@ -2946,7 +2946,7 @@ "asset": { "__id__": 0 }, - "fileId": "a8Wo+gqa5FJaHlQG+5Hpua", + "fileId": "58VSBEPFxGHKTrXXtlh3Ea", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -2977,7 +2977,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "96kE3NIi5C9JuX5r6A7pRY" + "fileId": "2dvh8sQkNIv5q18pFffoGI" }, { "__type__": "cc.PrefabInfo", @@ -2987,7 +2987,7 @@ "asset": { "__id__": 0 }, - "fileId": "66f0y80sVH6qePl5H7ZOqB", + "fileId": "bdZtkE77ZKO6ZyvHLfbb7n", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3018,7 +3018,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e1V+CZvF5LS4YyTtyBaI2v" + "fileId": "f2sKKS1HhEO6TPvOWqcuqq" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3042,7 +3042,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a5NdSzY4RCbL0YqMrFPkWv" + "fileId": "a6wKIqorhHF4pUjncFVquh" }, { "__type__": "cc.PrefabInfo", @@ -3052,7 +3052,7 @@ "asset": { "__id__": 0 }, - "fileId": "146yQ+Xx5Ap4I912HhPx5A", + "fileId": "a6L9xh8j9PB4u2PsjoRLSv", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3235,7 +3235,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e0xs8a2kFHu7VHca98gnAV" + "fileId": "69ZgnTvUVGl7QC5Q4I3RN6" }, { "__type__": "cc.PrefabInfo", @@ -3245,7 +3245,7 @@ "asset": { "__id__": 0 }, - "fileId": "b0nLQjTNlLrqdl8wy8yDxL", + "fileId": "feBIcOpFFBKJy16emJ/2mK", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3276,7 +3276,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "07f1lCeupE4L4Cot54buKx" + "fileId": "3dLGDdNsdPzph/Ltqmp2kA" }, { "__type__": "cc.PrefabInfo", @@ -3286,7 +3286,7 @@ "asset": { "__id__": 0 }, - "fileId": "966dZ6amlOhIJEtIIEkwQM", + "fileId": "f01XMeOyFPH6oLaEs6Qe/p", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3317,7 +3317,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "dcZa0gu0NPdJpC6gg3DZe8" + "fileId": "4dYQU/G9lD5YoCFNbnxDvf" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3341,7 +3341,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c1+lQ7qrdCaYrYAmQueFqD" + "fileId": "07Bq9DF15KoqYNuvCEteOS" }, { "__type__": "cc.PrefabInfo", @@ -3351,7 +3351,7 @@ "asset": { "__id__": 0 }, - "fileId": "10ePKZ30dFZogwQfWnqNvX", + "fileId": "99kvJ47u9FGpXsPxpD4ZIV", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3534,7 +3534,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "24hALFw7tOX5ENAFzcv2RA" + "fileId": "aaMFt9eR9PUY5ncEJ9QrxO" }, { "__type__": "cc.PrefabInfo", @@ -3544,7 +3544,7 @@ "asset": { "__id__": 0 }, - "fileId": "a1CfVUfYJH25TO9HeM2EB9", + "fileId": "3dZqpsWY5L5JDXQKkdyot/", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3575,7 +3575,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "13B+7bwcdHDYJQRQ9uI7t3" + "fileId": "53zPWbwbtEqKw3hwBwNjNG" }, { "__type__": "cc.PrefabInfo", @@ -3585,7 +3585,7 @@ "asset": { "__id__": 0 }, - "fileId": "e9y1XwEfxB/JMVqQgicO90", + "fileId": "a8NKqT/cBBlqKcTRUVLMaq", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3616,7 +3616,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9eFgP5HgRHzZCl3LY2dy3z" + "fileId": "610YknMHpAHY6sdhMRO67A" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3640,7 +3640,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9a5nJzCm1KA6g3BST/8emM" + "fileId": "7caaRyX8lKPonMfvofyx6Z" }, { "__type__": "cc.PrefabInfo", @@ -3650,7 +3650,7 @@ "asset": { "__id__": 0 }, - "fileId": "f6QfNrwLpOb5kqaD08MjzI", + "fileId": "cewZh/aMZP2bL9HY9HABSU", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3833,7 +3833,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e7LlVQE2hNLqz/2mAQEeF3" + "fileId": "e09jpBRYNBRIBIipUYZegs" }, { "__type__": "cc.PrefabInfo", @@ -3843,7 +3843,7 @@ "asset": { "__id__": 0 }, - "fileId": "f45bK1/V1EtIcYCUb6RSQi", + "fileId": "c6vgxjx8FEU4oQP/Lfd3fb", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3874,7 +3874,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "11A3L0mRVCKb3Rnya1QXsZ" + "fileId": "66IfdxyS5BcIkicXC3t/5g" }, { "__type__": "cc.PrefabInfo", @@ -3884,7 +3884,7 @@ "asset": { "__id__": 0 }, - "fileId": "31xb6A0ndGT7aIiSpDplR2", + "fileId": "bewbZZXCZDwJf4w7dlbFVZ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3915,7 +3915,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "11tHFmX9FLwK4Ggfosq7ZF" + "fileId": "c5+PAQUQxLa61+x6MwoqJp" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -3939,7 +3939,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "f2ugpKai9JLrZlUjXEcJix" + "fileId": "faZmMVakJCp5SxXD/b63vv" }, { "__type__": "cc.PrefabInfo", @@ -3949,7 +3949,7 @@ "asset": { "__id__": 0 }, - "fileId": "b9Afdi5s1HVrLYD1PiTtmq", + "fileId": "e5D4WCdOpODrXk3eW0lPU/", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4132,7 +4132,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c44lyJ1SBO2ISyhmInezIm" + "fileId": "07EKTHAXFOGaxfcAZk2J4r" }, { "__type__": "cc.PrefabInfo", @@ -4142,7 +4142,7 @@ "asset": { "__id__": 0 }, - "fileId": "d1BidlRFBC04bd3Nxl1Yht", + "fileId": "2bMe9Yqe1FaYNmE6v6I9OA", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4173,7 +4173,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "a60Czsp0RNsKP9cs237LWQ" + "fileId": "7dhA/c2uJBtKk5xhRBrW6T" }, { "__type__": "cc.PrefabInfo", @@ -4183,7 +4183,7 @@ "asset": { "__id__": 0 }, - "fileId": "7cgd8rXWtKxLuFr1zEu9bj", + "fileId": "b6cu+5l41L5K27zE8FRFLN", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4214,7 +4214,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "f7oiXH+0hLUqDbnjVQ/Plb" + "fileId": "46bOQHeSxExaGMRF3TA2OW" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4238,7 +4238,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "63CGKFKG5A6aqwTFIMMZH7" + "fileId": "61VcYvoAVK2YusLgM5uV7A" }, { "__type__": "cc.PrefabInfo", @@ -4248,7 +4248,7 @@ "asset": { "__id__": 0 }, - "fileId": "daOrUNZdJDoIufzENIRwyH", + "fileId": "532MCoFOxOmoLwaGmwo3G3", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4431,7 +4431,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c3Y4fDFhtMspkNz6DsFI5r" + "fileId": "64/C7hQlRElKsOtoMO4UFe" }, { "__type__": "cc.PrefabInfo", @@ -4441,7 +4441,7 @@ "asset": { "__id__": 0 }, - "fileId": "0fGslL6uxG27XjRhZL3gpH", + "fileId": "f7tXNU0zZNFZ0hsZDWY2MU", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4472,7 +4472,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "10KyUh29hDe7XJZBr63ZBX" + "fileId": "78dJXgSm9KPIBvu1Hekf0P" }, { "__type__": "cc.PrefabInfo", @@ -4482,7 +4482,7 @@ "asset": { "__id__": 0 }, - "fileId": "f3XbjIgnJHDqm2CzZdxRcO", + "fileId": "3dkHStysJNo7zeSxoFXF3x", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4513,7 +4513,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "72oImq0pJBCrHGMpunxxvc" + "fileId": "3cPOI4g/VEjoy9gIMRXAap" }, { "__type__": "45522uB1sdFu4FJAojtnha4", @@ -4537,7 +4537,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "26miwWXTdJbLDaQNPIaK3t" + "fileId": "72x1a0PDtCtLA3Iq0xP3R1" }, { "__type__": "cc.PrefabInfo", @@ -4547,7 +4547,7 @@ "asset": { "__id__": 0 }, - "fileId": "f8CnldoXdPxLfPWtGkwiLo", + "fileId": "1aUOz94y9KtaRsLFoh4aeG", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -4572,7 +4572,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d1VVdDdk1OeYrWspG5qDBh" + "fileId": "f6gh1WmNBNeLG7YoabOIe9" }, { "__type__": "cc.UITransform", @@ -4600,7 +4600,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2aWPpHhX9CrboiC2bDcLyG" + "fileId": "933cf/J35J35ItZuTBXw4e" }, { "__type__": "cc.Sprite", @@ -4645,7 +4645,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "b34he4VXVLv7RJUWPDUJH1" + "fileId": "d9eflcCFdH14irO1kfYQ3C" }, { "__type__": "cc.PrefabInfo", @@ -4655,7 +4655,7 @@ "asset": { "__id__": 0 }, - "fileId": "28Vsid9KlGJotUR6KT//LL", + "fileId": "67DHLFaAFHpY2yl49TPdfw", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -10392,8 +10392,8 @@ "__uuid__": "ad4ecbb8-d2ae-410b-b204-aaed61bc63e6", "__expectedType__": "sp.SkeletonData" }, - "defaultSkin": "", - "defaultAnimation": "", + "defaultSkin": "default", + "defaultAnimation": "anim1", "_premultipliedAlpha": false, "_timeScale": 1, "_preCacheMode": 0, diff --git a/assets/Game/scripts/SlotScene.ts b/assets/Game/scripts/SlotScene.ts index 34e9cc1..c621183 100644 --- a/assets/Game/scripts/SlotScene.ts +++ b/assets/Game/scripts/SlotScene.ts @@ -774,8 +774,7 @@ export class SlotScene extends Component { // 3,4,5 this.scheduleOnce(() => { - // let score = isFreeSpin ? this.spinData.RoundInfo.AllScore : this.spinData.AllScore; - let score = this.spinData.AllScore; + let score = isFreeSpin ? this.spinData.RoundInfo.AllScore : this.spinData.AllScore; if (winType >= WIN_TYPE.BIG_WIN) { this.BigWinUI.setCloseCallBack(() => { this.slotGame.showWinScore(true, false, true, false, false, false, score); diff --git a/assets/Loading/game.scene b/assets/Loading/game.scene index ca75c46..3bdafdc 100644 --- a/assets/Loading/game.scene +++ b/assets/Loading/game.scene @@ -187,7 +187,7 @@ "_priority": 0, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 960, + "_orthoHeight": 959.9999999999999, "_near": 0, "_far": 2000, "_color": { diff --git a/assets/Loading/scripts/comm.ts b/assets/Loading/scripts/comm.ts index 1ae94d2..7bc7daf 100644 --- a/assets/Loading/scripts/comm.ts +++ b/assets/Loading/scripts/comm.ts @@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env" const gameId = "rp_10012"; // let apiaddr = "https://rpgames-api.rpfafafahkdev.com"; let apiaddr = ""; -let token = "eyJQIjoxMDA5NDksIkUiOjE3NjAwMjA4MTIsIlMiOjk5NywiRCI6InJwXzEwMDEyIn0.oGAH4BPoMklheIT1O8I_qJWflL7Y1JlzBEr2-ujtZnM"; +let token = "eyJQIjoxMDA5NDksIkUiOjE3NjAxMDQ3MTcsIlMiOjEwMDUsIkQiOiJycF8xMDAxMiJ9.GhjJa25voqynNDx6YCecuLOTnzSBFOnyeZ5PMS575lA"; let language = "en" let currency = "THB" let supportUrl = ""