开始添加横屏UI
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"name": "Scene2D",
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "7bad1742-6eed-4d8d-81c0-501dc5bf03d6",
|
||||
|
||||
BIN
assets/fonts/Inter-Medium.otf
Normal file
BIN
assets/fonts/Inter-Medium.otf
Normal file
Binary file not shown.
3
assets/fonts/Inter-Medium.otf.meta
Normal file
3
assets/fonts/Inter-Medium.otf.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"uuid": "7322bbf9-175b-4a25-a0d7-72d369894de2"
|
||||
}
|
||||
@@ -50,19 +50,6 @@
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "g2ct7a01",
|
||||
"_$type": "Image",
|
||||
"name": "Mask",
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
|
||||
"color": "#f5f7fb"
|
||||
},
|
||||
{
|
||||
"_$id": "pnoy48ek",
|
||||
"_$type": "Box",
|
||||
@@ -297,10 +284,10 @@
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 20,
|
||||
"rt": 20,
|
||||
"lb": 20,
|
||||
"rb": 20,
|
||||
"lt": 36,
|
||||
"rt": 36,
|
||||
"lb": 36,
|
||||
"rb": 36,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(29, 92, 220, 1)"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"uuid": "665f7342-64cb-4801-a000-041575e71bb5"
|
||||
"uuid": "5228993d-78c0-41ae-bd57-ecb0c953ac15"
|
||||
}
|
||||
41452
assets/resources/Stage_H_DC.lh
Normal file
41452
assets/resources/Stage_H_DC.lh
Normal file
File diff suppressed because it is too large
Load Diff
3
assets/resources/Stage_H_DC.lh.meta
Normal file
3
assets/resources/Stage_H_DC.lh.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"uuid": "2704a5eb-4df2-47ba-9ebf-b1b998b645d5"
|
||||
}
|
||||
502
assets/resources/TopBar.lh
Normal file
502
assets/resources/TopBar.lh
Normal file
@@ -0,0 +1,502 @@
|
||||
{
|
||||
"_$ver": 1,
|
||||
"_$id": "n0oso5ht",
|
||||
"_$type": "Box",
|
||||
"name": "TopBar",
|
||||
"width": 1920,
|
||||
"height": 120,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "stl71oaq",
|
||||
"_$type": "HBox",
|
||||
"name": "left",
|
||||
"x": 44,
|
||||
"width": 648,
|
||||
"height": 120,
|
||||
"left": 44,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"space": 20,
|
||||
"align": "middle",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "u4b9ebng",
|
||||
"_$type": "Box",
|
||||
"name": "btn_classic",
|
||||
"y": 24,
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "9pp003sx",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "3egrc2h4",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Classic Sudoku",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "#FFFFFF",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "y4tagu3d",
|
||||
"_$type": "Box",
|
||||
"name": "btn_dc",
|
||||
"x": 332,
|
||||
"y": 24,
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "kdgs3kw9",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "8bp5ph4p",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Daily Challenge",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0",
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "cadd567d-5099-49b9-a9b3-b7c404d5fe1b",
|
||||
"scriptPath": "../src/views/TopBar.ts",
|
||||
"btn_classic": {
|
||||
"_$ref": "u4b9ebng"
|
||||
},
|
||||
"sprite_classic": {
|
||||
"_$ref": "9pp003sx"
|
||||
},
|
||||
"label_classic": {
|
||||
"_$ref": "3egrc2h4"
|
||||
},
|
||||
"btn_dc": {
|
||||
"_$ref": "y4tagu3d"
|
||||
},
|
||||
"sprite_dc": {
|
||||
"_$ref": "kdgs3kw9"
|
||||
},
|
||||
"label_dc": {
|
||||
"_$ref": "8bp5ph4p"
|
||||
},
|
||||
"obj_items": {
|
||||
"_$ref": "6g0fjeca"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "v2lfxxzc",
|
||||
"_$type": "Box",
|
||||
"name": "right",
|
||||
"x": 866,
|
||||
"width": 1054,
|
||||
"height": 120,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "c4v7pjor",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"x": -108,
|
||||
"y": 30,
|
||||
"width": 292,
|
||||
"height": 60,
|
||||
"centerY": 0,
|
||||
"text": "Difficulty:",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(167, 171, 179, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "6g0fjeca",
|
||||
"_$type": "HBox",
|
||||
"name": "items",
|
||||
"x": 144,
|
||||
"y": 30,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"centerY": 0,
|
||||
"space": 20,
|
||||
"align": "middle",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "2cbgfaxu",
|
||||
"_$type": "Box",
|
||||
"name": "Box(1)",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "b2mvyk8s",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "rixxvje7",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Easy",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "u5q1rxe8",
|
||||
"_$type": "Box",
|
||||
"name": "Box(2)",
|
||||
"x": 152,
|
||||
"width": 189,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "6rwertze",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 189,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "7et7pcm4",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 189,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Medium",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "24u2dmu4",
|
||||
"_$type": "Box",
|
||||
"name": "Box(3)",
|
||||
"x": 361,
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "swr0juum",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "47bub8da",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Hard",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "tfj1gqhi",
|
||||
"_$type": "Box",
|
||||
"name": "Box(4)",
|
||||
"x": 513,
|
||||
"width": 162,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "ftn8440x",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 162,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "4wvr9z82",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 162,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Expert",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "xqqjuftc",
|
||||
"_$type": "Box",
|
||||
"name": "Box(5)",
|
||||
"x": 695,
|
||||
"width": 192,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "f1ra9jda",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 192,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "3nceoiwj",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 192,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Extreme",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
3
assets/resources/TopBar.lh.meta
Normal file
3
assets/resources/TopBar.lh.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"uuid": "96ad71b3-f8c9-47f0-a3c2-f6413f18e065"
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "554595b0-0dd8-4e4b-8073-8d775219659c",
|
||||
"scriptPath": "../src/views/TrophyRoom.ts",
|
||||
"scriptPath": "../src/views/dc/TrophyRoom.ts",
|
||||
"btn_back": {
|
||||
"_$ref": "12tz34f8"
|
||||
},
|
||||
@@ -23,19 +23,6 @@
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "lj5633i3",
|
||||
"_$type": "Image",
|
||||
"name": "bg",
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
|
||||
"color": "#f5f7fb"
|
||||
},
|
||||
{
|
||||
"_$id": "z1p4zsvs",
|
||||
"_$type": "Box",
|
||||
|
||||
Reference in New Issue
Block a user