完善关卡逻辑
This commit is contained in:
BIN
assets/atlas/comp/icon_clock.png
Normal file
BIN
assets/atlas/comp/icon_clock.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 589 B |
6
assets/atlas/comp/icon_clock.png.meta
Normal file
6
assets/atlas/comp/icon_clock.png.meta
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"uuid": "2b4d26c7-ae87-47a3-8084-29a243441634",
|
||||
"importer": {
|
||||
"textureType": 2
|
||||
}
|
||||
}
|
||||
@@ -20,17 +20,31 @@
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "4udntov4",
|
||||
"_$type": "Image",
|
||||
"name": "mask",
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"alpha": 0.4,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
|
||||
"color": "#000000"
|
||||
},
|
||||
{
|
||||
"_$id": "jzxgx41i",
|
||||
"_$type": "Box",
|
||||
"name": "offset",
|
||||
"y": 560,
|
||||
"y": 3000,
|
||||
"width": 1080,
|
||||
"height": 1360,
|
||||
"_mouseState": 2,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"bottom": 0,
|
||||
"bottom": -2440,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "bd1s5tvm",
|
||||
@@ -130,6 +144,14 @@
|
||||
"x": 72,
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "590euu2q",
|
||||
@@ -137,6 +159,7 @@
|
||||
"name": "Sprite",
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
@@ -179,6 +202,14 @@
|
||||
"y": 194,
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "yjk1xq2a",
|
||||
@@ -186,6 +217,7 @@
|
||||
"name": "Sprite",
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
@@ -228,6 +260,14 @@
|
||||
"y": 388,
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "nfk6pjgd",
|
||||
@@ -235,6 +275,7 @@
|
||||
"name": "Sprite",
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
@@ -277,6 +318,14 @@
|
||||
"y": 582,
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "nogfpbyx",
|
||||
@@ -284,6 +333,7 @@
|
||||
"name": "Sprite",
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
@@ -326,6 +376,14 @@
|
||||
"y": 776,
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "2unm1bxx",
|
||||
@@ -333,6 +391,7 @@
|
||||
"name": "Sprite",
|
||||
"width": 936,
|
||||
"height": 144,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
|
||||
@@ -14,9 +14,15 @@
|
||||
{
|
||||
"_$type": "f2970e4d-7a09-4a9b-aef3-45d330c86f4f",
|
||||
"scriptPath": "../src/views/Home.ts",
|
||||
"btn_start": {
|
||||
"btn_new_blue": {
|
||||
"_$ref": "6irhm6t7"
|
||||
},
|
||||
"btn_continue": {
|
||||
"_$ref": "9rcb0wtp"
|
||||
},
|
||||
"btn_new_white": {
|
||||
"_$ref": "n4ggvqc0"
|
||||
},
|
||||
"btn_clean": {
|
||||
"_$ref": "mdqfz48j"
|
||||
}
|
||||
@@ -36,16 +42,34 @@
|
||||
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
|
||||
"color": "#f5f7fb"
|
||||
},
|
||||
{
|
||||
"_$id": "vxgd702p",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"x": 144,
|
||||
"y": 760,
|
||||
"width": 792,
|
||||
"height": 400,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"text": "Classic\nSudoku",
|
||||
"fontSize": 100,
|
||||
"color": "rgba(123, 129, 140, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "6irhm6t7",
|
||||
"_$type": "Box",
|
||||
"name": "btn_start",
|
||||
"name": "btn_new_blue",
|
||||
"x": 144,
|
||||
"y": 1464,
|
||||
"y": 1488,
|
||||
"width": 792,
|
||||
"height": 168,
|
||||
"centerX": 0,
|
||||
"centerY": 588,
|
||||
"centerY": 612,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "ry13plzy",
|
||||
@@ -88,6 +112,142 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "9rcb0wtp",
|
||||
"_$type": "Box",
|
||||
"name": "btn_continue",
|
||||
"x": 144,
|
||||
"y": 1376,
|
||||
"width": 792,
|
||||
"height": 168,
|
||||
"centerX": 0,
|
||||
"centerY": 500,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "vfod7fmk",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 792,
|
||||
"height": 168,
|
||||
"_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": "f8ylua31",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"y": -32,
|
||||
"width": 792,
|
||||
"height": 168,
|
||||
"centerX": 0,
|
||||
"centerY": -32,
|
||||
"text": "Continue",
|
||||
"fontSize": 80,
|
||||
"color": "#FFFFFF",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "pr17wcli",
|
||||
"_$type": "Image",
|
||||
"name": "time",
|
||||
"x": 227,
|
||||
"y": 107,
|
||||
"width": 35,
|
||||
"height": 35,
|
||||
"centerX": -152,
|
||||
"centerY": 40,
|
||||
"skin": "res://2b4d26c7-ae87-47a3-8084-29a243441634",
|
||||
"useSourceSize": true,
|
||||
"color": "#ffffff",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "2l5pfddm",
|
||||
"_$type": "Label",
|
||||
"name": "label_time",
|
||||
"x": 55,
|
||||
"y": -2,
|
||||
"width": 400,
|
||||
"height": 35,
|
||||
"text": "99:00:00-Hard",
|
||||
"fontSize": 40,
|
||||
"color": "rgba(255, 255, 255, 0.6078431372549019)",
|
||||
"bold": true,
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "n4ggvqc0",
|
||||
"_$type": "Box",
|
||||
"name": "btn_new_white",
|
||||
"x": 144,
|
||||
"y": 1598,
|
||||
"width": 792,
|
||||
"height": 168,
|
||||
"centerX": 0,
|
||||
"centerY": 722,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "sez4l9sx",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 792,
|
||||
"height": 168,
|
||||
"_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(255, 255, 255, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "ihe7vkr1",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 792,
|
||||
"height": 168,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"text": "New Game",
|
||||
"fontSize": 100,
|
||||
"color": "rgba(29, 92, 220, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "mdqfz48j",
|
||||
"_$type": "Box",
|
||||
|
||||
Reference in New Issue
Block a user