|
|
@@ -2,7 +2,7 @@
|
|
|
* @Author: mojunshou 1637302775@qq.com
|
|
|
* @Date: 2025-03-20 15:01:09
|
|
|
* @LastEditors: mojunshou 1637302775@qq.com
|
|
|
- * @LastEditTime: 2025-04-28 16:38:40
|
|
|
+ * @LastEditTime: 2025-04-28 16:59:17
|
|
|
* @Description: 消除游戏主场景
|
|
|
*/
|
|
|
import { _decorator, Button, Color, EventTouch, instantiate, JsonAsset, v3, Label, Node, Prefab, randomRangeInt, Sprite, tween, UITransform, Vec2, Vec3, Widget } from "cc";
|
|
|
@@ -2048,16 +2048,6 @@ export class EliminateViewComp extends CCComp {
|
|
|
|
|
|
//自动放置,不让点击方块
|
|
|
private btn_auto(event: EventTouch) {
|
|
|
- //这要有一个tweeen 放大缩小效果
|
|
|
- // if (this.autoBtnNode) {
|
|
|
- // tween(this.autoBtnNode)
|
|
|
- // .to(0.1, { scale: v3(1.2, 1.2) })
|
|
|
- // .call(() => {
|
|
|
- // this.autoBtnNode.scale_x = 1;
|
|
|
- // this.autoBtnNode.scale_y = 1;
|
|
|
- // })
|
|
|
- // .start();
|
|
|
- // }
|
|
|
this.autoGame();
|
|
|
}
|
|
|
|
|
|
@@ -2387,7 +2377,7 @@ export class EliminateViewComp extends CCComp {
|
|
|
oops.gui.open(UIID.ReservePopup);
|
|
|
break;
|
|
|
case "handlingCharge":
|
|
|
- oops.gui.open(UIID.WechaatTransfer);
|
|
|
+ oops.gui.open(UIID.WechatTransfer);
|
|
|
break;
|
|
|
}
|
|
|
smc.game.GameModel.popupShow = true;
|
|
|
@@ -2409,31 +2399,33 @@ export class EliminateViewComp extends CCComp {
|
|
|
}
|
|
|
|
|
|
btn_text() {
|
|
|
- const param = {
|
|
|
- "code": 0,
|
|
|
- "data": {
|
|
|
- "ssid": "9201d75d019f46f98b8663adfd515a58",
|
|
|
- "props": {
|
|
|
- "1004": 7077279,
|
|
|
- "1005": 2143634,
|
|
|
- "1006": 12,
|
|
|
- "1007": 186,
|
|
|
- "1008": 22,
|
|
|
- "1009": 299980,
|
|
|
- "2001": 2,
|
|
|
- "8001": 530,
|
|
|
- "9001": 2
|
|
|
- },
|
|
|
- "changes": {
|
|
|
- "1004": 1,
|
|
|
- "1007": 1
|
|
|
- },
|
|
|
- "tipThreshold": true
|
|
|
- }
|
|
|
- }
|
|
|
- let str = JSON.stringify(param);
|
|
|
- ServerHandler.inst.onGetVideorReward(str);
|
|
|
+ // const param = {
|
|
|
+ // "code": 0,
|
|
|
+ // "data": {
|
|
|
+ // "ssid": "9201d75d019f46f98b8663adfd515a58",
|
|
|
+ // "props": {
|
|
|
+ // "1004": 7077279,
|
|
|
+ // "1005": 2143634,
|
|
|
+ // "1006": 12,
|
|
|
+ // "1007": 186,
|
|
|
+ // "1008": 22,
|
|
|
+ // "1009": 299980,
|
|
|
+ // "2001": 2,
|
|
|
+ // "8001": 530,
|
|
|
+ // "9001": 2
|
|
|
+ // },
|
|
|
+ // "changes": {
|
|
|
+ // "1004": 1,
|
|
|
+ // "1007": 1
|
|
|
+ // },
|
|
|
+ // "tipThreshold": true
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // let str = JSON.stringify(param);
|
|
|
+ // ServerHandler.inst.onGetVideorReward(str);
|
|
|
// ServerHandler.inst.GetGuideInfo();
|
|
|
+ // oops.gui.open(UIID.WechatTransfer);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
getRandomUniqueInts(count: number = 3): number[] {
|