Compare commits

...

2 Commits

Author SHA1 Message Date
YZ\249929363 03f084e37a Merge branch 'main' of https://git.sparkus.cn/yangzhao/cb 2025-07-03 19:37:32 +08:00
YZ\249929363 9d3181a30a 小更新 2025-07-03 19:37:23 +08:00
2 changed files with 13 additions and 8 deletions

View File

@ -7402,8 +7402,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-13.529, -4.385,
-60, -62.29,
0, 0,
0, 0,
0, 0,
@ -7553,7 +7553,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-103.331, -103.331,
-60, -60.197,
0, 0,
0, 0,
0, 0,
@ -7865,8 +7865,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 200,
"height": 0 "height": 200
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -7877,7 +7877,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
3.388, 14.787,
7.421, 7.421,
0, 0,
0, 0,
@ -7943,7 +7943,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
125.9, 125.9,
3.914, 1.555,
0, 0,
0, 0,
0, 0,
@ -15267,7 +15267,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
15.137, 15.137,
753.348, 738.462,
0, 0,
0, 0,
0, 0,

View File

@ -768,6 +768,7 @@ export default class Block extends cc.Component {
setVibrate(type, count){ setVibrate(type, count){
// return; // return;
console.log("最新:",cc.fx.GameConfig.GM_INFO.vibrateOpen,type);
if(!cc.fx.GameConfig.GM_INFO.vibrateOpen){ if(!cc.fx.GameConfig.GM_INFO.vibrateOpen){
return; return;
} }
@ -778,8 +779,10 @@ export default class Block extends cc.Component {
wx.vibrateShort({ wx.vibrateShort({
type: type, type: type,
success: () => { success: () => {
console.log("震动成功1111111111")
}, },
fail: (err) => { fail: (err) => {
console.log("震动失败1111111111",err);
} }
}); });
} else { } else {
@ -795,8 +798,10 @@ export default class Block extends cc.Component {
wx.vibrateShort({ wx.vibrateShort({
type: type, type: type,
success: () => { success: () => {
console.log("震动成功222222222")
}, },
fail: (err) => { fail: (err) => {
console.log("震动失败222222222",err);
} }
}); });
} else { } else {