普遍添加hover

This commit is contained in:
2025-05-30 17:55:03 +08:00
parent 51991470f6
commit cbfeda6636
16 changed files with 271 additions and 25 deletions

View File

@@ -150,6 +150,11 @@
"scriptPath": "../src/views/common/CommonData.ts", "scriptPath": "../src/views/common/CommonData.ts",
"intValue": 0, "intValue": 0,
"strValue": "" "strValue": ""
},
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [
@@ -210,6 +215,11 @@
"scriptPath": "../src/views/common/CommonData.ts", "scriptPath": "../src/views/common/CommonData.ts",
"intValue": 0, "intValue": 0,
"strValue": "" "strValue": ""
},
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [
@@ -270,6 +280,11 @@
"scriptPath": "../src/views/common/CommonData.ts", "scriptPath": "../src/views/common/CommonData.ts",
"intValue": 0, "intValue": 0,
"strValue": "" "strValue": ""
},
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [
@@ -330,6 +345,11 @@
"scriptPath": "../src/views/common/CommonData.ts", "scriptPath": "../src/views/common/CommonData.ts",
"intValue": 0, "intValue": 0,
"strValue": "" "strValue": ""
},
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [
@@ -390,6 +410,11 @@
"scriptPath": "../src/views/common/CommonData.ts", "scriptPath": "../src/views/common/CommonData.ts",
"intValue": 0, "intValue": 0,
"strValue": "" "strValue": ""
},
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [

View File

@@ -383,6 +383,13 @@
"visible": false, "visible": false,
"bottom": 288, "bottom": 288,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "ptmwi7hz", "_$id": "ptmwi7hz",
@@ -437,6 +444,13 @@
"visible": false, "visible": false,
"bottom": 96, "bottom": 96,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "3w8f77oi", "_$id": "3w8f77oi",
@@ -491,6 +505,13 @@
"height": 156, "height": 156,
"bottom": 96, "bottom": 96,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "y3odek2w", "_$id": "y3odek2w",

View File

@@ -389,6 +389,13 @@
"visible": false, "visible": false,
"top": 366, "top": 366,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "z6im7ids", "_$id": "z6im7ids",
@@ -442,6 +449,13 @@
"visible": false, "visible": false,
"top": 558, "top": 558,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "sn58intc", "_$id": "sn58intc",
@@ -495,6 +509,13 @@
"height": 156, "height": 156,
"top": 366, "top": 366,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "usa1t482", "_$id": "usa1t482",

View File

@@ -384,6 +384,13 @@
"height": 156, "height": 156,
"bottom": 96, "bottom": 96,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "9sx9tjpd", "_$id": "9sx9tjpd",
@@ -438,6 +445,13 @@
"visible": false, "visible": false,
"bottom": 96, "bottom": 96,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "kq8dx0a5", "_$id": "kq8dx0a5",
@@ -493,6 +507,13 @@
"visible": false, "visible": false,
"bottom": 96, "bottom": 96,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "rad99t4v", "_$id": "rad99t4v",

View File

@@ -391,6 +391,13 @@
"height": 156, "height": 156,
"top": 366, "top": 366,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "n7fabj30", "_$id": "n7fabj30",
@@ -444,6 +451,13 @@
"visible": false, "visible": false,
"top": 558, "top": 558,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "s93f5gz9", "_$id": "s93f5gz9",
@@ -497,6 +511,13 @@
"height": 156, "height": 156,
"visible": false, "visible": false,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "fftedkj5", "_$id": "fftedkj5",

View File

@@ -3,8 +3,8 @@
"_$id": "w805s9t9", "_$id": "w805s9t9",
"_$type": "Box", "_$type": "Box",
"name": "GameOver", "name": "GameOver",
"width": 1920, "width": 1080,
"height": 1080, "height": 1920,
"_mouseState": 2, "_mouseState": 2,
"drawCallOptimize": true, "drawCallOptimize": true,
"left": 0, "left": 0,
@@ -34,8 +34,8 @@
"_$id": "unwnutvo", "_$id": "unwnutvo",
"_$type": "Image", "_$type": "Image",
"name": "Image", "name": "Image",
"width": 1920, "width": 1080,
"height": 1080, "height": 1920,
"alpha": 0.6, "alpha": 0.6,
"left": 0, "left": 0,
"right": 0, "right": 0,
@@ -48,7 +48,8 @@
"_$id": "0a0ovv4z", "_$id": "0a0ovv4z",
"_$type": "Box", "_$type": "Box",
"name": "center", "name": "center",
"x": 516, "x": 96,
"y": 420,
"width": 888, "width": 888,
"height": 1080, "height": 1080,
"_mouseState": 2, "_mouseState": 2,
@@ -97,6 +98,13 @@
"name": "btn_second", "name": "btn_second",
"width": 744, "width": 744,
"height": 156, "height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "0w6x8zzw", "_$id": "0w6x8zzw",
@@ -205,6 +213,13 @@
"y": 196, "y": 196,
"width": 744, "width": 744,
"height": 156, "height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "y7aniaui", "_$id": "y7aniaui",
@@ -257,6 +272,13 @@
"y": 392, "y": 392,
"width": 744, "width": 744,
"height": 156, "height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "eepsaznr", "_$id": "eepsaznr",
@@ -310,8 +332,8 @@
"_$id": "jkqju6ok", "_$id": "jkqju6ok",
"_$type": "Label", "_$type": "Label",
"name": "Label", "name": "Label",
"x": 592, "x": 172,
"y": 101, "y": 521,
"width": 736, "width": 736,
"height": 100, "height": 100,
"centerX": 0, "centerX": 0,
@@ -329,8 +351,8 @@
"_$id": "39t7ygbe", "_$id": "39t7ygbe",
"_$type": "Label", "_$type": "Label",
"name": "Label(1)", "name": "Label(1)",
"x": 606, "x": 186,
"y": 235, "y": 655,
"width": 709, "width": 709,
"height": 300, "height": 300,
"centerX": 0, "centerX": 0,

View File

@@ -98,6 +98,13 @@
"name": "btn_second", "name": "btn_second",
"width": 852, "width": 852,
"height": 120, "height": 120,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "szb9ucan", "_$id": "szb9ucan",
@@ -172,6 +179,13 @@
"name": "btn_restart", "name": "btn_restart",
"width": 412, "width": 412,
"height": 120, "height": 120,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "vhabgf62", "_$id": "vhabgf62",
@@ -225,6 +239,13 @@
"x": 440, "x": 440,
"width": 412, "width": 412,
"height": 120, "height": 120,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "qkqudbcq", "_$id": "qkqudbcq",

View File

@@ -3,8 +3,8 @@
"_$id": "2c04twx2", "_$id": "2c04twx2",
"_$type": "Box", "_$type": "Box",
"name": "GamePause", "name": "GamePause",
"width": 1920, "width": 1080,
"height": 1080, "height": 1920,
"_mouseState": 2, "_mouseState": 2,
"drawCallOptimize": true, "drawCallOptimize": true,
"left": 0, "left": 0,
@@ -34,8 +34,8 @@
"_$id": "vqp0nqaw", "_$id": "vqp0nqaw",
"_$type": "Image", "_$type": "Image",
"name": "Image", "name": "Image",
"width": 1920, "width": 1080,
"height": 1080, "height": 1920,
"alpha": 0.6, "alpha": 0.6,
"left": 0, "left": 0,
"right": 0, "right": 0,
@@ -48,8 +48,8 @@
"_$id": "cy0qcxu0", "_$id": "cy0qcxu0",
"_$type": "Box", "_$type": "Box",
"name": "center", "name": "center",
"x": 516, "x": 96,
"y": 87, "y": 507,
"width": 888, "width": 888,
"height": 906, "height": 906,
"_mouseState": 2, "_mouseState": 2,
@@ -98,6 +98,13 @@
"name": "btn_continue", "name": "btn_continue",
"width": 744, "width": 744,
"height": 156, "height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "ugz9ejd0", "_$id": "ugz9ejd0",
@@ -149,6 +156,13 @@
"y": 196, "y": 196,
"width": 744, "width": 744,
"height": 156, "height": 156,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "lkzndo0i", "_$id": "lkzndo0i",

View File

@@ -99,6 +99,13 @@
"y": 45, "y": 45,
"width": 412, "width": 412,
"height": 120, "height": 120,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "i67pxiat", "_$id": "i67pxiat",
@@ -152,6 +159,13 @@
"y": 45, "y": 45,
"width": 412, "width": 412,
"height": 120, "height": 120,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "h0pbxs4g", "_$id": "h0pbxs4g",

View File

@@ -154,7 +154,8 @@
"_$comp": [ "_$comp": [
{ {
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17", "_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts" "scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [
@@ -309,6 +310,13 @@
"anchorX": 0.5, "anchorX": 0.5,
"anchorY": 0.5, "anchorY": 0.5,
"rotation": 180, "rotation": 180,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "a1eyth57", "_$id": "a1eyth57",
@@ -347,6 +355,13 @@
"height": 66, "height": 66,
"anchorX": 0.5, "anchorX": 0.5,
"anchorY": 0.5, "anchorY": 0.5,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "q72t1vv2", "_$id": "q72t1vv2",
@@ -7662,7 +7677,8 @@
"_$comp": [ "_$comp": [
{ {
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17", "_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts" "scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [

View File

@@ -234,6 +234,13 @@
"anchorX": 0.5, "anchorX": 0.5,
"anchorY": 0.5, "anchorY": 0.5,
"rotation": 180, "rotation": 180,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "59jzg1n8", "_$id": "59jzg1n8",
@@ -272,6 +279,13 @@
"height": 42, "height": 42,
"anchorX": 0.5, "anchorX": 0.5,
"anchorY": 0.5, "anchorY": 0.5,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "d0pk3c7b", "_$id": "d0pk3c7b",
@@ -344,7 +358,8 @@
"_$comp": [ "_$comp": [
{ {
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17", "_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts" "scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [
@@ -7620,7 +7635,8 @@
"_$comp": [ "_$comp": [
{ {
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17", "_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts" "scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
} }
], ],
"_$child": [ "_$child": [

View File

@@ -3,8 +3,8 @@
"_$id": "6l8gfnd1", "_$id": "6l8gfnd1",
"_$type": "Box", "_$type": "Box",
"name": "TrophyClaim", "name": "TrophyClaim",
"width": 1920, "width": 1080,
"height": 1080, "height": 1920,
"left": 0, "left": 0,
"right": 0, "right": 0,
"top": 0, "top": 0,
@@ -29,8 +29,8 @@
"_$id": "l3kqo0ly", "_$id": "l3kqo0ly",
"_$type": "Image", "_$type": "Image",
"name": "Image", "name": "Image",
"width": 1920, "width": 1080,
"height": 1080, "height": 1920,
"alpha": 0.8, "alpha": 0.8,
"left": 0, "left": 0,
"right": 0, "right": 0,
@@ -43,8 +43,7 @@
"_$id": "21y8h6ei", "_$id": "21y8h6ei",
"_$type": "Box", "_$type": "Box",
"name": "center", "name": "center",
"x": 420, "y": 264,
"y": -156,
"width": 1080, "width": 1080,
"height": 1080, "height": 1080,
"centerX": 0, "centerX": 0,
@@ -85,6 +84,13 @@
"height": 156, "height": 156,
"bottom": -216, "bottom": -216,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "y8abda90", "_$id": "y8abda90",

View File

@@ -86,6 +86,13 @@
"height": 132, "height": 132,
"bottom": -136, "bottom": -136,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "qg7a7ikf", "_$id": "qg7a7ikf",

View File

@@ -46,6 +46,13 @@
"height": 48, "height": 48,
"_mouseState": 2, "_mouseState": 2,
"centerX": -460, "centerX": -460,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "12tz34f8", "_$id": "12tz34f8",

View File

@@ -84,6 +84,13 @@
"height": 132, "height": 132,
"bottom": -216, "bottom": -216,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "080lm4sm", "_$id": "080lm4sm",

View File

@@ -86,6 +86,13 @@
"height": 132, "height": 132,
"bottom": -144, "bottom": -144,
"centerX": 0, "centerX": 0,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [ "_$child": [
{ {
"_$id": "juo5bxev", "_$id": "juo5bxev",