继续补充UI细节
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"_$id": "zgb3r3bp",
|
||||
"_$type": "Box",
|
||||
"name": "GameDone_DC",
|
||||
"width": 1080,
|
||||
"width": 1920,
|
||||
"height": 1920,
|
||||
"_mouseState": 2,
|
||||
"drawCallOptimize": true,
|
||||
@@ -59,7 +59,7 @@
|
||||
"_$id": "ne7i0g6e",
|
||||
"_$type": "Image",
|
||||
"name": "bg_done",
|
||||
"width": 1080,
|
||||
"width": 1920,
|
||||
"height": 1920,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
@@ -72,7 +72,7 @@
|
||||
"_$id": "9ijholxi",
|
||||
"_$type": "Box",
|
||||
"name": "top",
|
||||
"x": 48,
|
||||
"x": 468,
|
||||
"y": 490,
|
||||
"width": 984,
|
||||
"height": 846,
|
||||
@@ -131,7 +131,7 @@
|
||||
"rb": 48,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "#FFFFFF"
|
||||
"fillColor": "rgba(250, 251, 253, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -374,7 +374,7 @@
|
||||
"_$type": "Box",
|
||||
"name": "bottom",
|
||||
"y": 1408,
|
||||
"width": 1080,
|
||||
"width": 1920,
|
||||
"height": 492,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
@@ -384,7 +384,7 @@
|
||||
"_$id": "cx166wex",
|
||||
"_$type": "Box",
|
||||
"name": "btn_new",
|
||||
"x": 144,
|
||||
"x": 564,
|
||||
"y": 48,
|
||||
"width": 792,
|
||||
"height": 156,
|
||||
@@ -445,7 +445,7 @@
|
||||
"_$id": "nx1uwslc",
|
||||
"_$type": "Box",
|
||||
"name": "btn_home",
|
||||
"x": 144,
|
||||
"x": 564,
|
||||
"y": 240,
|
||||
"width": 792,
|
||||
"height": 156,
|
||||
@@ -507,7 +507,7 @@
|
||||
"_$id": "lcg77a5s",
|
||||
"_$type": "Box",
|
||||
"name": "btn_continue",
|
||||
"x": 144,
|
||||
"x": 564,
|
||||
"y": 240,
|
||||
"width": 792,
|
||||
"height": 156,
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
"rb": 54,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "#FFFFFF"
|
||||
"fillColor": "rgba(250, 251, 253, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"_$id": "hoxxnmyk",
|
||||
"_$type": "Box",
|
||||
"name": "GameDone_Normal",
|
||||
"width": 1080,
|
||||
"width": 1920,
|
||||
"height": 1920,
|
||||
"_mouseState": 2,
|
||||
"drawCallOptimize": true,
|
||||
@@ -59,7 +59,7 @@
|
||||
"_$id": "9omycrdv",
|
||||
"_$type": "Image",
|
||||
"name": "bg_done",
|
||||
"width": 1080,
|
||||
"width": 1920,
|
||||
"height": 1920,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
@@ -72,7 +72,7 @@
|
||||
"_$id": "kpsallku",
|
||||
"_$type": "Box",
|
||||
"name": "top",
|
||||
"x": 48,
|
||||
"x": 468,
|
||||
"y": 390,
|
||||
"width": 984,
|
||||
"height": 846,
|
||||
@@ -131,7 +131,7 @@
|
||||
"rb": 48,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "#FFFFFF"
|
||||
"fillColor": "rgba(250, 251, 253, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -379,7 +379,7 @@
|
||||
"_$type": "Box",
|
||||
"name": "bottom",
|
||||
"y": 1408,
|
||||
"width": 1080,
|
||||
"width": 1920,
|
||||
"height": 492,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
@@ -389,7 +389,7 @@
|
||||
"_$id": "iamtc0bw",
|
||||
"_$type": "Box",
|
||||
"name": "btn_new",
|
||||
"x": 144,
|
||||
"x": 564,
|
||||
"y": 240,
|
||||
"width": 792,
|
||||
"height": 156,
|
||||
@@ -449,7 +449,7 @@
|
||||
"_$id": "v0482f5q",
|
||||
"_$type": "Box",
|
||||
"name": "btn_home",
|
||||
"x": 144,
|
||||
"x": 564,
|
||||
"y": 240,
|
||||
"width": 792,
|
||||
"height": 156,
|
||||
@@ -511,7 +511,7 @@
|
||||
"_$id": "qg9k7yph",
|
||||
"_$type": "Box",
|
||||
"name": "btn_continue",
|
||||
"x": 144,
|
||||
"x": 564,
|
||||
"y": 240,
|
||||
"width": 792,
|
||||
"height": 156,
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
"rb": 54,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "#FFFFFF"
|
||||
"fillColor": "rgba(250, 251, 253, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -54,10 +54,10 @@ export class GameDone extends Laya.Script {
|
||||
|
||||
onAwake(): void {
|
||||
ResourceManager.getInstance().loadTexture(respath.bg_done, this.bg)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star1, this.star1)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star1, this.star2)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star1, this.star3)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star4)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star1)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star2)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star3)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star1, this.star4)
|
||||
|
||||
this.owner.x = 0
|
||||
this.owner.y = 0
|
||||
|
||||
Reference in New Issue
Block a user