添加横屏页面
This commit is contained in:
308
assets/resources/GamePause_H.lh
Normal file
308
assets/resources/GamePause_H.lh
Normal file
@@ -0,0 +1,308 @@
|
||||
{
|
||||
"_$ver": 1,
|
||||
"_$id": "51qgrknl",
|
||||
"_$type": "Box",
|
||||
"name": "GamePause_H",
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"_mouseState": 2,
|
||||
"drawCallOptimize": true,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "c8bf81c2-c8fd-4f25-b120-4ad620ff7b88",
|
||||
"scriptPath": "../src/views/GamePause.ts",
|
||||
"label_time": {
|
||||
"_$ref": "2oo94fn6"
|
||||
},
|
||||
"label_diffucuty": {
|
||||
"_$ref": "x0g211ix"
|
||||
},
|
||||
"btn_continue": {
|
||||
"_$ref": "h0pbxs4g"
|
||||
},
|
||||
"btn_restart": {
|
||||
"_$ref": "i67pxiat"
|
||||
}
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "jk2cgfyw",
|
||||
"_$type": "Image",
|
||||
"name": "Image",
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"alpha": 0.6,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
|
||||
"color": "#000000"
|
||||
},
|
||||
{
|
||||
"_$id": "2oq6bad5",
|
||||
"_$type": "Box",
|
||||
"name": "center",
|
||||
"x": 600,
|
||||
"y": 200,
|
||||
"width": 720,
|
||||
"height": 680,
|
||||
"_mouseState": 2,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "1lql105a",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 720,
|
||||
"height": 680,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 36,
|
||||
"rt": 36,
|
||||
"lb": 36,
|
||||
"rb": 36,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "#FFFFFF"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "o4e4pyiy",
|
||||
"_$type": "VBox",
|
||||
"name": "buttons",
|
||||
"x": 54,
|
||||
"y": 366,
|
||||
"width": 612,
|
||||
"height": 350,
|
||||
"bottom": -36,
|
||||
"centerX": 0,
|
||||
"space": 27,
|
||||
"align": "center",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "h0pbxs4g",
|
||||
"_$type": "Sprite",
|
||||
"name": "btn_continue",
|
||||
"width": 612,
|
||||
"height": 120,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 20,
|
||||
"rt": 20,
|
||||
"lb": 20,
|
||||
"rb": 20,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(29, 92, 220, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "i67pxiat",
|
||||
"_$type": "Sprite",
|
||||
"name": "btn_restart",
|
||||
"y": 147,
|
||||
"width": 612,
|
||||
"height": 120,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 20,
|
||||
"rt": 20,
|
||||
"lb": 20,
|
||||
"rb": 20,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(29, 92, 220, 1)"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "34mfjw6q",
|
||||
"_$type": "VBox",
|
||||
"name": "labels",
|
||||
"x": 54,
|
||||
"y": 366,
|
||||
"width": 612,
|
||||
"height": 350,
|
||||
"bottom": -36,
|
||||
"centerX": 0,
|
||||
"space": 27,
|
||||
"align": "center",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "64brcggk",
|
||||
"_$type": "Label",
|
||||
"name": "Label(1)",
|
||||
"x": -66,
|
||||
"width": 744,
|
||||
"height": 120,
|
||||
"text": "Continue",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 45,
|
||||
"color": "rgba(255, 255, 255, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "julmw9iu",
|
||||
"_$type": "Label",
|
||||
"name": "Label(2)",
|
||||
"x": -66,
|
||||
"y": 147,
|
||||
"width": 744,
|
||||
"height": 120,
|
||||
"text": "Restart",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 45,
|
||||
"color": "rgba(29, 92, 220, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "hjmgztax",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"x": 60,
|
||||
"y": 90,
|
||||
"width": 600,
|
||||
"height": 60,
|
||||
"top": 90,
|
||||
"centerX": 0,
|
||||
"text": "Pause",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 54,
|
||||
"color": "rgba(45, 49, 56, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "q0nefmnf",
|
||||
"_$type": "HBox",
|
||||
"name": "summary",
|
||||
"y": 192,
|
||||
"width": 720,
|
||||
"height": 140,
|
||||
"top": 192,
|
||||
"centerX": 0,
|
||||
"space": 0,
|
||||
"align": "middle",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "xfwuob5k",
|
||||
"_$type": "Box",
|
||||
"name": "Box(1)",
|
||||
"y": 2.5,
|
||||
"width": 360,
|
||||
"height": 135,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "o1clptre",
|
||||
"_$type": "Label",
|
||||
"name": "up",
|
||||
"width": 360,
|
||||
"height": 60,
|
||||
"text": "Time",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 30,
|
||||
"color": "rgba(123, 129, 140, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "2oo94fn6",
|
||||
"_$type": "Label",
|
||||
"name": "down",
|
||||
"y": 52,
|
||||
"width": 360,
|
||||
"height": 72,
|
||||
"text": "Medium",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 45,
|
||||
"color": "rgba(45, 49, 56, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "juv58eq7",
|
||||
"_$type": "Box",
|
||||
"name": "Box(2)",
|
||||
"x": 360,
|
||||
"y": 2.5,
|
||||
"width": 360,
|
||||
"height": 135,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "y3cucgc5",
|
||||
"_$type": "Label",
|
||||
"name": "up",
|
||||
"width": 360,
|
||||
"height": 60,
|
||||
"text": "Difficulty ",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 30,
|
||||
"color": "rgba(123, 129, 140, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "x0g211ix",
|
||||
"_$type": "Label",
|
||||
"name": "down",
|
||||
"y": 52,
|
||||
"width": 360,
|
||||
"height": 72,
|
||||
"text": "Medium",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 45,
|
||||
"color": "rgba(45, 49, 56, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user