调整几个弹框
This commit is contained in:
@@ -54,10 +54,10 @@
|
||||
"_$id": "r463so4u",
|
||||
"_$type": "Box",
|
||||
"name": "center",
|
||||
"x": 540,
|
||||
"y": 330,
|
||||
"width": 840,
|
||||
"height": 420,
|
||||
"x": 480,
|
||||
"y": 280,
|
||||
"width": 960,
|
||||
"height": 520,
|
||||
"_mouseState": 2,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
@@ -66,8 +66,8 @@
|
||||
"_$id": "wfz9ah0j",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 840,
|
||||
"height": 420,
|
||||
"width": 960,
|
||||
"height": 520,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
@@ -85,132 +85,32 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "kdbuqg4b",
|
||||
"_$type": "VBox",
|
||||
"name": "buttons",
|
||||
"x": 114,
|
||||
"y": 106,
|
||||
"width": 612,
|
||||
"height": 350,
|
||||
"bottom": -36,
|
||||
"centerX": 0,
|
||||
"space": 27,
|
||||
"align": "center"
|
||||
},
|
||||
{
|
||||
"_$id": "qawnoo6z",
|
||||
"_$type": "Label",
|
||||
"name": "label_title",
|
||||
"x": 120,
|
||||
"y": 24,
|
||||
"width": 600,
|
||||
"height": 60,
|
||||
"top": 24,
|
||||
"centerX": 0,
|
||||
"text": "Start New Game",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 48,
|
||||
"color": "rgba(45, 49, 56, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "jjabofyx",
|
||||
"_$type": "Label",
|
||||
"name": "label_content",
|
||||
"x": 120,
|
||||
"y": 112,
|
||||
"width": 600,
|
||||
"height": 120,
|
||||
"top": 112,
|
||||
"centerX": 0,
|
||||
"text": "Current game progress will be lost",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(123, 129, 140, 1)",
|
||||
"align": "center",
|
||||
"valign": "top",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "k3fjill3",
|
||||
"_$type": "HBox",
|
||||
"name": "HBox",
|
||||
"x": 80,
|
||||
"y": 214,
|
||||
"width": 680,
|
||||
"x": 54,
|
||||
"y": 271,
|
||||
"width": 852,
|
||||
"height": 96,
|
||||
"centerX": 0,
|
||||
"space": 80,
|
||||
"space": 28,
|
||||
"align": "middle",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "ob8d2aj7",
|
||||
"_$type": "Box",
|
||||
"name": "btn_ok",
|
||||
"width": 300,
|
||||
"height": 96,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "bqp1fe7k",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 300,
|
||||
"height": 96,
|
||||
"mouseThrough": true,
|
||||
"_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": "q2n5i4r9",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 300,
|
||||
"height": 96,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"text": "OK",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(255, 255, 255, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "ikd12rw5",
|
||||
"_$type": "Box",
|
||||
"name": "btn_cancel",
|
||||
"x": 380,
|
||||
"width": 300,
|
||||
"height": 96,
|
||||
"y": -12,
|
||||
"width": 412,
|
||||
"height": 120,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "he6hpns9",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 300,
|
||||
"height": 96,
|
||||
"width": 412,
|
||||
"height": 120,
|
||||
"alpha": 0.1,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
@@ -220,10 +120,10 @@
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 20,
|
||||
"rt": 20,
|
||||
"lb": 20,
|
||||
"rb": 20,
|
||||
"lt": 27,
|
||||
"rt": 27,
|
||||
"lb": 27,
|
||||
"rb": 27,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(29, 92, 220, 1)"
|
||||
@@ -234,13 +134,15 @@
|
||||
"_$id": "qa4fm6cu",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"x": 56,
|
||||
"y": 12,
|
||||
"width": 300,
|
||||
"height": 96,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"text": "Cancel",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"fontSize": 45,
|
||||
"color": "rgba(29, 92, 220, 1)",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
@@ -248,6 +150,60 @@
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "ob8d2aj7",
|
||||
"_$type": "Box",
|
||||
"name": "btn_ok",
|
||||
"x": 440,
|
||||
"y": -12,
|
||||
"width": 412,
|
||||
"height": 120,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "bqp1fe7k",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 412,
|
||||
"height": 120,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 27,
|
||||
"rt": 27,
|
||||
"lb": 27,
|
||||
"rb": 27,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(29, 92, 220, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "q2n5i4r9",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"x": 56,
|
||||
"y": 12,
|
||||
"width": 300,
|
||||
"height": 96,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"text": "Start",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -255,17 +211,18 @@
|
||||
"_$id": "g1zoj9qx",
|
||||
"_$type": "Box",
|
||||
"name": "toggle",
|
||||
"x": 226,
|
||||
"y": 339,
|
||||
"width": 64,
|
||||
"height": 64,
|
||||
"x": 320,
|
||||
"y": 424,
|
||||
"width": 42,
|
||||
"height": 42,
|
||||
"bottom": 54,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "74puwx15",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 64,
|
||||
"height": 64,
|
||||
"width": 42,
|
||||
"height": 42,
|
||||
"mouseThrough": true,
|
||||
"_gcmds": [
|
||||
{
|
||||
@@ -274,51 +231,84 @@
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 10,
|
||||
"rt": 10,
|
||||
"lb": 10,
|
||||
"rb": 10,
|
||||
"lt": 6,
|
||||
"rt": 6,
|
||||
"lb": 6,
|
||||
"rb": 6,
|
||||
"percent": true,
|
||||
"lineWidth": 2,
|
||||
"lineColor": "#000000",
|
||||
"fillColor": "#FFFFFF"
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "cofalite",
|
||||
"_$type": "Image",
|
||||
"name": "Image",
|
||||
"x": 14,
|
||||
"y": 18,
|
||||
"width": 36,
|
||||
"height": 28,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"skin": "res://6f23a1ca-70f5-467a-afc3-5b178a851423",
|
||||
"useSourceSize": true,
|
||||
"color": "#ffffff"
|
||||
"fillColor": "rgba(240, 242, 247, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "cofalite",
|
||||
"_$type": "Image",
|
||||
"name": "Image",
|
||||
"width": 43,
|
||||
"height": 42,
|
||||
"centerX": 0,
|
||||
"centerY": 0,
|
||||
"skin": "res://6f23a1ca-70f5-467a-afc3-5b178a851423",
|
||||
"useSourceSize": true,
|
||||
"color": "#ffffff"
|
||||
},
|
||||
{
|
||||
"_$id": "jf00gv80",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"x": 78,
|
||||
"x": 54,
|
||||
"y": 2,
|
||||
"width": 400,
|
||||
"height": 64,
|
||||
"left": 78,
|
||||
"height": 42,
|
||||
"left": 54,
|
||||
"centerY": 2,
|
||||
"text": "Don't ask me agin",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(123, 129, 140, 1)",
|
||||
"fontSize": 30,
|
||||
"color": "rgba(84, 89, 98, 1)",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "qawnoo6z",
|
||||
"_$type": "Label",
|
||||
"name": "label_title",
|
||||
"x": 180,
|
||||
"y": 54,
|
||||
"width": 600,
|
||||
"height": 66,
|
||||
"top": 54,
|
||||
"centerX": 0,
|
||||
"text": "Start New Game",
|
||||
"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",
|
||||
"strokeColor": "rgba(45, 49, 56, 1)"
|
||||
},
|
||||
{
|
||||
"_$id": "jjabofyx",
|
||||
"_$type": "Label",
|
||||
"name": "label_content",
|
||||
"x": 130,
|
||||
"y": 150,
|
||||
"width": 700,
|
||||
"height": 48,
|
||||
"top": 150,
|
||||
"centerX": 0,
|
||||
"text": "Current game progress will be lost",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 40,
|
||||
"color": "rgba(84, 89, 98, 1)",
|
||||
"align": "center",
|
||||
"valign": "top",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user