添加横屏页面
This commit is contained in:
		| @@ -7,8 +7,8 @@ | |||||||
|   "top": 0, |   "top": 0, | ||||||
|   "bottom": 0, |   "bottom": 0, | ||||||
|   "name": "Scene2D", |   "name": "Scene2D", | ||||||
|   "width": 1920, |   "width": 1080, | ||||||
|   "height": 1080, |   "height": 1920, | ||||||
|   "_$comp": [ |   "_$comp": [ | ||||||
|     { |     { | ||||||
|       "_$type": "7bad1742-6eed-4d8d-81c0-501dc5bf03d6", |       "_$type": "7bad1742-6eed-4d8d-81c0-501dc5bf03d6", | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								assets/atlas/comp/icon_check.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/atlas/comp/icon_check.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 630 B | 
							
								
								
									
										6
									
								
								assets/atlas/comp/icon_check.png.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								assets/atlas/comp/icon_check.png.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "6f23a1ca-70f5-467a-afc3-5b178a851423", | ||||||
|  |   "importer": { | ||||||
|  |     "textureType": 2 | ||||||
|  |   } | ||||||
|  | } | ||||||
							
								
								
									
										326
									
								
								assets/resources/CommonTips.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										326
									
								
								assets/resources/CommonTips.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,326 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "wjk0u6h3", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "CommonTips", | ||||||
|  |   "width": 1920, | ||||||
|  |   "height": 1080, | ||||||
|  |   "_mouseState": 2, | ||||||
|  |   "drawCallOptimize": true, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "top": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "b0dfcf08-5aef-4078-8149-1fbd00d8038f", | ||||||
|  |       "scriptPath": "../src/views/CommonTips.ts", | ||||||
|  |       "label_title": { | ||||||
|  |         "_$ref": "qawnoo6z" | ||||||
|  |       }, | ||||||
|  |       "label_content": { | ||||||
|  |         "_$ref": "jjabofyx" | ||||||
|  |       }, | ||||||
|  |       "btn_ok": { | ||||||
|  |         "_$ref": "ob8d2aj7" | ||||||
|  |       }, | ||||||
|  |       "btn_cancel": { | ||||||
|  |         "_$ref": "ikd12rw5" | ||||||
|  |       }, | ||||||
|  |       "toggle": { | ||||||
|  |         "_$ref": "g1zoj9qx" | ||||||
|  |       }, | ||||||
|  |       "check": { | ||||||
|  |         "_$ref": "cofalite" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "h6qqt6bd", | ||||||
|  |       "_$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": "r463so4u", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "center", | ||||||
|  |       "x": 540, | ||||||
|  |       "y": 330, | ||||||
|  |       "width": 840, | ||||||
|  |       "height": 420, | ||||||
|  |       "_mouseState": 2, | ||||||
|  |       "centerX": 0, | ||||||
|  |       "centerY": 0, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "wfz9ah0j", | ||||||
|  |           "_$type": "Sprite", | ||||||
|  |           "name": "Sprite", | ||||||
|  |           "width": 840, | ||||||
|  |           "height": 420, | ||||||
|  |           "_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": "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": 100, | ||||||
|  |           "width": 600, | ||||||
|  |           "height": 120, | ||||||
|  |           "top": 100, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "text": "Current game progress will be lost", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 36, | ||||||
|  |           "color": "rgba(45, 49, 56, 1)", | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "top", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "k3fjill3", | ||||||
|  |           "_$type": "HBox", | ||||||
|  |           "name": "HBox", | ||||||
|  |           "x": 60, | ||||||
|  |           "y": 220, | ||||||
|  |           "width": 720, | ||||||
|  |           "height": 96, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "space": 120, | ||||||
|  |           "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": 420, | ||||||
|  |               "width": 300, | ||||||
|  |               "height": 96, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "he6hpns9", | ||||||
|  |                   "_$type": "Sprite", | ||||||
|  |                   "name": "Sprite", | ||||||
|  |                   "width": 300, | ||||||
|  |                   "height": 96, | ||||||
|  |                   "alpha": 0.1, | ||||||
|  |                   "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": "qa4fm6cu", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "Label", | ||||||
|  |                   "width": 300, | ||||||
|  |                   "height": 96, | ||||||
|  |                   "centerX": 0, | ||||||
|  |                   "centerY": 0, | ||||||
|  |                   "text": "Cancel", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 36, | ||||||
|  |                   "color": "rgba(29, 92, 220, 1)", | ||||||
|  |                   "bold": true, | ||||||
|  |                   "align": "center", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "g1zoj9qx", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "toggle", | ||||||
|  |           "x": 226, | ||||||
|  |           "y": 339, | ||||||
|  |           "width": 64, | ||||||
|  |           "height": 64, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "74puwx15", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 64, | ||||||
|  |               "height": 64, | ||||||
|  |               "mouseThrough": true, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 10, | ||||||
|  |                   "rt": 10, | ||||||
|  |                   "lb": 10, | ||||||
|  |                   "rb": 10, | ||||||
|  |                   "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" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "jf00gv80", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "x": 78, | ||||||
|  |               "y": 2, | ||||||
|  |               "width": 400, | ||||||
|  |               "height": 64, | ||||||
|  |               "left": 78, | ||||||
|  |               "centerY": 2, | ||||||
|  |               "text": "Don't ask me agin", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 36, | ||||||
|  |               "color": "rgba(128, 144, 144, 1)", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/CommonTips.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/CommonTips.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "15ce6252-3b69-42de-bf9c-6a3b32e29164" | ||||||
|  | } | ||||||
| @@ -3,8 +3,8 @@ | |||||||
|   "_$id": "zala0uui", |   "_$id": "zala0uui", | ||||||
|   "_$type": "Box", |   "_$type": "Box", | ||||||
|   "name": "Difficulty", |   "name": "Difficulty", | ||||||
|   "width": 1080, |   "width": 1920, | ||||||
|   "height": 1920, |   "height": 1080, | ||||||
|   "_mouseState": 2, |   "_mouseState": 2, | ||||||
|   "left": 0, |   "left": 0, | ||||||
|   "right": 0, |   "right": 0, | ||||||
| @@ -24,8 +24,8 @@ | |||||||
|       "_$id": "4udntov4", |       "_$id": "4udntov4", | ||||||
|       "_$type": "Image", |       "_$type": "Image", | ||||||
|       "name": "mask", |       "name": "mask", | ||||||
|       "width": 1080, |       "width": 1920, | ||||||
|       "height": 1920, |       "height": 1080, | ||||||
|       "alpha": 0.4, |       "alpha": 0.4, | ||||||
|       "left": 0, |       "left": 0, | ||||||
|       "right": 0, |       "right": 0, | ||||||
| @@ -38,7 +38,8 @@ | |||||||
|       "_$id": "jzxgx41i", |       "_$id": "jzxgx41i", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "offset", |       "name": "offset", | ||||||
|       "y": 2400, |       "x": 420, | ||||||
|  |       "y": 1560, | ||||||
|       "width": 1080, |       "width": 1080, | ||||||
|       "height": 1215, |       "height": 1215, | ||||||
|       "_mouseState": 2, |       "_mouseState": 2, | ||||||
| @@ -78,6 +79,7 @@ | |||||||
|           "height": 180, |           "height": 180, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "text": "New Game", |           "text": "New Game", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 72, |           "fontSize": 72, | ||||||
|           "color": "rgba(45, 49, 56, 1)", |           "color": "rgba(45, 49, 56, 1)", | ||||||
|           "bold": true, |           "bold": true, | ||||||
| @@ -146,7 +148,7 @@ | |||||||
|               "_$comp": [ |               "_$comp": [ | ||||||
|                 { |                 { | ||||||
|                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", |                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", | ||||||
|                   "scriptPath": "../src/views/CommonData.ts", |                   "scriptPath": "../src/views/common/CommonData.ts", | ||||||
|                   "intValue": 0, |                   "intValue": 0, | ||||||
|                   "strValue": "" |                   "strValue": "" | ||||||
|                 } |                 } | ||||||
| @@ -185,6 +187,7 @@ | |||||||
|                   "centerX": -18, |                   "centerX": -18, | ||||||
|                   "centerY": 0, |                   "centerY": 0, | ||||||
|                   "text": "Easy", |                   "text": "Easy", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 54, |                   "fontSize": 54, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "bold": true, |                   "bold": true, | ||||||
| @@ -205,7 +208,7 @@ | |||||||
|               "_$comp": [ |               "_$comp": [ | ||||||
|                 { |                 { | ||||||
|                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", |                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", | ||||||
|                   "scriptPath": "../src/views/CommonData.ts", |                   "scriptPath": "../src/views/common/CommonData.ts", | ||||||
|                   "intValue": 0, |                   "intValue": 0, | ||||||
|                   "strValue": "" |                   "strValue": "" | ||||||
|                 } |                 } | ||||||
| @@ -244,6 +247,7 @@ | |||||||
|                   "centerX": -18, |                   "centerX": -18, | ||||||
|                   "centerY": 0, |                   "centerY": 0, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 54, |                   "fontSize": 54, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "bold": true, |                   "bold": true, | ||||||
| @@ -264,7 +268,7 @@ | |||||||
|               "_$comp": [ |               "_$comp": [ | ||||||
|                 { |                 { | ||||||
|                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", |                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", | ||||||
|                   "scriptPath": "../src/views/CommonData.ts", |                   "scriptPath": "../src/views/common/CommonData.ts", | ||||||
|                   "intValue": 0, |                   "intValue": 0, | ||||||
|                   "strValue": "" |                   "strValue": "" | ||||||
|                 } |                 } | ||||||
| @@ -303,6 +307,7 @@ | |||||||
|                   "centerX": -18, |                   "centerX": -18, | ||||||
|                   "centerY": 0, |                   "centerY": 0, | ||||||
|                   "text": "Hard", |                   "text": "Hard", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 54, |                   "fontSize": 54, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "bold": true, |                   "bold": true, | ||||||
| @@ -323,7 +328,7 @@ | |||||||
|               "_$comp": [ |               "_$comp": [ | ||||||
|                 { |                 { | ||||||
|                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", |                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", | ||||||
|                   "scriptPath": "../src/views/CommonData.ts", |                   "scriptPath": "../src/views/common/CommonData.ts", | ||||||
|                   "intValue": 0, |                   "intValue": 0, | ||||||
|                   "strValue": "" |                   "strValue": "" | ||||||
|                 } |                 } | ||||||
| @@ -362,6 +367,7 @@ | |||||||
|                   "centerX": -18, |                   "centerX": -18, | ||||||
|                   "centerY": 0, |                   "centerY": 0, | ||||||
|                   "text": "Expert", |                   "text": "Expert", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 54, |                   "fontSize": 54, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "bold": true, |                   "bold": true, | ||||||
| @@ -382,7 +388,7 @@ | |||||||
|               "_$comp": [ |               "_$comp": [ | ||||||
|                 { |                 { | ||||||
|                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", |                   "_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46", | ||||||
|                   "scriptPath": "../src/views/CommonData.ts", |                   "scriptPath": "../src/views/common/CommonData.ts", | ||||||
|                   "intValue": 0, |                   "intValue": 0, | ||||||
|                   "strValue": "" |                   "strValue": "" | ||||||
|                 } |                 } | ||||||
| @@ -421,6 +427,7 @@ | |||||||
|                   "centerX": -18, |                   "centerX": -18, | ||||||
|                   "centerY": 0, |                   "centerY": 0, | ||||||
|                   "text": "Extreme", |                   "text": "Extreme", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 54, |                   "fontSize": 54, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "bold": true, |                   "bold": true, | ||||||
|   | |||||||
| @@ -1,3 +1,3 @@ | |||||||
| { | { | ||||||
|   "uuid": "2cc92bb3-cd88-4188-8660-2bef0a53883f" |   "uuid": "c0e79324-cca6-4b1c-92fd-b0fb981a9766" | ||||||
| } | } | ||||||
| @@ -1,8 +1,8 @@ | |||||||
| { | { | ||||||
|   "_$ver": 1, |   "_$ver": 1, | ||||||
|   "_$id": "9yemrkim", |   "_$id": "zgb3r3bp", | ||||||
|   "_$type": "Box", |   "_$type": "Box", | ||||||
|   "name": "GameDone", |   "name": "GameDone_DC", | ||||||
|   "width": 1080, |   "width": 1080, | ||||||
|   "height": 1920, |   "height": 1920, | ||||||
|   "_mouseState": 2, |   "_mouseState": 2, | ||||||
| @@ -15,38 +15,29 @@ | |||||||
|     { |     { | ||||||
|       "_$type": "13e020d1-5ab8-4082-80ca-c0d208342103", |       "_$type": "13e020d1-5ab8-4082-80ca-c0d208342103", | ||||||
|       "scriptPath": "../src/views/GameDone.ts", |       "scriptPath": "../src/views/GameDone.ts", | ||||||
|       "obj_top": { |  | ||||||
|         "_$ref": "0nnrx7a2" |  | ||||||
|       }, |  | ||||||
|       "obj_stars": { |  | ||||||
|         "_$ref": "6pifil84" |  | ||||||
|       }, |  | ||||||
|       "obj_star": { |  | ||||||
|         "_$ref": "sxp0g4z9" |  | ||||||
|       }, |  | ||||||
|       "label_diffucuty": { |       "label_diffucuty": { | ||||||
|         "_$ref": "53v8r278" |         "_$ref": "sli8jsxk" | ||||||
|       }, |       }, | ||||||
|       "label_time": { |       "label_time": { | ||||||
|         "_$ref": "o3ljtnq3" |         "_$ref": "dow6r2on" | ||||||
|       }, |       }, | ||||||
|       "label_score": { |       "label_score": { | ||||||
|         "_$ref": "yd0d9s4h" |         "_$ref": "rby8odj3" | ||||||
|       }, |       }, | ||||||
|       "btn_new": { |       "btn_new": { | ||||||
|         "_$ref": "nad0pj6b" |         "_$ref": "cx166wex" | ||||||
|       }, |       }, | ||||||
|       "btn_home": { |       "btn_home": { | ||||||
|         "_$ref": "s80wwm91" |         "_$ref": "nx1uwslc" | ||||||
|       }, |       }, | ||||||
|       "btn_continue": { |       "btn_continue": { | ||||||
|         "_$ref": "jowyx0fm" |         "_$ref": "lcg77a5s" | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|   "_$child": [ |   "_$child": [ | ||||||
|     { |     { | ||||||
|       "_$id": "z7eqmeuo", |       "_$id": "ne7i0g6e", | ||||||
|       "_$type": "Image", |       "_$type": "Image", | ||||||
|       "name": "bg_done", |       "name": "bg_done", | ||||||
|       "width": 1080, |       "width": 1080, | ||||||
| @@ -56,11 +47,10 @@ | |||||||
|       "top": 0, |       "top": 0, | ||||||
|       "bottom": 0, |       "bottom": 0, | ||||||
|       "skin": "res://2b008659-862a-4155-b094-ee87ba692be1", |       "skin": "res://2b008659-862a-4155-b094-ee87ba692be1", | ||||||
|       "useSourceSize": true, |  | ||||||
|       "color": "#ffffff" |       "color": "#ffffff" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "_$id": "0nnrx7a2", |       "_$id": "9ijholxi", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "top", |       "name": "top", | ||||||
|       "x": 48, |       "x": 48, | ||||||
| @@ -70,7 +60,7 @@ | |||||||
|       "centerX": 0, |       "centerX": 0, | ||||||
|       "_$child": [ |       "_$child": [ | ||||||
|         { |         { | ||||||
|           "_$id": "v3amkm36", |           "_$id": "fmyff6zc", | ||||||
|           "_$type": "Image", |           "_$type": "Image", | ||||||
|           "name": "light", |           "name": "light", | ||||||
|           "x": -894, |           "x": -894, | ||||||
| @@ -85,7 +75,7 @@ | |||||||
|           "color": "#ffffff" |           "color": "#ffffff" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "mqwo6k43", |           "_$id": "rvuzq3il", | ||||||
|           "_$type": "Image", |           "_$type": "Image", | ||||||
|           "name": "bg", |           "name": "bg", | ||||||
|           "width": 984, |           "width": 984, | ||||||
| @@ -94,7 +84,7 @@ | |||||||
|           "color": "#ffffff", |           "color": "#ffffff", | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "qxb59msp", |               "_$id": "b1tcc49x", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "y": 180, |               "y": 180, | ||||||
| @@ -118,7 +108,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "9w23n5lc", |               "_$id": "fw45yyc2", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite(1)", |               "name": "Sprite(1)", | ||||||
|               "x": 44, |               "x": 44, | ||||||
| @@ -145,7 +135,7 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "6pifil84", |           "_$id": "9r1ij2bs", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "stars", |           "name": "stars", | ||||||
|           "y": -168, |           "y": -168, | ||||||
| @@ -155,7 +145,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "qqrwgq7s", |               "_$id": "fxmo764l", | ||||||
|               "_$type": "Image", |               "_$type": "Image", | ||||||
|               "name": "check(1)", |               "name": "check(1)", | ||||||
|               "x": 69, |               "x": 69, | ||||||
| @@ -167,7 +157,7 @@ | |||||||
|               "color": "#ffffff" |               "color": "#ffffff" | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "ztzpvc3d", |               "_$id": "c94zj9eo", | ||||||
|               "_$type": "Image", |               "_$type": "Image", | ||||||
|               "name": "check(2)", |               "name": "check(2)", | ||||||
|               "x": 339, |               "x": 339, | ||||||
| @@ -179,7 +169,7 @@ | |||||||
|               "color": "#ffffff" |               "color": "#ffffff" | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "go8t9h1s", |               "_$id": "lusyix89", | ||||||
|               "_$type": "Image", |               "_$type": "Image", | ||||||
|               "name": "check(3)", |               "name": "check(3)", | ||||||
|               "x": 696, |               "x": 696, | ||||||
| @@ -187,7 +177,6 @@ | |||||||
|               "width": 308, |               "width": 308, | ||||||
|               "height": 309, |               "height": 309, | ||||||
|               "rotation": 26, |               "rotation": 26, | ||||||
|               "gray": true, |  | ||||||
|               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", |               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", | ||||||
|               "useSourceSize": true, |               "useSourceSize": true, | ||||||
|               "color": "#ffffff" |               "color": "#ffffff" | ||||||
| @@ -195,7 +184,7 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "sxp0g4z9", |           "_$id": "kn1x3k7e", | ||||||
|           "_$type": "Image", |           "_$type": "Image", | ||||||
|           "name": "star", |           "name": "star", | ||||||
|           "x": 330, |           "x": 330, | ||||||
| @@ -209,7 +198,7 @@ | |||||||
|           "color": "#ffffff" |           "color": "#ffffff" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "t0v4lr20", |           "_$id": "khlzgsr5", | ||||||
|           "_$type": "Label", |           "_$type": "Label", | ||||||
|           "name": "Label", |           "name": "Label", | ||||||
|           "y": 226, |           "y": 226, | ||||||
| @@ -218,6 +207,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "centerY": -147, |           "centerY": -147, | ||||||
|           "text": "Congratulations!", |           "text": "Congratulations!", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 80, |           "fontSize": 80, | ||||||
|           "color": "rgba(0, 0, 0, 1)", |           "color": "rgba(0, 0, 0, 1)", | ||||||
|           "bold": true, |           "bold": true, | ||||||
| @@ -226,7 +216,7 @@ | |||||||
|           "padding": "0,0,0,0" |           "padding": "0,0,0,0" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "4ku2eb3q", |           "_$id": "n4jhcwy7", | ||||||
|           "_$type": "VBox", |           "_$type": "VBox", | ||||||
|           "name": "summary", |           "name": "summary", | ||||||
|           "x": 92, |           "x": 92, | ||||||
| @@ -237,32 +227,34 @@ | |||||||
|           "space": 0, |           "space": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "1a0e2qp5", |               "_$id": "5v1rewp1", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(1)", |               "name": "Box(1)", | ||||||
|               "width": 800, |               "width": 800, | ||||||
|               "height": 100, |               "height": 100, | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "sei6jyr4", |                   "_$id": "n0405r5h", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "left", |                   "name": "left", | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Difficulty ", |                   "text": "Difficulty ", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "valign": "middle", |                   "valign": "middle", | ||||||
|                   "padding": "0,0,0,0" |                   "padding": "0,0,0,0" | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "53v8r278", |                   "_$id": "sli8jsxk", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "right", |                   "name": "right", | ||||||
|                   "x": 400, |                   "x": 400, | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 48, |                   "fontSize": 48, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "right", |                   "align": "right", | ||||||
| @@ -272,7 +264,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "vryuxz1k", |               "_$id": "hl0nuqjf", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(2)", |               "name": "Box(2)", | ||||||
|               "y": 100, |               "y": 100, | ||||||
| @@ -280,25 +272,27 @@ | |||||||
|               "height": 100, |               "height": 100, | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "tazeyyxv", |                   "_$id": "3uexs4fv", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "left", |                   "name": "left", | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Time", |                   "text": "Time", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "valign": "middle", |                   "valign": "middle", | ||||||
|                   "padding": "0,0,0,0" |                   "padding": "0,0,0,0" | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "o3ljtnq3", |                   "_$id": "dow6r2on", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "right", |                   "name": "right", | ||||||
|                   "x": 400, |                   "x": 400, | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 48, |                   "fontSize": 48, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "right", |                   "align": "right", | ||||||
| @@ -308,7 +302,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "8qj8gt9o", |               "_$id": "gah5zxck", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(3)", |               "name": "Box(3)", | ||||||
|               "y": 200, |               "y": 200, | ||||||
| @@ -316,25 +310,27 @@ | |||||||
|               "height": 100, |               "height": 100, | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "8ue5sakn", |                   "_$id": "pcgpep0a", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "left", |                   "name": "left", | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Score", |                   "text": "Score", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "valign": "middle", |                   "valign": "middle", | ||||||
|                   "padding": "0,0,0,0" |                   "padding": "0,0,0,0" | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "yd0d9s4h", |                   "_$id": "rby8odj3", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "right", |                   "name": "right", | ||||||
|                   "x": 400, |                   "x": 400, | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 48, |                   "fontSize": 48, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "right", |                   "align": "right", | ||||||
| @@ -348,7 +344,7 @@ | |||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "_$id": "2tsqczlh", |       "_$id": "sgdupfi6", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "bottom", |       "name": "bottom", | ||||||
|       "y": 1408, |       "y": 1408, | ||||||
| @@ -359,7 +355,7 @@ | |||||||
|       "bottom": 20, |       "bottom": 20, | ||||||
|       "_$child": [ |       "_$child": [ | ||||||
|         { |         { | ||||||
|           "_$id": "nad0pj6b", |           "_$id": "cx166wex", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_new", |           "name": "btn_new", | ||||||
|           "x": 144, |           "x": 144, | ||||||
| @@ -370,7 +366,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "rryy0h1z", |               "_$id": "ptmwi7hz", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -393,7 +389,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "t0l9qw7l", |               "_$id": "i3nbedy8", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -401,6 +397,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "New Game", |               "text": "New Game", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(255, 255, 255, 1)", |               "color": "rgba(255, 255, 255, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -411,7 +408,7 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "s80wwm91", |           "_$id": "nx1uwslc", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_home", |           "name": "btn_home", | ||||||
|           "x": 144, |           "x": 144, | ||||||
| @@ -422,7 +419,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "xmj0kb6f", |               "_$id": "3w8f77oi", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -446,7 +443,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "d003qixi", |               "_$id": "fa1b8iws", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -454,6 +451,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Home", |               "text": "Home", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -464,7 +462,7 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "jowyx0fm", |           "_$id": "lcg77a5s", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_continue", |           "name": "btn_continue", | ||||||
|           "x": 144, |           "x": 144, | ||||||
| @@ -474,7 +472,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "0oc03day", |               "_$id": "y3odek2w", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -497,7 +495,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "cwysgq4l", |               "_$id": "9pg31c52", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -505,6 +503,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Continue", |               "text": "Continue", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(255, 255, 255, 1)", |               "color": "rgba(255, 255, 255, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
							
								
								
									
										3
									
								
								assets/resources/GameDone_DC.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/GameDone_DC.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "18363839-8852-491c-b2d9-c5d38f30e1b3" | ||||||
|  | } | ||||||
							
								
								
									
										528
									
								
								assets/resources/GameDone_DC_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										528
									
								
								assets/resources/GameDone_DC_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,528 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "fxmpuoug", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "GameDone_DC_H", | ||||||
|  |   "width": 1920, | ||||||
|  |   "height": 1080, | ||||||
|  |   "_mouseState": 2, | ||||||
|  |   "drawCallOptimize": true, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "top": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "13e020d1-5ab8-4082-80ca-c0d208342103", | ||||||
|  |       "scriptPath": "../src/views/GameDone.ts", | ||||||
|  |       "label_diffucuty": { | ||||||
|  |         "_$ref": "t56jxo0a" | ||||||
|  |       }, | ||||||
|  |       "label_time": { | ||||||
|  |         "_$ref": "v0a6pgjh" | ||||||
|  |       }, | ||||||
|  |       "label_score": { | ||||||
|  |         "_$ref": "sjgiel5s" | ||||||
|  |       }, | ||||||
|  |       "btn_new": { | ||||||
|  |         "_$ref": "pezhhu4s" | ||||||
|  |       }, | ||||||
|  |       "btn_home": { | ||||||
|  |         "_$ref": "b4zctay8" | ||||||
|  |       }, | ||||||
|  |       "btn_continue": { | ||||||
|  |         "_$ref": "txe3oxe8" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "qsfvdnby", | ||||||
|  |       "_$type": "Image", | ||||||
|  |       "name": "bg_done", | ||||||
|  |       "width": 1920, | ||||||
|  |       "height": 1080, | ||||||
|  |       "left": 0, | ||||||
|  |       "right": 0, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "skin": "res://2b008659-862a-4155-b094-ee87ba692be1", | ||||||
|  |       "color": "#ffffff" | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "5u982vt1", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "left", | ||||||
|  |       "x": 144, | ||||||
|  |       "y": 130, | ||||||
|  |       "width": 948, | ||||||
|  |       "height": 786, | ||||||
|  |       "left": 144, | ||||||
|  |       "top": 130, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "21h6okrs", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "light", | ||||||
|  |           "x": -912, | ||||||
|  |           "y": -1243, | ||||||
|  |           "width": 924, | ||||||
|  |           "height": 924, | ||||||
|  |           "scaleX": 3, | ||||||
|  |           "scaleY": 3, | ||||||
|  |           "alpha": 0.2, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "qckc4n2a", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "bg", | ||||||
|  |           "y": 152, | ||||||
|  |           "width": 948, | ||||||
|  |           "height": 135, | ||||||
|  |           "top": 152, | ||||||
|  |           "skin": "res://14316514-e8bf-4d32-bf9c-ba375ea24798", | ||||||
|  |           "color": "#ffffff", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "oq7zp44e", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "y": 135, | ||||||
|  |               "width": 948, | ||||||
|  |               "height": 498, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 0, | ||||||
|  |                   "rt": 0, | ||||||
|  |                   "lb": 30, | ||||||
|  |                   "rb": 30, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "#FFFFFF" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "mspovqw2", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite(1)", | ||||||
|  |               "x": 44, | ||||||
|  |               "y": 298, | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 280, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 0, | ||||||
|  |                   "rt": 0, | ||||||
|  |                   "lb": 30, | ||||||
|  |                   "rb": 30, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "rgba(245, 247, 251, 1)" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "3u4pa40h", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "stars", | ||||||
|  |           "y": 28, | ||||||
|  |           "width": 948, | ||||||
|  |           "height": 300, | ||||||
|  |           "visible": false, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "drl27n5v", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "check(1)", | ||||||
|  |               "x": 190, | ||||||
|  |               "y": 33, | ||||||
|  |               "width": 190, | ||||||
|  |               "height": 190, | ||||||
|  |               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "92i5b9b6", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "check(2)", | ||||||
|  |               "x": 361, | ||||||
|  |               "width": 226, | ||||||
|  |               "height": 226, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "qq8zxqnu", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "check(3)", | ||||||
|  |               "x": 630, | ||||||
|  |               "y": -8, | ||||||
|  |               "width": 190, | ||||||
|  |               "height": 190, | ||||||
|  |               "rotation": 28, | ||||||
|  |               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "r3vdvcfa", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "star", | ||||||
|  |           "x": 354, | ||||||
|  |           "y": 20, | ||||||
|  |           "width": 80, | ||||||
|  |           "height": 80, | ||||||
|  |           "scaleX": 3, | ||||||
|  |           "scaleY": 3, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "a71gwu9f", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "Label", | ||||||
|  |           "y": 288, | ||||||
|  |           "width": 948, | ||||||
|  |           "height": 150, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "centerY": -30, | ||||||
|  |           "text": "Congratulations!", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 64, | ||||||
|  |           "color": "rgba(45, 49, 56, 1)", | ||||||
|  |           "bold": true, | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "b4jktp33", | ||||||
|  |           "_$type": "VBox", | ||||||
|  |           "name": "summary", | ||||||
|  |           "x": 36, | ||||||
|  |           "y": 475, | ||||||
|  |           "width": 876, | ||||||
|  |           "height": 280, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "space": 0, | ||||||
|  |           "align": "center", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "u71p7b61", | ||||||
|  |               "_$type": "Box", | ||||||
|  |               "name": "Box(1)", | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 80, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "nfqfex9l", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "left", | ||||||
|  |                   "x": 54, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "text": "Difficulty ", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 30, | ||||||
|  |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$id": "t56jxo0a", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "right", | ||||||
|  |                   "x": 422, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "right": 54, | ||||||
|  |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 36, | ||||||
|  |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|  |                   "bold": true, | ||||||
|  |                   "align": "right", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "smnoyskq", | ||||||
|  |               "_$type": "Box", | ||||||
|  |               "name": "Box(2)", | ||||||
|  |               "y": 80, | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 80, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "utszg27d", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "left", | ||||||
|  |                   "x": 54, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "text": "Time", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 30, | ||||||
|  |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$id": "v0a6pgjh", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "right", | ||||||
|  |                   "x": 422, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "right": 54, | ||||||
|  |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 36, | ||||||
|  |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|  |                   "bold": true, | ||||||
|  |                   "align": "right", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "yfk8zxhb", | ||||||
|  |               "_$type": "Box", | ||||||
|  |               "name": "Box(3)", | ||||||
|  |               "y": 160, | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 80, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "nwe3p9mt", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "left", | ||||||
|  |                   "x": 54, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "text": "Score", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 30, | ||||||
|  |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$id": "sjgiel5s", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "right", | ||||||
|  |                   "x": 422, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "right": 54, | ||||||
|  |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 36, | ||||||
|  |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|  |                   "bold": true, | ||||||
|  |                   "align": "right", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "4zdn7245", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "bottom", | ||||||
|  |       "x": 1236, | ||||||
|  |       "width": 540, | ||||||
|  |       "height": 1080, | ||||||
|  |       "right": 144, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "pezhhu4s", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_new", | ||||||
|  |           "y": 366, | ||||||
|  |           "width": 540, | ||||||
|  |           "height": 156, | ||||||
|  |           "visible": false, | ||||||
|  |           "top": 366, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "z6im7ids", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 36, | ||||||
|  |                   "rt": 36, | ||||||
|  |                   "lb": 36, | ||||||
|  |                   "rb": 36, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "rgba(29, 92, 220, 1)" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "ikcrof2c", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "New Game", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 60, | ||||||
|  |               "color": "rgba(255, 255, 255, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "b4zctay8", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_home", | ||||||
|  |           "y": 558, | ||||||
|  |           "width": 540, | ||||||
|  |           "height": 156, | ||||||
|  |           "top": 558, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "sn58intc", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "alpha": 0.1, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 36, | ||||||
|  |                   "rt": 36, | ||||||
|  |                   "lb": 36, | ||||||
|  |                   "rb": 36, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "rgba(29, 92, 220, 1)" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "sfasmed5", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "Home", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 60, | ||||||
|  |               "color": "rgba(29, 92, 220, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "txe3oxe8", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_continue", | ||||||
|  |           "y": 366, | ||||||
|  |           "width": 540, | ||||||
|  |           "height": 156, | ||||||
|  |           "top": 366, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "usa1t482", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 36, | ||||||
|  |                   "rt": 36, | ||||||
|  |                   "lb": 36, | ||||||
|  |                   "rb": 36, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "rgba(29, 92, 220, 1)" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "x8cbcheh", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "Continue", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 60, | ||||||
|  |               "color": "rgba(255, 255, 255, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/GameDone_DC_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/GameDone_DC_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "50026521-d7d6-4a86-b282-21e9ee3b2a04" | ||||||
|  | } | ||||||
| @@ -1,3 +0,0 @@ | |||||||
| { |  | ||||||
|   "uuid": "133cf653-e407-4ea3-a301-6e4c32fa2653" |  | ||||||
| } |  | ||||||
| @@ -1,8 +1,8 @@ | |||||||
| { | { | ||||||
|   "_$ver": 1, |   "_$ver": 1, | ||||||
|   "_$id": "d046cyp3", |   "_$id": "tb0rwhxa", | ||||||
|   "_$type": "Box", |   "_$type": "Box", | ||||||
|   "name": "GameDone_H", |   "name": "GameDone_Normal", | ||||||
|   "width": 1920, |   "width": 1920, | ||||||
|   "height": 1080, |   "height": 1080, | ||||||
|   "_mouseState": 2, |   "_mouseState": 2, | ||||||
| @@ -15,38 +15,29 @@ | |||||||
|     { |     { | ||||||
|       "_$type": "13e020d1-5ab8-4082-80ca-c0d208342103", |       "_$type": "13e020d1-5ab8-4082-80ca-c0d208342103", | ||||||
|       "scriptPath": "../src/views/GameDone.ts", |       "scriptPath": "../src/views/GameDone.ts", | ||||||
|       "obj_top": { |  | ||||||
|         "_$ref": "n1aeh5hl" |  | ||||||
|       }, |  | ||||||
|       "obj_stars": { |  | ||||||
|         "_$ref": "td7ts6dl" |  | ||||||
|       }, |  | ||||||
|       "obj_star": { |  | ||||||
|         "_$ref": "jyqtn07j" |  | ||||||
|       }, |  | ||||||
|       "label_diffucuty": { |       "label_diffucuty": { | ||||||
|         "_$ref": "0pj64d40" |         "_$ref": "0ixembkp" | ||||||
|       }, |       }, | ||||||
|       "label_time": { |       "label_time": { | ||||||
|         "_$ref": "704gyeyq" |         "_$ref": "1272i5dx" | ||||||
|       }, |       }, | ||||||
|       "label_score": { |       "label_score": { | ||||||
|         "_$ref": "n75ha0o6" |         "_$ref": "m862gukv" | ||||||
|       }, |       }, | ||||||
|       "btn_new": { |       "btn_new": { | ||||||
|         "_$ref": "bqe5ubud" |         "_$ref": "mc0nkzbc" | ||||||
|       }, |       }, | ||||||
|       "btn_home": { |       "btn_home": { | ||||||
|         "_$ref": "4udm9qfw" |         "_$ref": "hi94xa9c" | ||||||
|       }, |       }, | ||||||
|       "btn_continue": { |       "btn_continue": { | ||||||
|         "_$ref": "e9lboae1" |         "_$ref": "sjhqb7th" | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|   "_$child": [ |   "_$child": [ | ||||||
|     { |     { | ||||||
|       "_$id": "ye1epf1c", |       "_$id": "wq9kruly", | ||||||
|       "_$type": "Image", |       "_$type": "Image", | ||||||
|       "name": "bg_done", |       "name": "bg_done", | ||||||
|       "width": 1920, |       "width": 1920, | ||||||
| @@ -59,30 +50,32 @@ | |||||||
|       "color": "#ffffff" |       "color": "#ffffff" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "_$id": "n1aeh5hl", |       "_$id": "bpp1ufzt", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "top", |       "name": "top", | ||||||
|       "x": 100, |       "x": 468, | ||||||
|       "y": 200, |       "y": 356, | ||||||
|       "width": 984, |       "width": 984, | ||||||
|       "height": 846, |       "height": 846, | ||||||
|       "left": 100, |       "centerX": 0, | ||||||
|       "centerY": 83, |  | ||||||
|       "_$child": [ |       "_$child": [ | ||||||
|         { |         { | ||||||
|           "_$id": "mspjp4xh", |           "_$id": "qikt5s3n", | ||||||
|           "_$type": "Image", |           "_$type": "Image", | ||||||
|           "name": "light", |           "name": "light", | ||||||
|           "x": -48, |           "x": -894, | ||||||
|           "y": -680, |           "y": -1308, | ||||||
|           "width": 1080, |           "width": 924, | ||||||
|           "height": 1080, |           "height": 924, | ||||||
|  |           "scaleX": 3, | ||||||
|  |           "scaleY": 3, | ||||||
|  |           "alpha": 0.2, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a", |           "skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a", | ||||||
|           "color": "#ffffff" |           "color": "#ffffff" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "ymdidw9g", |           "_$id": "zy8kt255", | ||||||
|           "_$type": "Image", |           "_$type": "Image", | ||||||
|           "name": "bg", |           "name": "bg", | ||||||
|           "width": 984, |           "width": 984, | ||||||
| @@ -91,7 +84,7 @@ | |||||||
|           "color": "#ffffff", |           "color": "#ffffff", | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "dtt03zk0", |               "_$id": "7e6httdt", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "y": 180, |               "y": 180, | ||||||
| @@ -115,7 +108,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "4uil2sv7", |               "_$id": "lehn4i5n", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite(1)", |               "name": "Sprite(1)", | ||||||
|               "x": 44, |               "x": 44, | ||||||
| @@ -142,17 +135,16 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "td7ts6dl", |           "_$id": "h17oqjco", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "stars", |           "name": "stars", | ||||||
|           "y": -168, |           "y": -168, | ||||||
|           "width": 984, |           "width": 984, | ||||||
|           "height": 300, |           "height": 300, | ||||||
|           "visible": false, |  | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "u2pvpslb", |               "_$id": "1pojk26f", | ||||||
|               "_$type": "Image", |               "_$type": "Image", | ||||||
|               "name": "check(1)", |               "name": "check(1)", | ||||||
|               "x": 69, |               "x": 69, | ||||||
| @@ -164,7 +156,7 @@ | |||||||
|               "color": "#ffffff" |               "color": "#ffffff" | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "5ufqn1lo", |               "_$id": "77vbik9p", | ||||||
|               "_$type": "Image", |               "_$type": "Image", | ||||||
|               "name": "check(2)", |               "name": "check(2)", | ||||||
|               "x": 339, |               "x": 339, | ||||||
| @@ -176,7 +168,7 @@ | |||||||
|               "color": "#ffffff" |               "color": "#ffffff" | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "cw48ra6d", |               "_$id": "e2e1gtl4", | ||||||
|               "_$type": "Image", |               "_$type": "Image", | ||||||
|               "name": "check(3)", |               "name": "check(3)", | ||||||
|               "x": 696, |               "x": 696, | ||||||
| @@ -184,7 +176,6 @@ | |||||||
|               "width": 308, |               "width": 308, | ||||||
|               "height": 309, |               "height": 309, | ||||||
|               "rotation": 26, |               "rotation": 26, | ||||||
|               "gray": true, |  | ||||||
|               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", |               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", | ||||||
|               "useSourceSize": true, |               "useSourceSize": true, | ||||||
|               "color": "#ffffff" |               "color": "#ffffff" | ||||||
| @@ -192,7 +183,7 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "jyqtn07j", |           "_$id": "70qa0no4", | ||||||
|           "_$type": "Image", |           "_$type": "Image", | ||||||
|           "name": "star", |           "name": "star", | ||||||
|           "x": 330, |           "x": 330, | ||||||
| @@ -201,12 +192,13 @@ | |||||||
|           "height": 108, |           "height": 108, | ||||||
|           "scaleX": 3, |           "scaleX": 3, | ||||||
|           "scaleY": 3, |           "scaleY": 3, | ||||||
|  |           "visible": false, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", |           "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", | ||||||
|           "color": "#ffffff" |           "color": "#ffffff" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "m4gct3kb", |           "_$id": "pqzfo8sl", | ||||||
|           "_$type": "Label", |           "_$type": "Label", | ||||||
|           "name": "Label", |           "name": "Label", | ||||||
|           "y": 226, |           "y": 226, | ||||||
| @@ -215,6 +207,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "centerY": -147, |           "centerY": -147, | ||||||
|           "text": "Congratulations!", |           "text": "Congratulations!", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 80, |           "fontSize": 80, | ||||||
|           "color": "rgba(0, 0, 0, 1)", |           "color": "rgba(0, 0, 0, 1)", | ||||||
|           "bold": true, |           "bold": true, | ||||||
| @@ -223,7 +216,7 @@ | |||||||
|           "padding": "0,0,0,0" |           "padding": "0,0,0,0" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "kyeppf37", |           "_$id": "rl3kcm3v", | ||||||
|           "_$type": "VBox", |           "_$type": "VBox", | ||||||
|           "name": "summary", |           "name": "summary", | ||||||
|           "x": 92, |           "x": 92, | ||||||
| @@ -234,32 +227,34 @@ | |||||||
|           "space": 0, |           "space": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "66dlfmo8", |               "_$id": "iiwdr15i", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(1)", |               "name": "Box(1)", | ||||||
|               "width": 800, |               "width": 800, | ||||||
|               "height": 100, |               "height": 100, | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "0oiwsh8k", |                   "_$id": "wnlb4xhm", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "left", |                   "name": "left", | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Difficuty", |                   "text": "Difficulty ", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "valign": "middle", |                   "valign": "middle", | ||||||
|                   "padding": "0,0,0,0" |                   "padding": "0,0,0,0" | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "0pj64d40", |                   "_$id": "0ixembkp", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "right", |                   "name": "right", | ||||||
|                   "x": 400, |                   "x": 400, | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 48, |                   "fontSize": 48, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "right", |                   "align": "right", | ||||||
| @@ -269,7 +264,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "l6abbx3m", |               "_$id": "lm5rwror", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(2)", |               "name": "Box(2)", | ||||||
|               "y": 100, |               "y": 100, | ||||||
| @@ -277,25 +272,27 @@ | |||||||
|               "height": 100, |               "height": 100, | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "ro371bbq", |                   "_$id": "a68e1efb", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "left", |                   "name": "left", | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Time", |                   "text": "Time", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "valign": "middle", |                   "valign": "middle", | ||||||
|                   "padding": "0,0,0,0" |                   "padding": "0,0,0,0" | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "704gyeyq", |                   "_$id": "1272i5dx", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "right", |                   "name": "right", | ||||||
|                   "x": 400, |                   "x": 400, | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 48, |                   "fontSize": 48, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "right", |                   "align": "right", | ||||||
| @@ -305,7 +302,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "l0rcu5zo", |               "_$id": "icyo8m9c", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(3)", |               "name": "Box(3)", | ||||||
|               "y": 200, |               "y": 200, | ||||||
| @@ -313,25 +310,27 @@ | |||||||
|               "height": 100, |               "height": 100, | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "c87ees02", |                   "_$id": "y9lst94l", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "left", |                   "name": "left", | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Score", |                   "text": "Score", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "valign": "middle", |                   "valign": "middle", | ||||||
|                   "padding": "0,0,0,0" |                   "padding": "0,0,0,0" | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "n75ha0o6", |                   "_$id": "m862gukv", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "right", |                   "name": "right", | ||||||
|                   "x": 400, |                   "x": 400, | ||||||
|                   "width": 400, |                   "width": 400, | ||||||
|                   "height": 100, |                   "height": 100, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 48, |                   "fontSize": 48, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "right", |                   "align": "right", | ||||||
| @@ -345,7 +344,7 @@ | |||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "_$id": "up490p42", |       "_$id": "358kjl5m", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "bottom", |       "name": "bottom", | ||||||
|       "y": 568, |       "y": 568, | ||||||
| @@ -356,18 +355,17 @@ | |||||||
|       "bottom": 20, |       "bottom": 20, | ||||||
|       "_$child": [ |       "_$child": [ | ||||||
|         { |         { | ||||||
|           "_$id": "bqe5ubud", |           "_$id": "mc0nkzbc", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_new", |           "name": "btn_new", | ||||||
|           "x": 564, |           "x": 564, | ||||||
|           "y": 80, |           "y": 80, | ||||||
|           "width": 792, |           "width": 792, | ||||||
|           "height": 156, |           "height": 156, | ||||||
|           "visible": false, |  | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "ve80sg6x", |               "_$id": "i7ycdrdh", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -390,7 +388,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "3vi0pds4", |               "_$id": "3l44gfhf", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -398,6 +396,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "New Game", |               "text": "New Game", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(255, 255, 255, 1)", |               "color": "rgba(255, 255, 255, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -408,18 +407,17 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "4udm9qfw", |           "_$id": "hi94xa9c", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_home", |           "name": "btn_home", | ||||||
|           "x": 564, |           "x": 564, | ||||||
|           "y": 264, |           "y": 264, | ||||||
|           "width": 792, |           "width": 792, | ||||||
|           "height": 156, |           "height": 156, | ||||||
|           "visible": false, |  | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "dhpbt4ky", |               "_$id": "v7f0dd77", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -443,7 +441,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "33e9tzad", |               "_$id": "7yl1g4st", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -451,6 +449,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Home", |               "text": "Home", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -461,17 +460,18 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "e9lboae1", |           "_$id": "sjhqb7th", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_continue", |           "name": "btn_continue", | ||||||
|           "x": 564, |           "x": 564, | ||||||
|           "y": 264, |           "y": 264, | ||||||
|           "width": 792, |           "width": 792, | ||||||
|           "height": 156, |           "height": 156, | ||||||
|  |           "visible": false, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "wepde6tb", |               "_$id": "pmpygkuu", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -494,7 +494,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "faczj8th", |               "_$id": "mokkhys7", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 792, |               "width": 792, | ||||||
| @@ -502,6 +502,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Continue", |               "text": "Continue", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(255, 255, 255, 1)", |               "color": "rgba(255, 255, 255, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
							
								
								
									
										3
									
								
								assets/resources/GameDone_Normal.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/GameDone_Normal.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "f3dd4b0b-9a46-4861-a565-8713b6c1c6be" | ||||||
|  | } | ||||||
							
								
								
									
										527
									
								
								assets/resources/GameDone_Normal_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										527
									
								
								assets/resources/GameDone_Normal_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,527 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "mydj8ynl", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "GameDone_Normal_H", | ||||||
|  |   "width": 1920, | ||||||
|  |   "height": 1080, | ||||||
|  |   "_mouseState": 2, | ||||||
|  |   "drawCallOptimize": true, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "top": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "13e020d1-5ab8-4082-80ca-c0d208342103", | ||||||
|  |       "scriptPath": "../src/views/GameDone.ts", | ||||||
|  |       "label_diffucuty": { | ||||||
|  |         "_$ref": "291hwgvn" | ||||||
|  |       }, | ||||||
|  |       "label_time": { | ||||||
|  |         "_$ref": "656grx7b" | ||||||
|  |       }, | ||||||
|  |       "label_score": { | ||||||
|  |         "_$ref": "6upkkpwf" | ||||||
|  |       }, | ||||||
|  |       "btn_new": { | ||||||
|  |         "_$ref": "hgpxx02g" | ||||||
|  |       }, | ||||||
|  |       "btn_home": { | ||||||
|  |         "_$ref": "it1c7c3x" | ||||||
|  |       }, | ||||||
|  |       "btn_continue": { | ||||||
|  |         "_$ref": "wnp5was8" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "cofbpy83", | ||||||
|  |       "_$type": "Image", | ||||||
|  |       "name": "bg_done", | ||||||
|  |       "width": 1920, | ||||||
|  |       "height": 1080, | ||||||
|  |       "left": 0, | ||||||
|  |       "right": 0, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "skin": "res://2b008659-862a-4155-b094-ee87ba692be1", | ||||||
|  |       "color": "#ffffff" | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "80l6yqgl", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "left", | ||||||
|  |       "x": 144, | ||||||
|  |       "y": 130, | ||||||
|  |       "width": 948, | ||||||
|  |       "height": 786, | ||||||
|  |       "left": 144, | ||||||
|  |       "top": 130, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "3t9mq776", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "light", | ||||||
|  |           "x": -912, | ||||||
|  |           "y": -1243, | ||||||
|  |           "width": 924, | ||||||
|  |           "height": 924, | ||||||
|  |           "scaleX": 3, | ||||||
|  |           "scaleY": 3, | ||||||
|  |           "alpha": 0.2, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "bj4g8sfa", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "bg", | ||||||
|  |           "y": 152, | ||||||
|  |           "width": 948, | ||||||
|  |           "height": 135, | ||||||
|  |           "top": 152, | ||||||
|  |           "skin": "res://14316514-e8bf-4d32-bf9c-ba375ea24798", | ||||||
|  |           "color": "#ffffff", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "icjk9zm3", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "y": 135, | ||||||
|  |               "width": 948, | ||||||
|  |               "height": 498, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 0, | ||||||
|  |                   "rt": 0, | ||||||
|  |                   "lb": 30, | ||||||
|  |                   "rb": 30, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "#FFFFFF" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "nsr1mvtb", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite(1)", | ||||||
|  |               "x": 44, | ||||||
|  |               "y": 298, | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 280, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 0, | ||||||
|  |                   "rt": 0, | ||||||
|  |                   "lb": 30, | ||||||
|  |                   "rb": 30, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "rgba(245, 247, 251, 1)" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "yt8pnsra", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "stars", | ||||||
|  |           "y": 28, | ||||||
|  |           "width": 948, | ||||||
|  |           "height": 300, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "dy7essc0", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "check(1)", | ||||||
|  |               "x": 190, | ||||||
|  |               "y": 33, | ||||||
|  |               "width": 190, | ||||||
|  |               "height": 190, | ||||||
|  |               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "zyknbizk", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "check(2)", | ||||||
|  |               "x": 361, | ||||||
|  |               "width": 226, | ||||||
|  |               "height": 226, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "51j0ljjv", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "check(3)", | ||||||
|  |               "x": 630, | ||||||
|  |               "y": -8, | ||||||
|  |               "width": 190, | ||||||
|  |               "height": 190, | ||||||
|  |               "rotation": 28, | ||||||
|  |               "skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "0g7sbrhd", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "star", | ||||||
|  |           "x": 312, | ||||||
|  |           "y": -160, | ||||||
|  |           "width": 108, | ||||||
|  |           "height": 108, | ||||||
|  |           "scaleX": 3, | ||||||
|  |           "scaleY": 3, | ||||||
|  |           "visible": false, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "t4lo6wcj", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "Label", | ||||||
|  |           "y": 288, | ||||||
|  |           "width": 948, | ||||||
|  |           "height": 150, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "centerY": -30, | ||||||
|  |           "text": "Congratulations!", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 64, | ||||||
|  |           "color": "rgba(45, 49, 56, 1)", | ||||||
|  |           "bold": true, | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "nv7eszk1", | ||||||
|  |           "_$type": "VBox", | ||||||
|  |           "name": "summary", | ||||||
|  |           "x": 36, | ||||||
|  |           "y": 475, | ||||||
|  |           "width": 876, | ||||||
|  |           "height": 280, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "space": 0, | ||||||
|  |           "align": "center", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "7oa0nz8y", | ||||||
|  |               "_$type": "Box", | ||||||
|  |               "name": "Box(1)", | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 80, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "phpj9rno", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "left", | ||||||
|  |                   "x": 54, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "text": "Difficulty ", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 30, | ||||||
|  |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$id": "291hwgvn", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "right", | ||||||
|  |                   "x": 422, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "right": 54, | ||||||
|  |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 36, | ||||||
|  |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|  |                   "bold": true, | ||||||
|  |                   "align": "right", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "e6aitv6a", | ||||||
|  |               "_$type": "Box", | ||||||
|  |               "name": "Box(2)", | ||||||
|  |               "y": 80, | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 80, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "xmjk7stg", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "left", | ||||||
|  |                   "x": 54, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "text": "Difficulty ", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 30, | ||||||
|  |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$id": "656grx7b", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "right", | ||||||
|  |                   "x": 422, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "right": 54, | ||||||
|  |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 36, | ||||||
|  |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|  |                   "bold": true, | ||||||
|  |                   "align": "right", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "iwttmqpl", | ||||||
|  |               "_$type": "Box", | ||||||
|  |               "name": "Box(3)", | ||||||
|  |               "y": 160, | ||||||
|  |               "width": 876, | ||||||
|  |               "height": 80, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "zy5w77m2", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "left", | ||||||
|  |                   "x": 54, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "text": "Difficulty ", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 30, | ||||||
|  |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$id": "6upkkpwf", | ||||||
|  |                   "_$type": "Label", | ||||||
|  |                   "name": "right", | ||||||
|  |                   "x": 422, | ||||||
|  |                   "width": 400, | ||||||
|  |                   "height": 80, | ||||||
|  |                   "right": 54, | ||||||
|  |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |                   "fontSize": 36, | ||||||
|  |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|  |                   "bold": true, | ||||||
|  |                   "align": "right", | ||||||
|  |                   "valign": "middle", | ||||||
|  |                   "padding": "0,0,0,0" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "a83hr2ln", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "bottom", | ||||||
|  |       "x": 1236, | ||||||
|  |       "width": 540, | ||||||
|  |       "height": 1080, | ||||||
|  |       "right": 144, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "hgpxx02g", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_new", | ||||||
|  |           "y": 366, | ||||||
|  |           "width": 540, | ||||||
|  |           "height": 156, | ||||||
|  |           "top": 366, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "n7fabj30", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "_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": "ju3t57bd", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "New Game", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 60, | ||||||
|  |               "color": "rgba(255, 255, 255, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "it1c7c3x", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_home", | ||||||
|  |           "y": 558, | ||||||
|  |           "width": 540, | ||||||
|  |           "height": 156, | ||||||
|  |           "top": 558, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "s93f5gz9", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "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": "rgqm7pit", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "Home", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 60, | ||||||
|  |               "color": "rgba(29, 92, 220, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "wnp5was8", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_continue", | ||||||
|  |           "y": 264, | ||||||
|  |           "width": 540, | ||||||
|  |           "height": 156, | ||||||
|  |           "visible": false, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "fftedkj5", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "_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": "je1bffa3", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "width": 540, | ||||||
|  |               "height": 156, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "Continue", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 60, | ||||||
|  |               "color": "rgba(255, 255, 255, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/GameDone_Normal_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/GameDone_Normal_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "96cc1c81-4971-407b-9911-f89670bf1598" | ||||||
|  | } | ||||||
| @@ -105,8 +105,8 @@ | |||||||
|                   "_$id": "23po992p", |                   "_$id": "23po992p", | ||||||
|                   "_$type": "Sprite", |                   "_$type": "Sprite", | ||||||
|                   "name": "Sprite", |                   "name": "Sprite", | ||||||
|                   "x": 104, |                   "x": 80, | ||||||
|                   "y": 51, |                   "y": 49, | ||||||
|                   "width": 60, |                   "width": 60, | ||||||
|                   "height": 54, |                   "height": 54, | ||||||
|                   "_gcmds": [ |                   "_gcmds": [ | ||||||
| @@ -228,6 +228,7 @@ | |||||||
|               "width": 744, |               "width": 744, | ||||||
|               "height": 156, |               "height": 156, | ||||||
|               "text": "Second Chace", |               "text": "Second Chace", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(255, 255, 255, 1)", |               "color": "rgba(255, 255, 255, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -243,6 +244,7 @@ | |||||||
|               "width": 744, |               "width": 744, | ||||||
|               "height": 156, |               "height": 156, | ||||||
|               "text": "Restart", |               "text": "Restart", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -258,6 +260,7 @@ | |||||||
|               "width": 744, |               "width": 744, | ||||||
|               "height": 156, |               "height": 156, | ||||||
|               "text": "New Game", |               "text": "New Game", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -280,6 +283,7 @@ | |||||||
|       "centerX": 0, |       "centerX": 0, | ||||||
|       "centerY": -389, |       "centerY": -389, | ||||||
|       "text": "Game Over", |       "text": "Game Over", | ||||||
|  |       "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|       "fontSize": 72, |       "fontSize": 72, | ||||||
|       "color": "rgba(0, 0, 0, 1)", |       "color": "rgba(0, 0, 0, 1)", | ||||||
|       "bold": true, |       "bold": true, | ||||||
| @@ -298,6 +302,7 @@ | |||||||
|       "centerX": 0, |       "centerX": 0, | ||||||
|       "centerY": -155, |       "centerY": -155, | ||||||
|       "text": "You lost the game because you made 3 mistakes", |       "text": "You lost the game because you made 3 mistakes", | ||||||
|  |       "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|       "fontSize": 54, |       "fontSize": 54, | ||||||
|       "color": "rgba(123, 129, 140, 1)", |       "color": "rgba(123, 129, 140, 1)", | ||||||
|       "align": "center", |       "align": "center", | ||||||
|   | |||||||
							
								
								
									
										332
									
								
								assets/resources/GameOver_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										332
									
								
								assets/resources/GameOver_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,332 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "74k3rws3", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "GameOver_H", | ||||||
|  |   "width": 1920, | ||||||
|  |   "height": 1080, | ||||||
|  |   "_mouseState": 2, | ||||||
|  |   "drawCallOptimize": true, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "top": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "72a5ccd3-8177-451c-b2ce-cf1b42f7e6d4", | ||||||
|  |       "scriptPath": "../src/views/GameOver.ts", | ||||||
|  |       "btn_second": { | ||||||
|  |         "_$ref": "szb9ucan" | ||||||
|  |       }, | ||||||
|  |       "btn_restart": { | ||||||
|  |         "_$ref": "vhabgf62" | ||||||
|  |       }, | ||||||
|  |       "btn_newOrClose": { | ||||||
|  |         "_$ref": "90q3msn4" | ||||||
|  |       }, | ||||||
|  |       "label_newOrClose": { | ||||||
|  |         "_$ref": "b03vjzma" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "yh6139ss", | ||||||
|  |       "_$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": "ak02a9xq", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "center", | ||||||
|  |       "x": 600, | ||||||
|  |       "y": 135, | ||||||
|  |       "width": 720, | ||||||
|  |       "height": 810, | ||||||
|  |       "_mouseState": 2, | ||||||
|  |       "centerX": 0, | ||||||
|  |       "centerY": 0, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "kaqpo7v4", | ||||||
|  |           "_$type": "Sprite", | ||||||
|  |           "name": "Sprite", | ||||||
|  |           "width": 720, | ||||||
|  |           "height": 810, | ||||||
|  |           "_gcmds": [ | ||||||
|  |             { | ||||||
|  |               "_$type": "DrawRoundRectCmd", | ||||||
|  |               "x": 0, | ||||||
|  |               "y": 0, | ||||||
|  |               "width": 1, | ||||||
|  |               "height": 1, | ||||||
|  |               "lt": 20, | ||||||
|  |               "rt": 20, | ||||||
|  |               "lb": 20, | ||||||
|  |               "rb": 20, | ||||||
|  |               "percent": true, | ||||||
|  |               "lineWidth": 1, | ||||||
|  |               "fillColor": "#FFFFFF" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "gcpm74vt", | ||||||
|  |           "_$type": "VBox", | ||||||
|  |           "name": "buttons", | ||||||
|  |           "y": 351, | ||||||
|  |           "width": 720, | ||||||
|  |           "height": 495, | ||||||
|  |           "bottom": -36, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "space": 27, | ||||||
|  |           "align": "center", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "szb9ucan", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "btn_second", | ||||||
|  |               "x": 54, | ||||||
|  |               "width": 612, | ||||||
|  |               "height": 120, | ||||||
|  |               "_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)" | ||||||
|  |                 } | ||||||
|  |               ], | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$id": "sl0p26bq", | ||||||
|  |                   "_$type": "Sprite", | ||||||
|  |                   "name": "Sprite", | ||||||
|  |                   "x": 72, | ||||||
|  |                   "y": 30, | ||||||
|  |                   "width": 60, | ||||||
|  |                   "height": 54, | ||||||
|  |                   "_gcmds": [ | ||||||
|  |                     { | ||||||
|  |                       "_$type": "DrawRoundRectCmd", | ||||||
|  |                       "x": 0, | ||||||
|  |                       "y": 0, | ||||||
|  |                       "width": 1, | ||||||
|  |                       "height": 1, | ||||||
|  |                       "lt": 10, | ||||||
|  |                       "rt": 10, | ||||||
|  |                       "lb": 10, | ||||||
|  |                       "rb": 10, | ||||||
|  |                       "percent": true, | ||||||
|  |                       "lineWidth": 1, | ||||||
|  |                       "fillColor": "#FFFFFF" | ||||||
|  |                     } | ||||||
|  |                   ], | ||||||
|  |                   "_$child": [ | ||||||
|  |                     { | ||||||
|  |                       "_$id": "shuwbc76", | ||||||
|  |                       "_$type": "Sprite", | ||||||
|  |                       "name": "Sprite", | ||||||
|  |                       "x": 16, | ||||||
|  |                       "y": 13, | ||||||
|  |                       "width": 28, | ||||||
|  |                       "height": 28, | ||||||
|  |                       "_gcmds": [ | ||||||
|  |                         { | ||||||
|  |                           "_$type": "DrawPolyCmd", | ||||||
|  |                           "x": 0, | ||||||
|  |                           "y": 0, | ||||||
|  |                           "points": [ | ||||||
|  |                             0, | ||||||
|  |                             0, | ||||||
|  |                             28, | ||||||
|  |                             14, | ||||||
|  |                             0, | ||||||
|  |                             28 | ||||||
|  |                           ], | ||||||
|  |                           "lineWidth": 1, | ||||||
|  |                           "fillColor": "rgba(29, 92, 220, 1)" | ||||||
|  |                         } | ||||||
|  |                       ] | ||||||
|  |                     } | ||||||
|  |                   ] | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "vhabgf62", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "btn_restart", | ||||||
|  |               "x": 54, | ||||||
|  |               "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": "90q3msn4", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "btn_newOrClose", | ||||||
|  |               "x": 54, | ||||||
|  |               "y": 294, | ||||||
|  |               "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": "x4n5s73l", | ||||||
|  |           "_$type": "VBox", | ||||||
|  |           "name": "labels", | ||||||
|  |           "y": 351, | ||||||
|  |           "width": 720, | ||||||
|  |           "height": 495, | ||||||
|  |           "bottom": -36, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "space": 27, | ||||||
|  |           "align": "center", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "xemd8gdj", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label(1)", | ||||||
|  |               "x": 54, | ||||||
|  |               "width": 612, | ||||||
|  |               "height": 120, | ||||||
|  |               "text": "Second Chace", | ||||||
|  |               "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": "km7828dd", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label(2)", | ||||||
|  |               "x": 54, | ||||||
|  |               "y": 147, | ||||||
|  |               "width": 612, | ||||||
|  |               "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": "b03vjzma", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label(3)", | ||||||
|  |               "x": 54, | ||||||
|  |               "y": 294, | ||||||
|  |               "width": 612, | ||||||
|  |               "height": 120, | ||||||
|  |               "text": "New Game", | ||||||
|  |               "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": "jqc2ijwf", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "Label", | ||||||
|  |           "x": 60, | ||||||
|  |           "y": 90, | ||||||
|  |           "width": 600, | ||||||
|  |           "height": 66, | ||||||
|  |           "top": 90, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "text": "Game Over", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 54, | ||||||
|  |           "color": "rgba(0, 0, 0, 1)", | ||||||
|  |           "bold": true, | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "oioxcne0", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "Label(1)", | ||||||
|  |           "x": 14, | ||||||
|  |           "y": 180, | ||||||
|  |           "width": 692, | ||||||
|  |           "height": 96, | ||||||
|  |           "top": 180, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "text": "You lost the game because you made 3 mistakes", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 40, | ||||||
|  |           "color": "rgba(123, 129, 140, 1)", | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "top", | ||||||
|  |           "wordWrap": true, | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/GameOver_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/GameOver_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "e72b468b-983b-49d1-a4bb-3474063e26d2" | ||||||
|  | } | ||||||
| @@ -3,8 +3,8 @@ | |||||||
|   "_$id": "2c04twx2", |   "_$id": "2c04twx2", | ||||||
|   "_$type": "Box", |   "_$type": "Box", | ||||||
|   "name": "GamePause", |   "name": "GamePause", | ||||||
|   "width": 1080, |   "width": 1920, | ||||||
|   "height": 1920, |   "height": 1080, | ||||||
|   "_mouseState": 2, |   "_mouseState": 2, | ||||||
|   "drawCallOptimize": true, |   "drawCallOptimize": true, | ||||||
|   "left": 0, |   "left": 0, | ||||||
| @@ -34,8 +34,8 @@ | |||||||
|       "_$id": "vqp0nqaw", |       "_$id": "vqp0nqaw", | ||||||
|       "_$type": "Image", |       "_$type": "Image", | ||||||
|       "name": "Image", |       "name": "Image", | ||||||
|       "width": 1080, |       "width": 1920, | ||||||
|       "height": 1920, |       "height": 1080, | ||||||
|       "alpha": 0.6, |       "alpha": 0.6, | ||||||
|       "left": 0, |       "left": 0, | ||||||
|       "right": 0, |       "right": 0, | ||||||
| @@ -48,8 +48,8 @@ | |||||||
|       "_$id": "cy0qcxu0", |       "_$id": "cy0qcxu0", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "center", |       "name": "center", | ||||||
|       "x": 96, |       "x": 516, | ||||||
|       "y": 507, |       "y": 87, | ||||||
|       "width": 888, |       "width": 888, | ||||||
|       "height": 906, |       "height": 906, | ||||||
|       "_mouseState": 2, |       "_mouseState": 2, | ||||||
| @@ -162,6 +162,7 @@ | |||||||
|               "width": 744, |               "width": 744, | ||||||
|               "height": 156, |               "height": 156, | ||||||
|               "text": "Continue", |               "text": "Continue", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(255, 255, 255, 1)", |               "color": "rgba(255, 255, 255, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -177,6 +178,7 @@ | |||||||
|               "width": 744, |               "width": 744, | ||||||
|               "height": 156, |               "height": 156, | ||||||
|               "text": "Restart", |               "text": "Restart", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -197,6 +199,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "centerY": -300, |           "centerY": -300, | ||||||
|           "text": "Pause", |           "text": "Pause", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 72, |           "fontSize": 72, | ||||||
|           "color": "rgba(45, 49, 56, 1)", |           "color": "rgba(45, 49, 56, 1)", | ||||||
|           "bold": true, |           "bold": true, | ||||||
| @@ -231,6 +234,7 @@ | |||||||
|                   "width": 360, |                   "width": 360, | ||||||
|                   "height": 60, |                   "height": 60, | ||||||
|                   "text": "Time", |                   "text": "Time", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "align": "center", |                   "align": "center", | ||||||
| @@ -245,6 +249,7 @@ | |||||||
|                   "width": 360, |                   "width": 360, | ||||||
|                   "height": 72, |                   "height": 72, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 60, |                   "fontSize": 60, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "center", |                   "align": "center", | ||||||
| @@ -269,6 +274,7 @@ | |||||||
|                   "width": 360, |                   "width": 360, | ||||||
|                   "height": 60, |                   "height": 60, | ||||||
|                   "text": "Difficulty ", |                   "text": "Difficulty ", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 42, |                   "fontSize": 42, | ||||||
|                   "color": "rgba(123, 129, 140, 1)", |                   "color": "rgba(123, 129, 140, 1)", | ||||||
|                   "align": "center", |                   "align": "center", | ||||||
| @@ -283,6 +289,7 @@ | |||||||
|                   "width": 360, |                   "width": 360, | ||||||
|                   "height": 72, |                   "height": 72, | ||||||
|                   "text": "Medium", |                   "text": "Medium", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 60, |                   "fontSize": 60, | ||||||
|                   "color": "rgba(45, 49, 56, 1)", |                   "color": "rgba(45, 49, 56, 1)", | ||||||
|                   "align": "center", |                   "align": "center", | ||||||
|   | |||||||
							
								
								
									
										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" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/GamePause_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/GamePause_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "fbb965c3-2e15-4b83-b484-0f2b1112163b" | ||||||
|  | } | ||||||
| @@ -3,8 +3,8 @@ | |||||||
|   "_$id": "5uv9hvq0", |   "_$id": "5uv9hvq0", | ||||||
|   "_$type": "Box", |   "_$type": "Box", | ||||||
|   "name": "Home", |   "name": "Home", | ||||||
|   "width": 1080, |   "width": 1920, | ||||||
|   "height": 1920, |   "height": 1080, | ||||||
|   "_mouseState": 2, |   "_mouseState": 2, | ||||||
|   "left": 0, |   "left": 0, | ||||||
|   "right": 0, |   "right": 0, | ||||||
| @@ -54,7 +54,7 @@ | |||||||
|       "_$id": "pnoy48ek", |       "_$id": "pnoy48ek", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "dc", |       "name": "dc", | ||||||
|       "x": 72, |       "x": 492, | ||||||
|       "y": 150, |       "y": 150, | ||||||
|       "width": 936, |       "width": 936, | ||||||
|       "height": 468, |       "height": 468, | ||||||
| @@ -83,6 +83,7 @@ | |||||||
|           "centerX": -16, |           "centerX": -16, | ||||||
|           "centerY": -172, |           "centerY": -172, | ||||||
|           "text": "Daily Challenge", |           "text": "Daily Challenge", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 36, |           "fontSize": 36, | ||||||
|           "color": "rgba(45, 49, 56, 1)", |           "color": "rgba(45, 49, 56, 1)", | ||||||
|           "bold": true, |           "bold": true, | ||||||
| @@ -100,6 +101,7 @@ | |||||||
|           "centerX": -16, |           "centerX": -16, | ||||||
|           "centerY": -104, |           "centerY": -104, | ||||||
|           "text": "Mar 12", |           "text": "Mar 12", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 60, |           "fontSize": 60, | ||||||
|           "color": "rgba(45, 49, 56, 1)", |           "color": "rgba(45, 49, 56, 1)", | ||||||
|           "bold": true, |           "bold": true, | ||||||
| @@ -141,6 +143,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Play", |               "text": "Play", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 48, |               "fontSize": 48, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -185,6 +188,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Continue", |               "text": "Continue", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 48, |               "fontSize": 48, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -228,6 +232,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "More", |               "text": "More", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 48, |               "fontSize": 48, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -254,7 +259,8 @@ | |||||||
|       "_$id": "scaq3jc6", |       "_$id": "scaq3jc6", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "bottom", |       "name": "bottom", | ||||||
|       "y": 1920, |       "x": 420, | ||||||
|  |       "y": 1080, | ||||||
|       "width": 1080, |       "width": 1080, | ||||||
|       "height": 0, |       "height": 0, | ||||||
|       "bottom": 0, |       "bottom": 0, | ||||||
| @@ -303,6 +309,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "New Game", |               "text": "New Game", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "#FFFFFF", |               "color": "#FFFFFF", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -355,6 +362,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": -32, |               "centerY": -32, | ||||||
|               "text": "Continue", |               "text": "Continue", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "#FFFFFF", |               "color": "#FFFFFF", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -385,6 +393,7 @@ | |||||||
|                   "height": 35, |                   "height": 35, | ||||||
|                   "alpha": 0.6, |                   "alpha": 0.6, | ||||||
|                   "text": "00:00-Hard", |                   "text": "00:00-Hard", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|                   "fontSize": 36, |                   "fontSize": 36, | ||||||
|                   "color": "rgba(255, 255, 255, 0.6078431372549019)", |                   "color": "rgba(255, 255, 255, 0.6078431372549019)", | ||||||
|                   "bold": true, |                   "bold": true, | ||||||
| @@ -437,6 +446,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "New Game", |               "text": "New Game", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -466,6 +476,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Clean", |               "text": "Clean", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 80, |               "fontSize": 80, | ||||||
|               "color": "rgba(89, 109, 152, 1)", |               "color": "rgba(89, 109, 152, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -481,13 +492,14 @@ | |||||||
|       "_$id": "vxgd702p", |       "_$id": "vxgd702p", | ||||||
|       "_$type": "Label", |       "_$type": "Label", | ||||||
|       "name": "Label", |       "name": "Label", | ||||||
|       "x": 144, |       "x": 564, | ||||||
|       "y": 872, |       "y": 452, | ||||||
|       "width": 792, |       "width": 792, | ||||||
|       "height": 400, |       "height": 400, | ||||||
|       "centerX": 0, |       "centerX": 0, | ||||||
|       "centerY": 112, |       "centerY": 112, | ||||||
|       "text": "Classic\nSudoku", |       "text": "Classic\nSudoku", | ||||||
|  |       "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|       "fontSize": 96, |       "fontSize": 96, | ||||||
|       "color": "rgba(123, 129, 140, 1)", |       "color": "rgba(123, 129, 140, 1)", | ||||||
|       "bold": true, |       "bold": true, | ||||||
|   | |||||||
| @@ -3,8 +3,8 @@ | |||||||
|   "_$id": "pl8y75ht", |   "_$id": "pl8y75ht", | ||||||
|   "_$type": "Box", |   "_$type": "Box", | ||||||
|   "name": "ScoreAdd", |   "name": "ScoreAdd", | ||||||
|   "x": 465, |   "x": 885, | ||||||
|   "y": 930, |   "y": 510, | ||||||
|   "width": 150, |   "width": 150, | ||||||
|   "height": 60, |   "height": 60, | ||||||
|   "centerX": 0, |   "centerX": 0, | ||||||
| @@ -12,7 +12,7 @@ | |||||||
|   "_$comp": [ |   "_$comp": [ | ||||||
|     { |     { | ||||||
|       "_$type": "bdb0e671-99fa-47a5-9101-7ec008b1d25d", |       "_$type": "bdb0e671-99fa-47a5-9101-7ec008b1d25d", | ||||||
|       "scriptPath": "../src/views/AutoDestroy.ts", |       "scriptPath": "../src/views/common/AutoDestroy.ts", | ||||||
|       "lifeTime": 2 |       "lifeTime": 2 | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
| @@ -39,15 +39,13 @@ | |||||||
|           "height": 60, |           "height": 60, | ||||||
|           "anchorX": 0.5, |           "anchorX": 0.5, | ||||||
|           "anchorY": 0.5, |           "anchorY": 0.5, | ||||||
|           "scaleX": 1, |  | ||||||
|           "scaleY": 1, |  | ||||||
|           "text": "+150", |           "text": "+150", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 60, |           "fontSize": 60, | ||||||
|           "color": "rgba(29, 92, 220, 1)", |           "color": "rgba(29, 92, 220, 1)", | ||||||
|           "bold": true, |           "bold": true, | ||||||
|           "align": "center", |           "align": "center", | ||||||
|           "valign": "middle", |           "valign": "middle", | ||||||
|           "borderColor": null, |  | ||||||
|           "padding": "0,0,0,0", |           "padding": "0,0,0,0", | ||||||
|           "stroke": 16, |           "stroke": 16, | ||||||
|           "strokeColor": "rgba(255, 255, 255, 1)" |           "strokeColor": "rgba(255, 255, 255, 1)" | ||||||
|   | |||||||
| @@ -15,7 +15,10 @@ | |||||||
|       "_$type": "692a672b-2457-456c-8093-321ea7a10e1b", |       "_$type": "692a672b-2457-456c-8093-321ea7a10e1b", | ||||||
|       "scriptPath": "../src/views/Stage.ts", |       "scriptPath": "../src/views/Stage.ts", | ||||||
|       "btn_back": { |       "btn_back": { | ||||||
|         "_$ref": "5df5bu7g" |         "_$ref": "mky0aplo" | ||||||
|  |       }, | ||||||
|  |       "btn_new": { | ||||||
|  |         "_$ref": "gy0ou4kv" | ||||||
|       }, |       }, | ||||||
|       "btn_pause": { |       "btn_pause": { | ||||||
|         "_$ref": "8hdikksg" |         "_$ref": "8hdikksg" | ||||||
| @@ -59,35 +62,6 @@ | |||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|   "_$child": [ |   "_$child": [ | ||||||
|     { |  | ||||||
|       "_$id": "7cms902s", |  | ||||||
|       "_$type": "Box", |  | ||||||
|       "name": "top", |  | ||||||
|       "x": 420, |  | ||||||
|       "y": -420, |  | ||||||
|       "width": 1080, |  | ||||||
|       "height": 64, |  | ||||||
|       "_mouseState": 2, |  | ||||||
|       "centerX": 0, |  | ||||||
|       "centerY": -868, |  | ||||||
|       "_$child": [ |  | ||||||
|         { |  | ||||||
|           "_$id": "5df5bu7g", |  | ||||||
|           "_$type": "Button", |  | ||||||
|           "name": "btn_back", |  | ||||||
|           "x": 17, |  | ||||||
|           "width": 69, |  | ||||||
|           "height": 48, |  | ||||||
|           "_mouseState": 2, |  | ||||||
|           "stateNum": 1, |  | ||||||
|           "skin": "res://06a9c4a8-d664-4f3a-9c35-25b610195ced", |  | ||||||
|           "label": "", |  | ||||||
|           "labelSize": 20, |  | ||||||
|           "labelAlign": "center", |  | ||||||
|           "labelVAlign": "middle" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |     { | ||||||
|       "_$id": "s8cqvw3p", |       "_$id": "s8cqvw3p", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
| @@ -41296,14 +41270,69 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "gy0ou4kv", |           "_$id": "mky0aplo", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_main", |           "name": "btn_back", | ||||||
|           "y": 744, |           "y": 744, | ||||||
|           "width": 912, |           "width": 912, | ||||||
|           "height": 120, |           "height": 120, | ||||||
|           "bottom": 0, |           "bottom": 0, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "edaqvh1z", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 912, | ||||||
|  |               "height": 120, | ||||||
|  |               "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(29, 92, 220, 1)" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "kvebr762", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "Label", | ||||||
|  |               "width": 912, | ||||||
|  |               "height": 120, | ||||||
|  |               "left": 0, | ||||||
|  |               "right": 0, | ||||||
|  |               "top": 0, | ||||||
|  |               "bottom": 0, | ||||||
|  |               "text": "Back", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 45, | ||||||
|  |               "color": "rgba(29, 92, 220, 1)", | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "gy0ou4kv", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_new", | ||||||
|  |           "y": 744, | ||||||
|  |           "width": 912, | ||||||
|  |           "height": 120, | ||||||
|  |           "visible": false, | ||||||
|  |           "bottom": 0, | ||||||
|  |           "centerX": 0, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "kl6benqd", |               "_$id": "kl6benqd", | ||||||
| @@ -41390,7 +41419,6 @@ | |||||||
|           "y": 54, |           "y": 54, | ||||||
|           "width": 300, |           "width": 300, | ||||||
|           "height": 30, |           "height": 30, | ||||||
|           "visible": false, |  | ||||||
|           "top": 54, |           "top": 54, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "text": "Hard", |           "text": "Hard", | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,3 +0,0 @@ | |||||||
| { |  | ||||||
|   "uuid": "2704a5eb-4df2-47ba-9ebf-b1b998b645d5" |  | ||||||
| } |  | ||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "_$ver": 1, |   "_$ver": 1, | ||||||
|   "_$id": "n0oso5ht", |   "_$id": "737qwljh", | ||||||
|   "_$type": "Box", |   "_$type": "Box", | ||||||
|   "name": "TopBar", |   "name": "TopBar", | ||||||
|   "width": 1920, |   "width": 1920, | ||||||
| @@ -8,9 +8,39 @@ | |||||||
|   "left": 0, |   "left": 0, | ||||||
|   "right": 0, |   "right": 0, | ||||||
|   "top": 0, |   "top": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "cadd567d-5099-49b9-a9b3-b7c404d5fe1b", | ||||||
|  |       "scriptPath": "../src/views/TopBar.ts", | ||||||
|  |       "btn_classic": { | ||||||
|  |         "_$ref": "5pupc495" | ||||||
|  |       }, | ||||||
|  |       "sprite_classic": { | ||||||
|  |         "_$ref": "1nndzv6a" | ||||||
|  |       }, | ||||||
|  |       "label_classic": { | ||||||
|  |         "_$ref": "eaco6uwz" | ||||||
|  |       }, | ||||||
|  |       "btn_dc": { | ||||||
|  |         "_$ref": "220e6u8y" | ||||||
|  |       }, | ||||||
|  |       "sprite_dc": { | ||||||
|  |         "_$ref": "ool3zqvi" | ||||||
|  |       }, | ||||||
|  |       "label_dc": { | ||||||
|  |         "_$ref": "nut19fpx" | ||||||
|  |       }, | ||||||
|  |       "obj_label": { | ||||||
|  |         "_$ref": "tdwcole3" | ||||||
|  |       }, | ||||||
|  |       "obj_items": { | ||||||
|  |         "_$ref": "l4cpub9f" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|   "_$child": [ |   "_$child": [ | ||||||
|     { |     { | ||||||
|       "_$id": "stl71oaq", |       "_$id": "nceaidfr", | ||||||
|       "_$type": "HBox", |       "_$type": "HBox", | ||||||
|       "name": "left", |       "name": "left", | ||||||
|       "x": 44, |       "x": 44, | ||||||
| @@ -23,7 +53,7 @@ | |||||||
|       "align": "middle", |       "align": "middle", | ||||||
|       "_$child": [ |       "_$child": [ | ||||||
|         { |         { | ||||||
|           "_$id": "u4b9ebng", |           "_$id": "5pupc495", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_classic", |           "name": "btn_classic", | ||||||
|           "y": 24, |           "y": 24, | ||||||
| @@ -31,7 +61,7 @@ | |||||||
|           "height": 72, |           "height": 72, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "9pp003sx", |               "_$id": "1nndzv6a", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 312, |               "width": 312, | ||||||
| @@ -54,7 +84,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "3egrc2h4", |               "_$id": "eaco6uwz", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 312, |               "width": 312, | ||||||
| @@ -74,7 +104,7 @@ | |||||||
|           ] |           ] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "y4tagu3d", |           "_$id": "220e6u8y", | ||||||
|           "_$type": "Box", |           "_$type": "Box", | ||||||
|           "name": "btn_dc", |           "name": "btn_dc", | ||||||
|           "x": 332, |           "x": 332, | ||||||
| @@ -83,7 +113,7 @@ | |||||||
|           "height": 72, |           "height": 72, | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "kdgs3kw9", |               "_$id": "ool3zqvi", | ||||||
|               "_$type": "Sprite", |               "_$type": "Sprite", | ||||||
|               "name": "Sprite", |               "name": "Sprite", | ||||||
|               "width": 312, |               "width": 312, | ||||||
| @@ -107,7 +137,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "8bp5ph4p", |               "_$id": "nut19fpx", | ||||||
|               "_$type": "Label", |               "_$type": "Label", | ||||||
|               "name": "Label", |               "name": "Label", | ||||||
|               "width": 312, |               "width": 312, | ||||||
| @@ -122,41 +152,14 @@ | |||||||
|               "color": "rgba(14, 42, 83, 1)", |               "color": "rgba(14, 42, 83, 1)", | ||||||
|               "align": "center", |               "align": "center", | ||||||
|               "valign": "middle", |               "valign": "middle", | ||||||
|               "padding": "0,0,0,0", |               "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", |       "_$id": "520u454q", | ||||||
|       "_$type": "Box", |       "_$type": "Box", | ||||||
|       "name": "right", |       "name": "right", | ||||||
|       "x": 866, |       "x": 866, | ||||||
| @@ -167,7 +170,7 @@ | |||||||
|       "bottom": 0, |       "bottom": 0, | ||||||
|       "_$child": [ |       "_$child": [ | ||||||
|         { |         { | ||||||
|           "_$id": "c4v7pjor", |           "_$id": "tdwcole3", | ||||||
|           "_$type": "Label", |           "_$type": "Label", | ||||||
|           "name": "Label", |           "name": "Label", | ||||||
|           "x": -108, |           "x": -108, | ||||||
| @@ -184,7 +187,7 @@ | |||||||
|           "padding": "0,0,0,0" |           "padding": "0,0,0,0" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "_$id": "6g0fjeca", |           "_$id": "l4cpub9f", | ||||||
|           "_$type": "HBox", |           "_$type": "HBox", | ||||||
|           "name": "items", |           "name": "items", | ||||||
|           "x": 144, |           "x": 144, | ||||||
| @@ -196,7 +199,7 @@ | |||||||
|           "align": "middle", |           "align": "middle", | ||||||
|           "_$child": [ |           "_$child": [ | ||||||
|             { |             { | ||||||
|               "_$id": "2cbgfaxu", |               "_$id": "1n7t6kj9", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(1)", |               "name": "Box(1)", | ||||||
|               "width": 132, |               "width": 132, | ||||||
| @@ -211,7 +214,7 @@ | |||||||
|               ], |               ], | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "b2mvyk8s", |                   "_$id": "77fmalez", | ||||||
|                   "_$type": "Sprite", |                   "_$type": "Sprite", | ||||||
|                   "name": "Sprite", |                   "name": "Sprite", | ||||||
|                   "width": 132, |                   "width": 132, | ||||||
| @@ -235,7 +238,7 @@ | |||||||
|                   ] |                   ] | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "rixxvje7", |                   "_$id": "eo6dwz4x", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "Label", |                   "name": "Label", | ||||||
|                   "width": 132, |                   "width": 132, | ||||||
| @@ -255,7 +258,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "u5q1rxe8", |               "_$id": "p50qyu0x", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(2)", |               "name": "Box(2)", | ||||||
|               "x": 152, |               "x": 152, | ||||||
| @@ -271,7 +274,7 @@ | |||||||
|               ], |               ], | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "6rwertze", |                   "_$id": "04iszq1m", | ||||||
|                   "_$type": "Sprite", |                   "_$type": "Sprite", | ||||||
|                   "name": "Sprite", |                   "name": "Sprite", | ||||||
|                   "width": 189, |                   "width": 189, | ||||||
| @@ -295,7 +298,7 @@ | |||||||
|                   ] |                   ] | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "7et7pcm4", |                   "_$id": "s60rt1wo", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "Label", |                   "name": "Label", | ||||||
|                   "width": 189, |                   "width": 189, | ||||||
| @@ -315,7 +318,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "24u2dmu4", |               "_$id": "tkos9w0i", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(3)", |               "name": "Box(3)", | ||||||
|               "x": 361, |               "x": 361, | ||||||
| @@ -331,7 +334,7 @@ | |||||||
|               ], |               ], | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "swr0juum", |                   "_$id": "y40g4f7e", | ||||||
|                   "_$type": "Sprite", |                   "_$type": "Sprite", | ||||||
|                   "name": "Sprite", |                   "name": "Sprite", | ||||||
|                   "width": 132, |                   "width": 132, | ||||||
| @@ -355,7 +358,7 @@ | |||||||
|                   ] |                   ] | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "47bub8da", |                   "_$id": "6tnzzdsv", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "Label", |                   "name": "Label", | ||||||
|                   "width": 132, |                   "width": 132, | ||||||
| @@ -375,7 +378,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "tfj1gqhi", |               "_$id": "jakjcbvb", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(4)", |               "name": "Box(4)", | ||||||
|               "x": 513, |               "x": 513, | ||||||
| @@ -391,7 +394,7 @@ | |||||||
|               ], |               ], | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "ftn8440x", |                   "_$id": "xnl32bns", | ||||||
|                   "_$type": "Sprite", |                   "_$type": "Sprite", | ||||||
|                   "name": "Sprite", |                   "name": "Sprite", | ||||||
|                   "width": 162, |                   "width": 162, | ||||||
| @@ -415,7 +418,7 @@ | |||||||
|                   ] |                   ] | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "4wvr9z82", |                   "_$id": "kik1c0v7", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "Label", |                   "name": "Label", | ||||||
|                   "width": 162, |                   "width": 162, | ||||||
| @@ -435,7 +438,7 @@ | |||||||
|               ] |               ] | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "_$id": "xqqjuftc", |               "_$id": "cywux1jk", | ||||||
|               "_$type": "Box", |               "_$type": "Box", | ||||||
|               "name": "Box(5)", |               "name": "Box(5)", | ||||||
|               "x": 695, |               "x": 695, | ||||||
| @@ -451,7 +454,7 @@ | |||||||
|               ], |               ], | ||||||
|               "_$child": [ |               "_$child": [ | ||||||
|                 { |                 { | ||||||
|                   "_$id": "f1ra9jda", |                   "_$id": "lb6ygz0x", | ||||||
|                   "_$type": "Sprite", |                   "_$type": "Sprite", | ||||||
|                   "name": "Sprite", |                   "name": "Sprite", | ||||||
|                   "width": 192, |                   "width": 192, | ||||||
| @@ -475,7 +478,7 @@ | |||||||
|                   ] |                   ] | ||||||
|                 }, |                 }, | ||||||
|                 { |                 { | ||||||
|                   "_$id": "3nceoiwj", |                   "_$id": "se91oxr6", | ||||||
|                   "_$type": "Label", |                   "_$type": "Label", | ||||||
|                   "name": "Label", |                   "name": "Label", | ||||||
|                   "width": 192, |                   "width": 192, | ||||||
|   | |||||||
| @@ -1,3 +1,3 @@ | |||||||
| { | { | ||||||
|   "uuid": "96ad71b3-f8c9-47f0-a3c2-f6413f18e065" |   "uuid": "73f8f200-b49a-4804-9f8c-288361fad819" | ||||||
| } | } | ||||||
| @@ -1,107 +0,0 @@ | |||||||
| { |  | ||||||
|   "_$ver": 1, |  | ||||||
|   "_$id": "scvd34ii", |  | ||||||
|   "_$type": "Box", |  | ||||||
|   "name": "TrophyRoom", |  | ||||||
|   "width": 1080, |  | ||||||
|   "height": 1920, |  | ||||||
|   "_mouseState": 2, |  | ||||||
|   "left": 0, |  | ||||||
|   "right": 0, |  | ||||||
|   "top": 0, |  | ||||||
|   "bottom": 0, |  | ||||||
|   "_$comp": [ |  | ||||||
|     { |  | ||||||
|       "_$type": "554595b0-0dd8-4e4b-8073-8d775219659c", |  | ||||||
|       "scriptPath": "../src/views/dc/TrophyRoom.ts", |  | ||||||
|       "btn_back": { |  | ||||||
|         "_$ref": "12tz34f8" |  | ||||||
|       }, |  | ||||||
|       "obj_items": { |  | ||||||
|         "_$ref": "k3gvjlus" |  | ||||||
|       } |  | ||||||
|     } |  | ||||||
|   ], |  | ||||||
|   "_$child": [ |  | ||||||
|     { |  | ||||||
|       "_$id": "z1p4zsvs", |  | ||||||
|       "_$type": "Box", |  | ||||||
|       "name": "back", |  | ||||||
|       "x": 38, |  | ||||||
|       "y": 78, |  | ||||||
|       "width": 400, |  | ||||||
|       "height": 64, |  | ||||||
|       "_mouseState": 2, |  | ||||||
|       "centerX": -302, |  | ||||||
|       "centerY": -850, |  | ||||||
|       "_$child": [ |  | ||||||
|         { |  | ||||||
|           "_$id": "12tz34f8", |  | ||||||
|           "_$type": "Button", |  | ||||||
|           "name": "btn_back", |  | ||||||
|           "width": 69, |  | ||||||
|           "height": 48, |  | ||||||
|           "_mouseState": 2, |  | ||||||
|           "stateNum": 1, |  | ||||||
|           "skin": "res://06a9c4a8-d664-4f3a-9c35-25b610195ced", |  | ||||||
|           "label": "", |  | ||||||
|           "labelSize": 20, |  | ||||||
|           "labelAlign": "center", |  | ||||||
|           "labelVAlign": "middle" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "_$id": "nyfbewpo", |  | ||||||
|           "_$type": "Label", |  | ||||||
|           "name": "title", |  | ||||||
|           "x": 92, |  | ||||||
|           "y": -6, |  | ||||||
|           "width": 500, |  | ||||||
|           "height": 60, |  | ||||||
|           "bottom": 10, |  | ||||||
|           "text": "Trophy Room", |  | ||||||
|           "fontSize": 54, |  | ||||||
|           "color": "rgba(45, 49, 56, 1)", |  | ||||||
|           "bold": true, |  | ||||||
|           "valign": "middle", |  | ||||||
|           "padding": "0,0,0,0" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "_$id": "8jansi3q", |  | ||||||
|       "_$type": "Panel", |  | ||||||
|       "name": "Panel", |  | ||||||
|       "x": 48, |  | ||||||
|       "y": 200, |  | ||||||
|       "width": 984, |  | ||||||
|       "height": 1720, |  | ||||||
|       "_mouseState": 2, |  | ||||||
|       "top": 200, |  | ||||||
|       "bottom": 0, |  | ||||||
|       "centerX": 0, |  | ||||||
|       "scrollType": 2, |  | ||||||
|       "_$child": [ |  | ||||||
|         { |  | ||||||
|           "_$id": "k3gvjlus", |  | ||||||
|           "_$type": "VBox", |  | ||||||
|           "name": "items", |  | ||||||
|           "width": 984, |  | ||||||
|           "height": 2000, |  | ||||||
|           "space": 40, |  | ||||||
|           "align": "center", |  | ||||||
|           "_$child": [ |  | ||||||
|             { |  | ||||||
|               "_$id": "g7t27k1h", |  | ||||||
|               "_$prefab": "ef797791-e197-4854-bf49-347fe92999f4", |  | ||||||
|               "name": "TrophyRoomYear", |  | ||||||
|               "active": true, |  | ||||||
|               "x": 0, |  | ||||||
|               "y": 0, |  | ||||||
|               "visible": true |  | ||||||
|             } |  | ||||||
|           ] |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     } |  | ||||||
|   ] |  | ||||||
| } |  | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										7699
									
								
								assets/resources/dc/DailyChallenge_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7699
									
								
								assets/resources/dc/DailyChallenge_H.lh
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										3
									
								
								assets/resources/dc/DailyChallenge_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/dc/DailyChallenge_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "30b15f50-c99e-4d83-9fa2-1cbae20e3f9f" | ||||||
|  | } | ||||||
| @@ -12,7 +12,7 @@ | |||||||
|   "_$comp": [ |   "_$comp": [ | ||||||
|     { |     { | ||||||
|       "_$type": "0550b681-b602-49fe-900f-e30866ce922c", |       "_$type": "0550b681-b602-49fe-900f-e30866ce922c", | ||||||
|       "scriptPath": "../src/views/TrophyClaim.ts", |       "scriptPath": "../src/views/dc/TrophyClaim.ts", | ||||||
|       "icon": { |       "icon": { | ||||||
|         "_$ref": "ta6ji66s" |         "_$ref": "ta6ji66s" | ||||||
|       }, |       }, | ||||||
| @@ -120,6 +120,7 @@ | |||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "centerY": 0, |               "centerY": 0, | ||||||
|               "text": "Claim", |               "text": "Claim", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 60, |               "fontSize": 60, | ||||||
|               "color": "rgba(29, 92, 220, 1)", |               "color": "rgba(29, 92, 220, 1)", | ||||||
|               "align": "center", |               "align": "center", | ||||||
| @@ -131,7 +132,7 @@ | |||||||
|         { |         { | ||||||
|           "_$id": "0eaixmbm", |           "_$id": "0eaixmbm", | ||||||
|           "_$type": "Label", |           "_$type": "Label", | ||||||
|           "name": "titlle", |           "name": "label_titlle", | ||||||
|           "x": 90, |           "x": 90, | ||||||
|           "y": -10, |           "y": -10, | ||||||
|           "width": 900, |           "width": 900, | ||||||
| @@ -139,6 +140,7 @@ | |||||||
|           "top": -10, |           "top": -10, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "text": "Conratulations!", |           "text": "Conratulations!", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 84, |           "fontSize": 84, | ||||||
|           "color": "#FFFFFF", |           "color": "#FFFFFF", | ||||||
|           "align": "center", |           "align": "center", | ||||||
| @@ -157,6 +159,7 @@ | |||||||
|           "bottom": 10, |           "bottom": 10, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "text": "Sep 11, 2024", |           "text": "Sep 11, 2024", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 60, |           "fontSize": 60, | ||||||
|           "color": "#FFFFFF", |           "color": "#FFFFFF", | ||||||
|           "align": "center", |           "align": "center", | ||||||
							
								
								
									
										172
									
								
								assets/resources/dc/TrophyClaim_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										172
									
								
								assets/resources/dc/TrophyClaim_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,172 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "3bnkaod1", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "TrophyClaim_H", | ||||||
|  |   "width": 1920, | ||||||
|  |   "height": 1080, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "top": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "0550b681-b602-49fe-900f-e30866ce922c", | ||||||
|  |       "scriptPath": "../src/views/dc/TrophyClaim.ts", | ||||||
|  |       "icon": { | ||||||
|  |         "_$ref": "wiyybdn9" | ||||||
|  |       }, | ||||||
|  |       "label_date": { | ||||||
|  |         "_$ref": "hyd2a58t" | ||||||
|  |       }, | ||||||
|  |       "btn_close": { | ||||||
|  |         "_$ref": "kv3go1zz" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "tlgrkg4b", | ||||||
|  |       "_$type": "Image", | ||||||
|  |       "name": "Image", | ||||||
|  |       "width": 1920, | ||||||
|  |       "height": 1080, | ||||||
|  |       "alpha": 0.8, | ||||||
|  |       "left": 0, | ||||||
|  |       "right": 0, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609", | ||||||
|  |       "color": "#000000" | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "74q7qe1w", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "center", | ||||||
|  |       "x": 480, | ||||||
|  |       "y": -96, | ||||||
|  |       "width": 960, | ||||||
|  |       "height": 960, | ||||||
|  |       "centerX": 0, | ||||||
|  |       "centerY": -156, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "ojntqbg3", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "img_light_yellow", | ||||||
|  |           "width": 960, | ||||||
|  |           "height": 960, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "centerY": 0, | ||||||
|  |           "skin": "res://0403c03d-0fbb-4930-8cf7-c4bf0f4d45b9", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "wiyybdn9", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "trophy", | ||||||
|  |           "x": 108, | ||||||
|  |           "y": 108, | ||||||
|  |           "width": 744, | ||||||
|  |           "height": 744, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "centerY": 0, | ||||||
|  |           "skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "kv3go1zz", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_close", | ||||||
|  |           "x": 120, | ||||||
|  |           "y": 988, | ||||||
|  |           "width": 720, | ||||||
|  |           "height": 156, | ||||||
|  |           "bottom": -184, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "qg7a7ikf", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 720, | ||||||
|  |               "height": 156, | ||||||
|  |               "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": "#FFFFFF" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "ffs77u7p", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "label", | ||||||
|  |               "x": -90, | ||||||
|  |               "y": 28, | ||||||
|  |               "width": 900, | ||||||
|  |               "height": 100, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "Claim", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 60, | ||||||
|  |               "color": "rgba(29, 92, 220, 1)", | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "z5u831v7", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "label_titlle", | ||||||
|  |           "x": 30, | ||||||
|  |           "y": 114, | ||||||
|  |           "width": 900, | ||||||
|  |           "height": 100, | ||||||
|  |           "top": 114, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "text": "Conratulations!", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 84, | ||||||
|  |           "color": "#FFFFFF", | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "hyd2a58t", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "label_date", | ||||||
|  |           "x": 30, | ||||||
|  |           "y": 890, | ||||||
|  |           "width": 900, | ||||||
|  |           "height": 60, | ||||||
|  |           "alpha": 0.8, | ||||||
|  |           "bottom": 10, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "text": "Sep 11, 2024", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 60, | ||||||
|  |           "color": "#FFFFFF", | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/dc/TrophyClaim_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/dc/TrophyClaim_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "5d5007fd-682d-40c1-9034-a5be4ab98ee2" | ||||||
|  | } | ||||||
							
								
								
									
										169
									
								
								assets/resources/dc/TrophyRoom.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										169
									
								
								assets/resources/dc/TrophyRoom.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,169 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "scvd34ii", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "TrophyRoom", | ||||||
|  |   "width": 1080, | ||||||
|  |   "height": 1920, | ||||||
|  |   "_mouseState": 2, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "top": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "554595b0-0dd8-4e4b-8073-8d775219659c", | ||||||
|  |       "scriptPath": "../src/views/dc/TrophyRoom.ts", | ||||||
|  |       "btn_back": { | ||||||
|  |         "_$ref": "z1p4zsvs" | ||||||
|  |       }, | ||||||
|  |       "obj_items": { | ||||||
|  |         "_$ref": "k3gvjlus" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "esbit3pc", | ||||||
|  |       "_$type": "Image", | ||||||
|  |       "name": "Image", | ||||||
|  |       "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", | ||||||
|  |       "name": "btn_back", | ||||||
|  |       "x": 45, | ||||||
|  |       "y": 78, | ||||||
|  |       "width": 70, | ||||||
|  |       "height": 48, | ||||||
|  |       "_mouseState": 2, | ||||||
|  |       "centerX": -460, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "12tz34f8", | ||||||
|  |           "_$type": "Button", | ||||||
|  |           "name": "button", | ||||||
|  |           "width": 70, | ||||||
|  |           "height": 48, | ||||||
|  |           "_mouseState": 2, | ||||||
|  |           "mouseThrough": true, | ||||||
|  |           "stateNum": 1, | ||||||
|  |           "skin": "res://06a9c4a8-d664-4f3a-9c35-25b610195ced", | ||||||
|  |           "label": "", | ||||||
|  |           "labelSize": 20, | ||||||
|  |           "labelAlign": "center", | ||||||
|  |           "labelVAlign": "middle" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "nyfbewpo", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "label_title", | ||||||
|  |           "x": 92, | ||||||
|  |           "y": -6, | ||||||
|  |           "width": 500, | ||||||
|  |           "height": 60, | ||||||
|  |           "centerY": 0, | ||||||
|  |           "text": "Trophy Room", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 54, | ||||||
|  |           "color": "rgba(45, 49, 56, 1)", | ||||||
|  |           "bold": true, | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "8jansi3q", | ||||||
|  |       "_$type": "Panel", | ||||||
|  |       "name": "Panel", | ||||||
|  |       "x": 48, | ||||||
|  |       "y": 200, | ||||||
|  |       "width": 984, | ||||||
|  |       "height": 1720, | ||||||
|  |       "_mouseState": 2, | ||||||
|  |       "top": 200, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "centerX": 0, | ||||||
|  |       "scrollType": 2, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "k3gvjlus", | ||||||
|  |           "_$type": "VBox", | ||||||
|  |           "name": "items", | ||||||
|  |           "width": 984, | ||||||
|  |           "height": 2000, | ||||||
|  |           "space": 40, | ||||||
|  |           "align": "center", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "g7t27k1h", | ||||||
|  |               "_$prefab": "ef797791-e197-4854-bf49-347fe92999f4", | ||||||
|  |               "name": "TrophyRoomYear", | ||||||
|  |               "active": true, | ||||||
|  |               "x": 0, | ||||||
|  |               "y": 0, | ||||||
|  |               "visible": true, | ||||||
|  |               "_$child": [ | ||||||
|  |                 { | ||||||
|  |                   "_$override": "i7ttmqwh", | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$override": [ | ||||||
|  |                     "qn7hlno1", | ||||||
|  |                     "2bldvkij" | ||||||
|  |                   ], | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$override": [ | ||||||
|  |                     "qn7hlno1", | ||||||
|  |                     "5wwqja5x" | ||||||
|  |                   ], | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$override": [ | ||||||
|  |                     "qn7hlno1", | ||||||
|  |                     "9dsn53bb" | ||||||
|  |                   ], | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$override": [ | ||||||
|  |                     "qn7hlno1", | ||||||
|  |                     "zse8y0wo" | ||||||
|  |                   ], | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$override": [ | ||||||
|  |                     "qn7hlno1", | ||||||
|  |                     "1znenn3j" | ||||||
|  |                   ], | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2" | ||||||
|  |                 }, | ||||||
|  |                 { | ||||||
|  |                   "_$override": [ | ||||||
|  |                     "qn7hlno1", | ||||||
|  |                     "row347fk" | ||||||
|  |                   ], | ||||||
|  |                   "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
| @@ -27,7 +27,7 @@ | |||||||
|           "_$comp": [ |           "_$comp": [ | ||||||
|             { |             { | ||||||
|               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|               "scriptPath": "../src/views/TrophyUnit.ts", |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|               "bg_light": { |               "bg_light": { | ||||||
|                 "_$ref": "rnanoiet" |                 "_$ref": "rnanoiet" | ||||||
|               }, |               }, | ||||||
| @@ -75,6 +75,7 @@ | |||||||
|               "height": 20, |               "height": 20, | ||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "text": "03/20", |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 24, |               "fontSize": 24, | ||||||
|               "color": "rgba(0, 0, 0, 1)", |               "color": "rgba(0, 0, 0, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -93,6 +94,7 @@ | |||||||
|               "bottom": -106, |               "bottom": -106, | ||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "text": "Otc", |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 42, |               "fontSize": 42, | ||||||
|               "color": "rgba(167, 171, 179, 1)", |               "color": "rgba(167, 171, 179, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -111,7 +113,7 @@ | |||||||
|           "_$comp": [ |           "_$comp": [ | ||||||
|             { |             { | ||||||
|               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|               "scriptPath": "../src/views/TrophyUnit.ts", |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|               "bg_light": { |               "bg_light": { | ||||||
|                 "_$ref": "tnjynmgf" |                 "_$ref": "tnjynmgf" | ||||||
|               }, |               }, | ||||||
| @@ -159,6 +161,7 @@ | |||||||
|               "height": 20, |               "height": 20, | ||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "text": "03/20", |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 24, |               "fontSize": 24, | ||||||
|               "color": "rgba(0, 0, 0, 1)", |               "color": "rgba(0, 0, 0, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -177,6 +180,7 @@ | |||||||
|               "bottom": -106, |               "bottom": -106, | ||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "text": "Otc", |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 42, |               "fontSize": 42, | ||||||
|               "color": "rgba(167, 171, 179, 1)", |               "color": "rgba(167, 171, 179, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -195,7 +199,7 @@ | |||||||
|           "_$comp": [ |           "_$comp": [ | ||||||
|             { |             { | ||||||
|               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|               "scriptPath": "../src/views/TrophyUnit.ts", |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|               "bg_light": { |               "bg_light": { | ||||||
|                 "_$ref": "o57stpd9" |                 "_$ref": "o57stpd9" | ||||||
|               }, |               }, | ||||||
| @@ -243,6 +247,7 @@ | |||||||
|               "height": 20, |               "height": 20, | ||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "text": "03/20", |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 24, |               "fontSize": 24, | ||||||
|               "color": "rgba(0, 0, 0, 1)", |               "color": "rgba(0, 0, 0, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
| @@ -261,6 +266,7 @@ | |||||||
|               "bottom": -106, |               "bottom": -106, | ||||||
|               "centerX": 0, |               "centerX": 0, | ||||||
|               "text": "Otc", |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|               "fontSize": 42, |               "fontSize": 42, | ||||||
|               "color": "rgba(167, 171, 179, 1)", |               "color": "rgba(167, 171, 179, 1)", | ||||||
|               "bold": true, |               "bold": true, | ||||||
							
								
								
									
										468
									
								
								assets/resources/dc/TrophyRoomCell_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										468
									
								
								assets/resources/dc/TrophyRoomCell_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,468 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "sg1sait6", | ||||||
|  |   "_$type": "VBox", | ||||||
|  |   "name": "TrophyRoomCell_H", | ||||||
|  |   "y": 120, | ||||||
|  |   "width": 1830, | ||||||
|  |   "height": 444, | ||||||
|  |   "space": 0, | ||||||
|  |   "align": "center", | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "36rgnwax", | ||||||
|  |       "_$type": "HBox", | ||||||
|  |       "name": "HBox", | ||||||
|  |       "width": 1830, | ||||||
|  |       "height": 288, | ||||||
|  |       "space": 0, | ||||||
|  |       "align": "middle", | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "gqndp8er", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "Box(1)", | ||||||
|  |           "width": 366, | ||||||
|  |           "height": 288, | ||||||
|  |           "_$comp": [ | ||||||
|  |             { | ||||||
|  |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|  |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|  |               "bg_light": { | ||||||
|  |                 "_$ref": "3ix5pi11" | ||||||
|  |               }, | ||||||
|  |               "icon": { | ||||||
|  |                 "_$ref": "bhpotbn8" | ||||||
|  |               }, | ||||||
|  |               "label_count": { | ||||||
|  |                 "_$ref": "vuyujnwb" | ||||||
|  |               }, | ||||||
|  |               "label_month": { | ||||||
|  |                 "_$ref": "ybx61p0y" | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           ], | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "3ix5pi11", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "bg_light", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "bhpotbn8", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "icon", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "vuyujnwb", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "label_count", | ||||||
|  |               "x": 147, | ||||||
|  |               "y": 234, | ||||||
|  |               "width": 72, | ||||||
|  |               "height": 20, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 24, | ||||||
|  |               "color": "rgba(0, 0, 0, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "ybx61p0y", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "month", | ||||||
|  |               "x": 133, | ||||||
|  |               "y": 334, | ||||||
|  |               "width": 100, | ||||||
|  |               "height": 60, | ||||||
|  |               "bottom": -106, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 42, | ||||||
|  |               "color": "rgba(167, 171, 179, 1)", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "khaz9803", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "Box(2)", | ||||||
|  |           "x": 366, | ||||||
|  |           "width": 366, | ||||||
|  |           "height": 288, | ||||||
|  |           "_$comp": [ | ||||||
|  |             { | ||||||
|  |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|  |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|  |               "bg_light": { | ||||||
|  |                 "_$ref": "wswxra73" | ||||||
|  |               }, | ||||||
|  |               "icon": { | ||||||
|  |                 "_$ref": "3eszf2o1" | ||||||
|  |               }, | ||||||
|  |               "label_count": { | ||||||
|  |                 "_$ref": "saz64m1x" | ||||||
|  |               }, | ||||||
|  |               "label_month": { | ||||||
|  |                 "_$ref": "xzf561ib" | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           ], | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "wswxra73", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "bg_light", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "3eszf2o1", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "icon", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "saz64m1x", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "label_count", | ||||||
|  |               "x": 147, | ||||||
|  |               "y": 234, | ||||||
|  |               "width": 72, | ||||||
|  |               "height": 20, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 24, | ||||||
|  |               "color": "rgba(0, 0, 0, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "xzf561ib", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "month", | ||||||
|  |               "x": 133, | ||||||
|  |               "y": 334, | ||||||
|  |               "width": 100, | ||||||
|  |               "height": 60, | ||||||
|  |               "bottom": -106, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 42, | ||||||
|  |               "color": "rgba(167, 171, 179, 1)", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "be29eeum", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "Box(3)", | ||||||
|  |           "x": 732, | ||||||
|  |           "width": 366, | ||||||
|  |           "height": 288, | ||||||
|  |           "_$comp": [ | ||||||
|  |             { | ||||||
|  |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|  |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|  |               "bg_light": { | ||||||
|  |                 "_$ref": "un800knw" | ||||||
|  |               }, | ||||||
|  |               "icon": { | ||||||
|  |                 "_$ref": "hqax24bs" | ||||||
|  |               }, | ||||||
|  |               "label_count": { | ||||||
|  |                 "_$ref": "qxr4wb3w" | ||||||
|  |               }, | ||||||
|  |               "label_month": { | ||||||
|  |                 "_$ref": "y5wo3jiq" | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           ], | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "un800knw", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "bg_light", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "hqax24bs", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "icon", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "qxr4wb3w", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "label_count", | ||||||
|  |               "x": 147, | ||||||
|  |               "y": 234, | ||||||
|  |               "width": 72, | ||||||
|  |               "height": 20, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 24, | ||||||
|  |               "color": "rgba(0, 0, 0, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "y5wo3jiq", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "month", | ||||||
|  |               "x": 133, | ||||||
|  |               "y": 334, | ||||||
|  |               "width": 100, | ||||||
|  |               "height": 60, | ||||||
|  |               "bottom": -106, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 42, | ||||||
|  |               "color": "rgba(167, 171, 179, 1)", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "l1qfa1q3", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "Box(4)", | ||||||
|  |           "x": 1098, | ||||||
|  |           "width": 366, | ||||||
|  |           "height": 288, | ||||||
|  |           "_$comp": [ | ||||||
|  |             { | ||||||
|  |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|  |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|  |               "bg_light": { | ||||||
|  |                 "_$ref": "5gsoayj9" | ||||||
|  |               }, | ||||||
|  |               "icon": { | ||||||
|  |                 "_$ref": "54xz5s5e" | ||||||
|  |               }, | ||||||
|  |               "label_count": { | ||||||
|  |                 "_$ref": "6q0dsx4g" | ||||||
|  |               }, | ||||||
|  |               "label_month": { | ||||||
|  |                 "_$ref": "sj7l0rt1" | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           ], | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "5gsoayj9", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "bg_light", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "54xz5s5e", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "icon", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "6q0dsx4g", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "label_count", | ||||||
|  |               "x": 147, | ||||||
|  |               "y": 234, | ||||||
|  |               "width": 72, | ||||||
|  |               "height": 20, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 24, | ||||||
|  |               "color": "rgba(0, 0, 0, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "sj7l0rt1", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "month", | ||||||
|  |               "x": 133, | ||||||
|  |               "y": 334, | ||||||
|  |               "width": 100, | ||||||
|  |               "height": 60, | ||||||
|  |               "bottom": -106, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 42, | ||||||
|  |               "color": "rgba(167, 171, 179, 1)", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "m8pa8be4", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "Box(5)", | ||||||
|  |           "x": 1464, | ||||||
|  |           "width": 366, | ||||||
|  |           "height": 288, | ||||||
|  |           "_$comp": [ | ||||||
|  |             { | ||||||
|  |               "_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1", | ||||||
|  |               "scriptPath": "../src/views/dc/TrophyUnit.ts", | ||||||
|  |               "bg_light": { | ||||||
|  |                 "_$ref": "gu5av5vw" | ||||||
|  |               }, | ||||||
|  |               "icon": { | ||||||
|  |                 "_$ref": "dkfotcdq" | ||||||
|  |               }, | ||||||
|  |               "label_count": { | ||||||
|  |                 "_$ref": "z7hfr2ud" | ||||||
|  |               }, | ||||||
|  |               "label_month": { | ||||||
|  |                 "_$ref": "f0b5rsee" | ||||||
|  |               } | ||||||
|  |             } | ||||||
|  |           ], | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "gu5av5vw", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "bg_light", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "dkfotcdq", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "icon", | ||||||
|  |               "x": 39, | ||||||
|  |               "width": 288, | ||||||
|  |               "height": 288, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537", | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "z7hfr2ud", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "label_count", | ||||||
|  |               "x": 147, | ||||||
|  |               "y": 234, | ||||||
|  |               "width": 72, | ||||||
|  |               "height": 20, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "03/20", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 24, | ||||||
|  |               "color": "rgba(0, 0, 0, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "align": "center", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "f0b5rsee", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "month", | ||||||
|  |               "x": 133, | ||||||
|  |               "y": 334, | ||||||
|  |               "width": 100, | ||||||
|  |               "height": 60, | ||||||
|  |               "bottom": -106, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "text": "Otc", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 42, | ||||||
|  |               "color": "rgba(167, 171, 179, 1)", | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "gtdpiv51", | ||||||
|  |       "_$type": "Sprite", | ||||||
|  |       "name": "Sprite", | ||||||
|  |       "y": 288, | ||||||
|  |       "width": 1830, | ||||||
|  |       "height": 18, | ||||||
|  |       "_gcmds": [ | ||||||
|  |         { | ||||||
|  |           "_$type": "DrawRectCmd", | ||||||
|  |           "x": 0, | ||||||
|  |           "y": 0, | ||||||
|  |           "width": 1, | ||||||
|  |           "height": 1, | ||||||
|  |           "percent": true, | ||||||
|  |           "lineWidth": 1, | ||||||
|  |           "fillColor": "#ffffff" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/dc/TrophyRoomCell_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/dc/TrophyRoomCell_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "d8ad3382-304a-46b3-85bc-91bd44ec5b5c" | ||||||
|  | } | ||||||
| @@ -49,6 +49,7 @@ | |||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "centerY": 0, |           "centerY": 0, | ||||||
|           "text": "2025", |           "text": "2025", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 48, |           "fontSize": 48, | ||||||
|           "color": "rgba(84, 89, 98, 1)", |           "color": "rgba(84, 89, 98, 1)", | ||||||
|           "align": "center", |           "align": "center", | ||||||
							
								
								
									
										72
									
								
								assets/resources/dc/TrophyRoomYear_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								assets/resources/dc/TrophyRoomYear_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,72 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "v478ofey", | ||||||
|  |   "_$type": "VBox", | ||||||
|  |   "name": "TrophyRoomYear_H", | ||||||
|  |   "width": 1830, | ||||||
|  |   "height": 564, | ||||||
|  |   "space": 0, | ||||||
|  |   "align": "center", | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "uncmfzuo", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "year", | ||||||
|  |       "width": 1830, | ||||||
|  |       "height": 120, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "yw2nl1n2", | ||||||
|  |           "_$type": "Sprite", | ||||||
|  |           "name": "Sprite", | ||||||
|  |           "y": 24, | ||||||
|  |           "width": 1830, | ||||||
|  |           "height": 72, | ||||||
|  |           "_gcmds": [ | ||||||
|  |             { | ||||||
|  |               "_$type": "DrawRoundRectCmd", | ||||||
|  |               "x": 0, | ||||||
|  |               "y": 0, | ||||||
|  |               "width": 1, | ||||||
|  |               "height": 1, | ||||||
|  |               "lt": 0, | ||||||
|  |               "rt": 0, | ||||||
|  |               "lb": 0, | ||||||
|  |               "rb": 0, | ||||||
|  |               "percent": true, | ||||||
|  |               "lineWidth": 1, | ||||||
|  |               "fillColor": "#FFFFFF" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "lskpm66b", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "Label", | ||||||
|  |           "x": 423, | ||||||
|  |           "y": 24, | ||||||
|  |           "width": 984, | ||||||
|  |           "height": 72, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "centerY": 0, | ||||||
|  |           "text": "2025", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 48, | ||||||
|  |           "color": "rgba(84, 89, 98, 1)", | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "mbue9iyc", | ||||||
|  |       "_$prefab": "d8ad3382-304a-46b3-85bc-91bd44ec5b5c", | ||||||
|  |       "name": "TrophyRoomCell_H", | ||||||
|  |       "active": true, | ||||||
|  |       "x": 0, | ||||||
|  |       "y": 120, | ||||||
|  |       "visible": true | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/dc/TrophyRoomYear_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/dc/TrophyRoomYear_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "c1b8084e-7edd-4519-9680-5deaab191d1d" | ||||||
|  | } | ||||||
							
								
								
									
										160
									
								
								assets/resources/dc/TrophyRoom_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										160
									
								
								assets/resources/dc/TrophyRoom_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,160 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "grnsce2m", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "TrophyRoom_H", | ||||||
|  |   "y": 120, | ||||||
|  |   "width": 1920, | ||||||
|  |   "height": 960, | ||||||
|  |   "_mouseState": 2, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "554595b0-0dd8-4e4b-8073-8d775219659c", | ||||||
|  |       "scriptPath": "../src/views/dc/TrophyRoom.ts", | ||||||
|  |       "btn_back": { | ||||||
|  |         "_$ref": "jdgsds0q" | ||||||
|  |       }, | ||||||
|  |       "obj_items": { | ||||||
|  |         "_$ref": "f1u9ghcd" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "uzmnryti", | ||||||
|  |       "_$type": "Image", | ||||||
|  |       "name": "Image", | ||||||
|  |       "width": 1920, | ||||||
|  |       "height": 960, | ||||||
|  |       "left": 0, | ||||||
|  |       "right": 0, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609", | ||||||
|  |       "color": "#f5f7fb" | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "tke06ydk", | ||||||
|  |       "_$type": "Panel", | ||||||
|  |       "name": "Panel", | ||||||
|  |       "width": 1920, | ||||||
|  |       "height": 960, | ||||||
|  |       "_mouseState": 2, | ||||||
|  |       "left": 0, | ||||||
|  |       "right": 0, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "scrollType": 2, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "f1u9ghcd", | ||||||
|  |           "_$type": "VBox", | ||||||
|  |           "name": "items", | ||||||
|  |           "x": 45, | ||||||
|  |           "width": 1830, | ||||||
|  |           "height": 960, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "space": 40, | ||||||
|  |           "align": "center", | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "4mhx6hbp", | ||||||
|  |               "_$prefab": "c1b8084e-7edd-4519-9680-5deaab191d1d", | ||||||
|  |               "name": "TrophyRoomYear_H", | ||||||
|  |               "active": true, | ||||||
|  |               "x": 0, | ||||||
|  |               "y": 0, | ||||||
|  |               "visible": true | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "oduu8jie", | ||||||
|  |       "_$type": "Panel", | ||||||
|  |       "name": "Back", | ||||||
|  |       "x": 48, | ||||||
|  |       "y": 825, | ||||||
|  |       "width": 220, | ||||||
|  |       "height": 90, | ||||||
|  |       "_mouseState": 2, | ||||||
|  |       "left": 48, | ||||||
|  |       "top": 825, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "jdgsds0q", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_back", | ||||||
|  |           "width": 220, | ||||||
|  |           "height": 90, | ||||||
|  |           "_mouseState": 2, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "3ym1hz0b", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 220, | ||||||
|  |               "height": 90, | ||||||
|  |               "mouseThrough": true, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawRoundRectCmd", | ||||||
|  |                   "x": 0, | ||||||
|  |                   "y": 0, | ||||||
|  |                   "width": 1, | ||||||
|  |                   "height": 1, | ||||||
|  |                   "lt": 30, | ||||||
|  |                   "rt": 30, | ||||||
|  |                   "lb": 30, | ||||||
|  |                   "rb": 30, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "#FFFFFF" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "fk6ceatc", | ||||||
|  |               "_$type": "Button", | ||||||
|  |               "name": "btn_back", | ||||||
|  |               "x": 30, | ||||||
|  |               "y": 28, | ||||||
|  |               "width": 52, | ||||||
|  |               "height": 34, | ||||||
|  |               "_mouseState": 2, | ||||||
|  |               "mouseThrough": true, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "stateNum": 1, | ||||||
|  |               "skin": "res://06a9c4a8-d664-4f3a-9c35-25b610195ced", | ||||||
|  |               "label": "", | ||||||
|  |               "labelSize": 20, | ||||||
|  |               "labelAlign": "center", | ||||||
|  |               "labelVAlign": "middle" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "txy9xvpy", | ||||||
|  |               "_$type": "Label", | ||||||
|  |               "name": "label_title", | ||||||
|  |               "x": 92, | ||||||
|  |               "y": 15, | ||||||
|  |               "width": 500, | ||||||
|  |               "height": 60, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "text": "Back", | ||||||
|  |               "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |               "fontSize": 44, | ||||||
|  |               "color": "rgba(45, 49, 56, 1)", | ||||||
|  |               "bold": true, | ||||||
|  |               "valign": "middle", | ||||||
|  |               "padding": "0,0,0,0" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/dc/TrophyRoom_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/dc/TrophyRoom_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "7c4f74c1-cf8b-4181-9dc1-f84b44ab89a1" | ||||||
|  | } | ||||||
| @@ -12,7 +12,7 @@ | |||||||
|   "_$comp": [ |   "_$comp": [ | ||||||
|     { |     { | ||||||
|       "_$type": "42f2370b-c65c-4119-8725-6d4520582431", |       "_$type": "42f2370b-c65c-4119-8725-6d4520582431", | ||||||
|       "scriptPath": "../src/views/TrophyShow.ts", |       "scriptPath": "../src/views/dc/TrophyShow.ts", | ||||||
|       "icon": { |       "icon": { | ||||||
|         "_$ref": "ln9pnpqz" |         "_$ref": "ln9pnpqz" | ||||||
|       }, |       }, | ||||||
| @@ -134,6 +134,7 @@ | |||||||
|           "bottom": 10, |           "bottom": 10, | ||||||
|           "centerX": 0, |           "centerX": 0, | ||||||
|           "text": "Sep 11, 2024", |           "text": "Sep 11, 2024", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|           "fontSize": 60, |           "fontSize": 60, | ||||||
|           "color": "#FFFFFF", |           "color": "#FFFFFF", | ||||||
|           "align": "center", |           "align": "center", | ||||||
							
								
								
									
										147
									
								
								assets/resources/dc/TrophyShow_H.lh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										147
									
								
								assets/resources/dc/TrophyShow_H.lh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,147 @@ | |||||||
|  | { | ||||||
|  |   "_$ver": 1, | ||||||
|  |   "_$id": "seuym1oo", | ||||||
|  |   "_$type": "Box", | ||||||
|  |   "name": "TrophyShow_H", | ||||||
|  |   "width": 1920, | ||||||
|  |   "height": 1080, | ||||||
|  |   "left": 0, | ||||||
|  |   "right": 0, | ||||||
|  |   "top": 0, | ||||||
|  |   "bottom": 0, | ||||||
|  |   "_$comp": [ | ||||||
|  |     { | ||||||
|  |       "_$type": "42f2370b-c65c-4119-8725-6d4520582431", | ||||||
|  |       "scriptPath": "../src/views/dc/TrophyShow.ts", | ||||||
|  |       "icon": { | ||||||
|  |         "_$ref": "4r5ny6w7" | ||||||
|  |       }, | ||||||
|  |       "label_date": { | ||||||
|  |         "_$ref": "usx3pwpf" | ||||||
|  |       }, | ||||||
|  |       "btn_close": { | ||||||
|  |         "_$ref": "ac23juv7" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "_$child": [ | ||||||
|  |     { | ||||||
|  |       "_$id": "9zrpe4y7", | ||||||
|  |       "_$type": "Image", | ||||||
|  |       "name": "Image", | ||||||
|  |       "width": 1920, | ||||||
|  |       "height": 1080, | ||||||
|  |       "alpha": 0.8, | ||||||
|  |       "left": 0, | ||||||
|  |       "right": 0, | ||||||
|  |       "top": 0, | ||||||
|  |       "bottom": 0, | ||||||
|  |       "skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609", | ||||||
|  |       "color": "#000000" | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "_$id": "jvo3s6e8", | ||||||
|  |       "_$type": "Box", | ||||||
|  |       "name": "center", | ||||||
|  |       "x": 480, | ||||||
|  |       "y": -125, | ||||||
|  |       "width": 960, | ||||||
|  |       "height": 960, | ||||||
|  |       "centerX": 0, | ||||||
|  |       "centerY": -185, | ||||||
|  |       "_$child": [ | ||||||
|  |         { | ||||||
|  |           "_$id": "dol8u5bz", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "img_light_yellow", | ||||||
|  |           "width": 960, | ||||||
|  |           "height": 960, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "centerY": 0, | ||||||
|  |           "skin": "res://0403c03d-0fbb-4930-8cf7-c4bf0f4d45b9", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "4r5ny6w7", | ||||||
|  |           "_$type": "Image", | ||||||
|  |           "name": "trophy", | ||||||
|  |           "x": 108, | ||||||
|  |           "y": 108, | ||||||
|  |           "width": 744, | ||||||
|  |           "height": 744, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "centerY": 0, | ||||||
|  |           "skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537", | ||||||
|  |           "color": "#ffffff" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "ac23juv7", | ||||||
|  |           "_$type": "Box", | ||||||
|  |           "name": "btn_close", | ||||||
|  |           "x": 414, | ||||||
|  |           "y": 1044, | ||||||
|  |           "width": 132, | ||||||
|  |           "height": 132, | ||||||
|  |           "bottom": -216, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "_$child": [ | ||||||
|  |             { | ||||||
|  |               "_$id": "juo5bxev", | ||||||
|  |               "_$type": "Sprite", | ||||||
|  |               "name": "Sprite", | ||||||
|  |               "width": 132, | ||||||
|  |               "height": 132, | ||||||
|  |               "alpha": 0.1, | ||||||
|  |               "mouseThrough": true, | ||||||
|  |               "_gcmds": [ | ||||||
|  |                 { | ||||||
|  |                   "_$type": "DrawCircleCmd", | ||||||
|  |                   "x": 0.5, | ||||||
|  |                   "y": 0.5, | ||||||
|  |                   "radius": 0.5, | ||||||
|  |                   "percent": true, | ||||||
|  |                   "lineWidth": 1, | ||||||
|  |                   "fillColor": "#FFFFFF" | ||||||
|  |                 } | ||||||
|  |               ] | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "_$id": "lykx30us", | ||||||
|  |               "_$type": "Image", | ||||||
|  |               "name": "icon_x", | ||||||
|  |               "x": 43, | ||||||
|  |               "y": 44, | ||||||
|  |               "width": 46, | ||||||
|  |               "height": 45, | ||||||
|  |               "mouseThrough": true, | ||||||
|  |               "centerX": 0, | ||||||
|  |               "centerY": 0, | ||||||
|  |               "skin": "res://f558f5db-ce87-4707-92ac-0c0f426844f0", | ||||||
|  |               "useSourceSize": true, | ||||||
|  |               "color": "#ffffff" | ||||||
|  |             } | ||||||
|  |           ] | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "_$id": "usx3pwpf", | ||||||
|  |           "_$type": "Label", | ||||||
|  |           "name": "label_date", | ||||||
|  |           "x": 30, | ||||||
|  |           "y": 890, | ||||||
|  |           "width": 900, | ||||||
|  |           "height": 60, | ||||||
|  |           "alpha": 0.8, | ||||||
|  |           "bottom": 10, | ||||||
|  |           "centerX": 0, | ||||||
|  |           "text": "Sep 11, 2024", | ||||||
|  |           "font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2", | ||||||
|  |           "fontSize": 60, | ||||||
|  |           "color": "#FFFFFF", | ||||||
|  |           "align": "center", | ||||||
|  |           "valign": "middle", | ||||||
|  |           "padding": "0,0,0,0" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								assets/resources/dc/TrophyShow_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								assets/resources/dc/TrophyShow_H.lh.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "d2027970-69ba-4fcb-9d43-6d9adcb5756b" | ||||||
|  | } | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| { | { | ||||||
|   "resolution": { |   "resolution": { | ||||||
|     "designWidth": 1920, |     "designWidth": 1080, | ||||||
|     "designHeight": 1080, |     "designHeight": 1920, | ||||||
|     "backgroundColor": "rgba(245, 247, 251, 1)" |     "backgroundColor": "rgba(245, 247, 251, 1)" | ||||||
|   }, |   }, | ||||||
|   "modules": { |   "modules": { | ||||||
|   | |||||||
| @@ -4,24 +4,50 @@ import { config } from "./config"; | |||||||
| export const respath = { | export const respath = { | ||||||
|   home_ui_res: "resources/Home.lh", |   home_ui_res: "resources/Home.lh", | ||||||
|   topbar_ui_res: "resources/TopBar.lh", |   topbar_ui_res: "resources/TopBar.lh", | ||||||
|   dc_ui_res: "resources/DailyChallenge.lh", |  | ||||||
|   trophy_claim_ui_res: "resources/TrophyClaim.lh", |  | ||||||
|   trophy_show_ui_res: "resources/TrophyShow.lh", |  | ||||||
|   trophy_ui_res: "resources/TrophyRoom.lh", |  | ||||||
|   trophy_year_ui_res: "resources/TrophyRoomYear.lh", |  | ||||||
|   trophy_cell_ui_res: "resources/TrophyRoomCell.lh", |  | ||||||
|   stage_ui_res: function func(): string { |   stage_ui_res: function func(): string { | ||||||
|     return config.H_SCREEN ? "resources/Stage_H.lh" : "resources/Stage.lh" |     return config.H_SCREEN ? "resources/Stage_H.lh" : "resources/Stage.lh" | ||||||
|   },  |   },  | ||||||
|  |  | ||||||
|   gamepause_ui_res: "resources/GamePause.lh", |   gamepause_ui_res: function func(): string { | ||||||
|   gameover_ui_res: "resources/GameOver.lh", |     return config.H_SCREEN ? "resources/GamePause_H.lh" : "resources/GamePause.lh" | ||||||
|   gamedone_ui_res: "resources/GameDone.lh", |   }, | ||||||
|  |   gameover_ui_res: function func(): string { | ||||||
|  |     return config.H_SCREEN ? "resources/GameOver_H.lh" : "resources/GameOver.lh" | ||||||
|  |   }, | ||||||
|  |   gamedone_ui_res: function func(isClassic: boolean): string { | ||||||
|  |     if (isClassic) { | ||||||
|  |       return config.H_SCREEN ? "resources/GameDone_Normal_H.lh" : "resources/GameDone_Normal.lh" | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|  |       return config.H_SCREEN ? "resources/GameDone_DC_H.lh" : "resources/GameDone_DC.lh" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |  | ||||||
|   score_add_ui_res: "resources/ScoreAdd.lh", |   score_add_ui_res: "resources/ScoreAdd.lh", | ||||||
|  |   common_tips_ui_res: "resources/CommonTips.lh", | ||||||
|   difficulty_ui_res: "resources/Difficulty.lh", |   difficulty_ui_res: "resources/Difficulty.lh", | ||||||
|  |  | ||||||
|  |   dc_ui_res: function func(): string { | ||||||
|  |     return config.H_SCREEN ? "resources/dc/DailyChallenge_H.lh" : "resources/dc/DailyChallenge.lh" | ||||||
|  |   }, | ||||||
|  |   trophy_claim_ui_res: function func(): string { | ||||||
|  |     return config.H_SCREEN ? "resources/dc/TrophyClaim_H.lh" : "resources/dc/TrophyClaim.lh" | ||||||
|  |   }, | ||||||
|  |   trophy_show_ui_res: function func(): string { | ||||||
|  |     return config.H_SCREEN ? "resources/dc/TrophyShow_H.lh" : "resources/dc/TrophyShow.lh" | ||||||
|  |   }, | ||||||
|  |   trophy_ui_res: function func(): string { | ||||||
|  |     return config.H_SCREEN ? "resources/dc/TrophyRoom_H.lh" : "resources/dc/TrophyRoom.lh" | ||||||
|  |   }, | ||||||
|  |   trophy_year_ui_res: function func(): string { | ||||||
|  |     return config.H_SCREEN ? "resources/dc/TrophyRoomYear_H.lh" : "resources/dc/TrophyRoomYear.lh" | ||||||
|  |   }, | ||||||
|  |   trophy_cell_ui_res: function func(): string { | ||||||
|  |     return config.H_SCREEN ? "resources/dc/TrophyRoomCell_H.lh" : "resources/dc/TrophyRoomCell.lh" | ||||||
|  |   }, | ||||||
|  |  | ||||||
|  |   //=============================== | ||||||
|   home_top_dc_bg_normal: "atlas/images/bg_dc_top1.png", |   home_top_dc_bg_normal: "atlas/images/bg_dc_top1.png", | ||||||
|   home_top_dc_bg_finish: "atlas/images/bg_dc_top2.png", |   home_top_dc_bg_finish: "atlas/images/bg_dc_top2.png", | ||||||
|   dc_top_bg_normal: "atlas/images/img_dc_bg2.png", |   dc_top_bg_normal: "atlas/images/img_dc_bg2.png", | ||||||
|   | |||||||
| @@ -60,7 +60,7 @@ export class StorageManager { | |||||||
|    |    | ||||||
|   public newStage(stageID: string, type: number, name: string, difficulty: string = config.DIFFICULTY_TYPE.Easy): DOStage { |   public newStage(stageID: string, type: number, name: string, difficulty: string = config.DIFFICULTY_TYPE.Easy): DOStage { | ||||||
|     this.stageID = stageID |     this.stageID = stageID | ||||||
|     this.stageChanged = false |     this.stageChanged = true | ||||||
|  |  | ||||||
|     var index |     var index | ||||||
|     if (type == config.STAGE_TYPE.MAIN) {//主线关卡 |     if (type == config.STAGE_TYPE.MAIN) {//主线关卡 | ||||||
| @@ -79,14 +79,14 @@ export class StorageManager { | |||||||
|       index = Math.floor(random*list.length) |       index = Math.floor(random*list.length) | ||||||
|       console.log("每日挑战随机一个关卡", difficulty, index) |       console.log("每日挑战随机一个关卡", difficulty, index) | ||||||
|     } |     } | ||||||
|  |     this.user.update_stage_done(this.stageID, 0)//重置关卡进度 | ||||||
|     var dataStage: DataStage = createDataStage(stageID, type, name, difficulty, index) |     var dataStage: DataStage = createDataStage(stageID, type, name, difficulty, index) | ||||||
|     var doStage: DOStage = new DOStage(dataStage) |     var doStage: DOStage = new DOStage(dataStage) | ||||||
|     this.stageMap.set(stageID, doStage) |     this.stageMap.set(stageID, doStage) | ||||||
|     return doStage |     return doStage | ||||||
|   } |   } | ||||||
|   public loadStage(stageID: string): DOStage { |  | ||||||
|     this.stageID = stageID |   public getStage(stageID: string): DOStage {//获取指定关卡数据对象,注意判空 | ||||||
|     this.stageChanged = false |  | ||||||
|     if (this.stageMap.has(stageID)) { |     if (this.stageMap.has(stageID)) { | ||||||
|         var doStage: DOStage = this.stageMap.get(stageID) |         var doStage: DOStage = this.stageMap.get(stageID) | ||||||
|         return doStage |         return doStage | ||||||
| @@ -102,25 +102,19 @@ export class StorageManager { | |||||||
|     } |     } | ||||||
|     return null |     return null | ||||||
|   } |   } | ||||||
|   public getStage(): DOStage {//获取当前关卡数据对象,注意判空 |  | ||||||
|     if (this.stageID && this.stageMap) { |   public loadStage(stageID: string): DOStage {//载入关卡 | ||||||
|       return this.stageMap.get(this.stageID) |     var doStage = this.getStage(stageID) | ||||||
|  |     if (doStage) { | ||||||
|  |       this.stageID = stageID | ||||||
|  |       this.stageChanged = false | ||||||
|  |       return doStage | ||||||
|     } |     } | ||||||
|  |     console.log("载入关卡失败>>>>>", stageID) | ||||||
|     return null |     return null | ||||||
|   } |   } | ||||||
|   public cleanStage(): void {//清空当前关卡数据对象,注意判空 |  | ||||||
|     this.user.update_stage_done(this.stageID, 0) |  | ||||||
|     if (this.stageMap.has(this.stageID)) { |  | ||||||
|       this.stageMap.delete(this.stageID) |  | ||||||
|     } |  | ||||||
|     Laya.LocalStorage.removeItem(this.stageID) |  | ||||||
|     this.stageID = "" |  | ||||||
|     this.stageChanged = false |  | ||||||
|   } |  | ||||||
|   public cleanMainStage(): void {//清空主线关卡数据 |  | ||||||
|     this.stageID = config.DEFAULT_STAGE_ID |  | ||||||
|     this.cleanStage() |  | ||||||
|   } |  | ||||||
|   public saveStage(): void { |   public saveStage(): void { | ||||||
|     if (this.stageChanged) { |     if (this.stageChanged) { | ||||||
|       this.stageChanged = false |       this.stageChanged = false | ||||||
|   | |||||||
| @@ -6,6 +6,11 @@ import { TrophyRecord } from "../types/global" | |||||||
| import { TrophyClaim } from "../views/dc/TrophyClaim" | import { TrophyClaim } from "../views/dc/TrophyClaim" | ||||||
| import { TrophyShow } from "../views/dc/TrophyShow" | import { TrophyShow } from "../views/dc/TrophyShow" | ||||||
| import { config } from "../constants/config" | import { config } from "../constants/config" | ||||||
|  | import { TrophyRoom } from "../views/dc/TrophyRoom" | ||||||
|  | import { DOStage } from "./DOStage" | ||||||
|  | import { GamePause } from "../views/GamePause" | ||||||
|  | import { GameOver } from "../views/GameOver" | ||||||
|  | import { GameDone } from "../views/GameDone" | ||||||
|  |  | ||||||
|  |  | ||||||
| const { regClass, property } = Laya | const { regClass, property } = Laya | ||||||
| @@ -33,6 +38,8 @@ export class UIManager extends Laya.Script { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   private stage: Stage |   private stage: Stage | ||||||
|  |   private dc_ui: DailyChallenge | ||||||
|  |   private trophyRoom: TrophyRoom | ||||||
|  |  | ||||||
|  |  | ||||||
|   public getUIRoot(): Laya.Node { |   public getUIRoot(): Laya.Node { | ||||||
| @@ -54,15 +61,21 @@ export class UIManager extends Laya.Script { | |||||||
|   } |   } | ||||||
|    |    | ||||||
|   public loadDCUI(): void { |   public loadDCUI(): void { | ||||||
|     Laya.loader.load(respath.dc_ui_res).then((go)=>{ |     Laya.loader.load(respath.dc_ui_res()).then((go)=>{ | ||||||
|       var prefab = go.create() |       var prefab = go.create() | ||||||
|       var dc = this.getUIRoot().addChild(prefab).getComponent(DailyChallenge) |       this.dc_ui = this.getUIRoot().addChild(prefab).getComponent(DailyChallenge) | ||||||
|       dc.loadWithMonth() |       this.dc_ui.loadWithMonth() | ||||||
|     }) |     }) | ||||||
|   } |   } | ||||||
|  |   public closeDCUI(): void { | ||||||
|  |     if (this.dc_ui) { | ||||||
|  |       this.dc_ui.owner.destroy() | ||||||
|  |       this.dc_ui = null | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  |  | ||||||
|   public loadTrophyClaimUI(record: TrophyRecord): void { |   public loadTrophyClaimUI(record: TrophyRecord): void { | ||||||
|     Laya.loader.load(respath.trophy_claim_ui_res).then((go)=>{ |     Laya.loader.load(respath.trophy_claim_ui_res()).then((go)=>{ | ||||||
|       var prefab = go.create() |       var prefab = go.create() | ||||||
|       var obj = this.getUIRoot().addChild(prefab).getComponent(TrophyClaim) |       var obj = this.getUIRoot().addChild(prefab).getComponent(TrophyClaim) | ||||||
|       obj.onSetShow(record) |       obj.onSetShow(record) | ||||||
| @@ -70,14 +83,20 @@ export class UIManager extends Laya.Script { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public loadTrophyUI(): void { |   public loadTrophyUI(): void { | ||||||
|     Laya.loader.load(respath.trophy_ui_res).then((go)=>{ |     Laya.loader.load(respath.trophy_ui_res()).then((go)=>{ | ||||||
|       var prefab = go.create() |       var prefab = go.create() | ||||||
|       this.getUIRoot().addChild(prefab) |       this.trophyRoom = this.getUIRoot().addChild(prefab).getComponent(TrophyRoom) | ||||||
|     }) |     }) | ||||||
|   } |   } | ||||||
|  |   public closeTrophyUI(): void { | ||||||
|  |     if (this.trophyRoom) { | ||||||
|  |       this.trophyRoom.owner.destroy() | ||||||
|  |       this.trophyRoom = null | ||||||
|  |     }     | ||||||
|  |   } | ||||||
|  |  | ||||||
|   public loadTrophyShowUI(record: TrophyRecord): void { |   public loadTrophyShowUI(record: TrophyRecord): void { | ||||||
|     Laya.loader.load(respath.trophy_show_ui_res).then((go)=>{ |     Laya.loader.load(respath.trophy_show_ui_res()).then((go)=>{ | ||||||
|       var prefab = go.create() |       var prefab = go.create() | ||||||
|       var obj = this.getUIRoot().addChild(prefab).getComponent(TrophyShow) |       var obj = this.getUIRoot().addChild(prefab).getComponent(TrophyShow) | ||||||
|       obj.onSetShow(record) |       obj.onSetShow(record) | ||||||
| @@ -103,22 +122,25 @@ export class UIManager extends Laya.Script { | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public loadGamePauseUI(): void { |   public loadGamePauseUI(doStage: DOStage): void { | ||||||
|     Laya.loader.load(respath.gamepause_ui_res).then((go)=>{ |     Laya.loader.load(respath.gamepause_ui_res()).then((go)=>{ | ||||||
|       var prefab = go.create() |       var prefab = go.create() | ||||||
|       this.getUIRoot().addChild(prefab) |       var ui = this.getUIRoot().addChild(prefab).getComponent(GamePause) | ||||||
|  |       ui.onSetStageInfo(doStage) | ||||||
|     }) |     }) | ||||||
|   } |   } | ||||||
|   public loadGameOverUI(): void { |   public loadGameOverUI(doStage: DOStage): void { | ||||||
|     Laya.loader.load(respath.gameover_ui_res).then((go)=>{ |     Laya.loader.load(respath.gameover_ui_res()).then((go)=>{ | ||||||
|       var prefab = go.create() |       var prefab = go.create() | ||||||
|       this.getUIRoot().addChild(prefab) |       var ui = this.getUIRoot().addChild(prefab).getComponent(GameOver) | ||||||
|  |       ui.onSetStageInfo(doStage) | ||||||
|     }) |     }) | ||||||
|   } |   } | ||||||
|   public loadGameDoneUI(): void { |   public loadGameDoneUI(isClassic: boolean, doStage: DOStage): void { | ||||||
|     Laya.loader.load(respath.gamedone_ui_res).then((go)=>{ |     Laya.loader.load(respath.gamedone_ui_res(isClassic)).then((go)=>{ | ||||||
|       var prefab = go.create() |       var prefab = go.create() | ||||||
|       this.getUIRoot().addChild(prefab) |       var ui = this.getUIRoot().addChild(prefab).getComponent(GameDone) | ||||||
|  |       ui.onSetStageInfo(doStage) | ||||||
|     }) |     }) | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,6 @@ | |||||||
| import { G_ShowScoreTips } from "../views/common/GUITips"; | import { G_ShowScoreTips } from "../views/common/GUITips"; | ||||||
| import { DOBlock } from "../models/DOBlock"; | import { DOBlock } from "../models/DOBlock"; | ||||||
|  | import { config } from "../constants/config"; | ||||||
|  |  | ||||||
| const { regClass, property } = Laya; | const { regClass, property } = Laya; | ||||||
|  |  | ||||||
| @@ -59,12 +60,15 @@ export class Block extends Laya.Script { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     public setBlockColor(color: string, alpha: number=1, animated: boolean=false, completedColor: string = "", completedAlpha: number=1): void { |     public setBlockColor(color: string, alpha: number=1, animated: boolean=false, completedColor: string = "", completedAlpha: number=1): void { | ||||||
|  |         var blockSize = 116 | ||||||
|  |         if (config.H_SCREEN) | ||||||
|  |             blockSize = 96 | ||||||
|         this.owner.graphics.clear() |         this.owner.graphics.clear() | ||||||
|         this.owner.graphics.drawRect(0, 0, 116, 116, color) |         this.owner.graphics.drawRect(0, 0, blockSize, blockSize, color) | ||||||
|         if (animated) { |         if (animated) { | ||||||
|             Laya.Tween.to(this.owner, {alpha:alpha}, 500, Laya.Ease.elasticOut, Laya.Handler.create(this, () => { |             Laya.Tween.to(this.owner, {alpha:alpha}, 500, Laya.Ease.elasticOut, Laya.Handler.create(this, () => { | ||||||
|                 this.owner.graphics.clear() |                 this.owner.graphics.clear() | ||||||
|                 this.owner.graphics.drawRect(0, 0, 116, 116, completedColor) |                 this.owner.graphics.drawRect(0, 0, blockSize, blockSize, completedColor) | ||||||
|                 this.owner.alpha = completedAlpha |                 this.owner.alpha = completedAlpha | ||||||
|             })) |             })) | ||||||
|         } |         } | ||||||
| @@ -92,11 +96,14 @@ export class Block extends Laya.Script { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     public setTipsBgColor(visible: boolean, noteNumber: number=0, color: string="", alpha: number=1): void { |     public setTipsBgColor(visible: boolean, noteNumber: number=0, color: string="", alpha: number=1): void { | ||||||
|  |         var blockSize = 38 | ||||||
|  |         if (config.H_SCREEN) | ||||||
|  |             blockSize = 30 | ||||||
|         if (visible) { |         if (visible) { | ||||||
|             var obj = this.tips_bgs[noteNumber-1] |             var obj = this.tips_bgs[noteNumber-1] | ||||||
|             obj.visible = true |             obj.visible = true | ||||||
|             obj.graphics.clear() |             obj.graphics.clear() | ||||||
|             obj.graphics.drawRect(0, 0, 38, 38, color) |             obj.graphics.drawRect(0, 0, blockSize, blockSize, color) | ||||||
|             obj.alpha = alpha |             obj.alpha = alpha | ||||||
|         } |         } | ||||||
|         else { |         else { | ||||||
|   | |||||||
							
								
								
									
										59
									
								
								src/views/CommonTips.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								src/views/CommonTips.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,59 @@ | |||||||
|  | import { respath } from "../constants/respath"; | ||||||
|  | import { UIManager } from "../models/UIManager"; | ||||||
|  |  | ||||||
|  | const { regClass, property } = Laya; | ||||||
|  |  | ||||||
|  |  | ||||||
|  | export function G_ShowCommonTips(title: string, content: string, showToggle: boolean, func: any): void { | ||||||
|  |     Laya.loader.load(respath.common_tips_ui_res).then((go)=>{ | ||||||
|  |         var prefab = go.create() | ||||||
|  |         var obj = UIManager.getInstance().getUIRoot().addChild(prefab).getComponent(CommonTips) | ||||||
|  |         obj.showCommonTips(title, content, showToggle, func) | ||||||
|  |     }) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | @regClass() | ||||||
|  | export class CommonTips extends Laya.Script { | ||||||
|  |     declare owner : Laya.Box; | ||||||
|  |  | ||||||
|  |     @property(Laya.Label) | ||||||
|  |     public label_title: Laya.Label | ||||||
|  |     @property(Laya.Label) | ||||||
|  |     public label_content: Laya.Label | ||||||
|  |  | ||||||
|  |     @property(Laya.Box) | ||||||
|  |     public btn_ok: Laya.Box | ||||||
|  |     @property(Laya.Box) | ||||||
|  |     public btn_cancel: Laya.Box | ||||||
|  |  | ||||||
|  |     @property(Laya.Box) | ||||||
|  |     public toggle: Laya.Box | ||||||
|  |     @property(Laya.Image) | ||||||
|  |     public check: Laya.Image | ||||||
|  |     private isChecked = false | ||||||
|  |  | ||||||
|  |     public showCommonTips(title: string, content: string, showToggle: boolean, func: any): void { | ||||||
|  |         this.label_title.text = title | ||||||
|  |         this.label_content.text = content | ||||||
|  |         this.toggle.visible = showToggle | ||||||
|  |         this.check.visible = false | ||||||
|  |         this.toggle.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|  |             this.isChecked = !this.isChecked | ||||||
|  |             this.check.visible = this.isChecked | ||||||
|  |         }) | ||||||
|  |  | ||||||
|  |         this.btn_ok.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|  |             if (func) { | ||||||
|  |                 func(true, this.isChecked) | ||||||
|  |             } | ||||||
|  |             this.owner.destroy() | ||||||
|  |         }) | ||||||
|  |         this.btn_cancel.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|  |             if (func) { | ||||||
|  |                 func(false, this.isChecked) | ||||||
|  |             } | ||||||
|  |             this.owner.destroy() | ||||||
|  |         }) | ||||||
|  |  | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								src/views/CommonTips.ts.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/views/CommonTips.ts.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | { | ||||||
|  |   "uuid": "b0dfcf08-5aef-4078-8149-1fbd00d8038f" | ||||||
|  | } | ||||||
| @@ -3,8 +3,8 @@ import { StorageManager } from "../models/StorageManager"; | |||||||
| import { Utility_ConvertSecondToString } from "../utils/utility"; | import { Utility_ConvertSecondToString } from "../utils/utility"; | ||||||
| import { respath } from "../constants/respath"; | import { respath } from "../constants/respath"; | ||||||
| import { Difficulty } from "./Difficulty"; | import { Difficulty } from "./Difficulty"; | ||||||
| import { LevelManager } from "../models/LevelManager"; |  | ||||||
| import { config } from "../constants/config"; | import { config } from "../constants/config"; | ||||||
|  | import { DOStage } from "../models/DOStage"; | ||||||
|  |  | ||||||
| const { regClass, property } = Laya; | const { regClass, property } = Laya; | ||||||
|  |  | ||||||
| @@ -12,13 +12,6 @@ const { regClass, property } = Laya; | |||||||
| export class GameDone extends Laya.Script { | export class GameDone extends Laya.Script { | ||||||
|     declare owner : Laya.Box; |     declare owner : Laya.Box; | ||||||
|  |  | ||||||
|     @property(Laya.Box) |  | ||||||
|     public obj_top: Laya.Box |  | ||||||
|     @property(Laya.Box) |  | ||||||
|     public obj_stars: Laya.Box |  | ||||||
|     @property(Laya.Image) |  | ||||||
|     public obj_star: Laya.Image |  | ||||||
|  |  | ||||||
|     @property(Laya.Label) |     @property(Laya.Label) | ||||||
|     public label_diffucuty: Laya.Label |     public label_diffucuty: Laya.Label | ||||||
|     @property(Laya.Label) |     @property(Laya.Label) | ||||||
| @@ -35,52 +28,56 @@ export class GameDone extends Laya.Script { | |||||||
|  |  | ||||||
|  |  | ||||||
|     onStart(): void { |     onStart(): void { | ||||||
|       var doStage = StorageManager.getInstance().getStage() |  | ||||||
|       var type = doStage.get_stageType() |     } | ||||||
|       if (type == config.STAGE_TYPE.MAIN) { |  | ||||||
|         this.obj_top.y = 356 |     public onSetStageInfo(doStage: DOStage): void { | ||||||
|         this.obj_stars.visible = true |  | ||||||
|         this.obj_star.visible = false |  | ||||||
|         this.btn_new.visible = true |  | ||||||
|         this.btn_home.visible = true |  | ||||||
|         this.btn_continue.visible = false |  | ||||||
|       } |  | ||||||
|       else { |  | ||||||
|         this.obj_top.y = 456 |  | ||||||
|         this.obj_stars.visible = false |  | ||||||
|         this.obj_star.visible = true |  | ||||||
|         this.btn_new.visible = false |  | ||||||
|         this.btn_home.visible = false |  | ||||||
|         this.btn_continue.visible = true |  | ||||||
|       } |  | ||||||
|       this.label_diffucuty.text = doStage.get_difficulty() |       this.label_diffucuty.text = doStage.get_difficulty() | ||||||
|       this.label_time.text = Utility_ConvertSecondToString(doStage.get_duration()) |       this.label_time.text = Utility_ConvertSecondToString(doStage.get_duration()) | ||||||
|       this.label_score.text = doStage.get_score().toString() |       this.label_score.text = doStage.get_score().toString() | ||||||
|  |  | ||||||
|       this.btn_new.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { |       this.btn_new.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { | ||||||
|         Laya.loader.load(respath.difficulty_ui_res).then((go)=>{ |         if (config.H_SCREEN) { | ||||||
|           var prefab = go.create() |             var user = StorageManager.getInstance().getUser() | ||||||
|           var d = UIManager.getInstance().getUIRoot().addChild(prefab).getComponent(Difficulty) |             user.update_progress(doStage.get_difficulty(), doStage.get_stageIndex()+1)//主线关卡更新难度进度 | ||||||
|           d.onInit((value: string)=> { |             StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, doStage.get_difficulty(), doStage.get_difficulty()) | ||||||
|             console.log("选择难度", value) |  | ||||||
|             StorageManager.getInstance().cleanStage() |  | ||||||
|             StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, value, value) |  | ||||||
|             UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); |             UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); | ||||||
|             this.owner.destroy() |             this.owner.destroy() | ||||||
|  |         } | ||||||
|  |         else { | ||||||
|  |           Laya.loader.load(respath.difficulty_ui_res).then((go)=>{ | ||||||
|  |             var prefab = go.create() | ||||||
|  |             var d = UIManager.getInstance().getUIRoot().addChild(prefab).getComponent(Difficulty) | ||||||
|  |             d.onInit((value: string)=> { | ||||||
|  |               console.log("选择难度", value) | ||||||
|  |               StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, value, value) | ||||||
|  |               UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); | ||||||
|  |               this.owner.destroy() | ||||||
|  |             }) | ||||||
|           }) |           }) | ||||||
|         }) |         } | ||||||
|       }) |       }) | ||||||
|  |  | ||||||
|       this.btn_home.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { |       this.btn_continue.on(Laya.Event.CLICK, this, (evt: Laya.Event) => {//这个按钮只有从DC来的会显示 | ||||||
|         UIManager.getInstance().loadHomeUI() |  | ||||||
|         UIManager.getInstance().closeStageUI(); |  | ||||||
|         this.owner.destroy() |  | ||||||
|       }) |  | ||||||
|  |  | ||||||
|       this.btn_continue.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { |  | ||||||
|         UIManager.getInstance().loadDCUI() |         UIManager.getInstance().loadDCUI() | ||||||
|         UIManager.getInstance().closeStageUI(); |         UIManager.getInstance().closeStageUI(); | ||||||
|         this.owner.destroy() |         this.owner.destroy() | ||||||
|       }) |       }) | ||||||
|  |  | ||||||
|  |       this.btn_home.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { | ||||||
|  |         if (config.H_SCREEN) { | ||||||
|  |           UIManager.getInstance().closeDCUI() | ||||||
|  |           var user = StorageManager.getInstance().getUser() | ||||||
|  |           user.update_progress(doStage.get_difficulty(), doStage.get_stageIndex()+1)//主线关卡更新难度进度 | ||||||
|  |           StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, doStage.get_difficulty(), doStage.get_difficulty()) | ||||||
|  |           UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); | ||||||
|  |         } | ||||||
|  |         else { | ||||||
|  |           UIManager.getInstance().loadHomeUI() | ||||||
|  |           UIManager.getInstance().closeStageUI(); | ||||||
|  |         } | ||||||
|  |         this.owner.destroy() | ||||||
|  |       }) | ||||||
|  |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -2,9 +2,9 @@ import { respath } from "../constants/respath"; | |||||||
| import { config } from "../constants/config"; | import { config } from "../constants/config"; | ||||||
| import { UIManager } from "../models/UIManager"; | import { UIManager } from "../models/UIManager"; | ||||||
| import { StorageManager } from "../models/StorageManager"; | import { StorageManager } from "../models/StorageManager"; | ||||||
| import { LevelManager } from "../models/LevelManager"; |  | ||||||
| import { EventManager, EVENT_TYPES } from "../models/EventManager"; | import { EventManager, EVENT_TYPES } from "../models/EventManager"; | ||||||
| import { Difficulty } from "./Difficulty"; | import { Difficulty } from "./Difficulty"; | ||||||
|  | import { DOStage } from "../models/DOStage"; | ||||||
|  |  | ||||||
| const { regClass, property } = Laya; | const { regClass, property } = Laya; | ||||||
|  |  | ||||||
| @@ -24,44 +24,48 @@ export class GameOver extends Laya.Script { | |||||||
|     @property(Laya.Label) |     @property(Laya.Label) | ||||||
|     public label_newOrClose: Laya.Label |     public label_newOrClose: Laya.Label | ||||||
|      |      | ||||||
|     //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 |  | ||||||
|     onAwake(): void { |     public onSetStageInfo(doStage: DOStage): void { | ||||||
|  |  | ||||||
|       this.btn_second.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { |       this.btn_second.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { | ||||||
|             var doStage = StorageManager.getInstance().getStage() |  | ||||||
|             doStage.set_mistake(doStage.get_mistake()-1) |             doStage.set_mistake(doStage.get_mistake()-1) | ||||||
|             EventManager.getInstance().DispatchEvent(EVENT_TYPES.NOT_UPDATE_MISTAKE) |             EventManager.getInstance().DispatchEvent(EVENT_TYPES.NOT_UPDATE_MISTAKE) | ||||||
|             this.owner.destroy() |             this.owner.destroy() | ||||||
|       }) |       }) | ||||||
|  |  | ||||||
|       this.btn_restart.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { |       this.btn_restart.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { | ||||||
|             var doStage = StorageManager.getInstance().getStage() |  | ||||||
|             var stageID = doStage.get_stageID() |             var stageID = doStage.get_stageID() | ||||||
|             var type = doStage.get_stageType() |             var type = doStage.get_stageType() | ||||||
|             var difficulty = doStage.get_difficulty() |             var difficulty = doStage.get_difficulty() | ||||||
|             StorageManager.getInstance().cleanStage() |  | ||||||
|             StorageManager.getInstance().newStage(stageID, type, difficulty, difficulty) |             StorageManager.getInstance().newStage(stageID, type, difficulty, difficulty) | ||||||
|             UIManager.getInstance().loadStageUI(stageID); |             UIManager.getInstance().loadStageUI(stageID); | ||||||
|             this.owner.destroy() |             this.owner.destroy() | ||||||
|       }) |       }) | ||||||
|  |  | ||||||
|       var doStage = StorageManager.getInstance().getStage() |  | ||||||
|       var type = doStage.get_stageType() |       var type = doStage.get_stageType() | ||||||
|  |  | ||||||
|       if (type == config.STAGE_TYPE.MAIN) { |       if (type == config.STAGE_TYPE.MAIN) { | ||||||
|         this.label_newOrClose.text = "New Game" |         this.label_newOrClose.text = "New Game" | ||||||
|         this.btn_newOrClose.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { |         this.btn_newOrClose.on(Laya.Event.CLICK, this, (evt: Laya.Event) => { | ||||||
|           Laya.loader.load(respath.difficulty_ui_res).then((go)=>{ |           if (config.H_SCREEN) { | ||||||
|             var prefab = go.create() |             var user = StorageManager.getInstance().getUser() | ||||||
|             var d = UIManager.getInstance().getUIRoot().addChild(prefab).getComponent(Difficulty) |             user.update_progress(doStage.get_difficulty(), doStage.get_stageIndex()+1)//主线关卡更新难度进度 | ||||||
|             d.onInit((value: string)=> { |             var difficulty = doStage.get_difficulty() | ||||||
|               console.log("选择难度", value) |             StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, difficulty, difficulty) | ||||||
|               StorageManager.getInstance().cleanStage() |             UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); | ||||||
|               StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, value, value) |             this.owner.destroy() | ||||||
|               UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); |           } | ||||||
|               this.owner.destroy() |           else { | ||||||
|  |             Laya.loader.load(respath.difficulty_ui_res).then((go)=>{ | ||||||
|  |               var prefab = go.create() | ||||||
|  |               var d = UIManager.getInstance().getUIRoot().addChild(prefab).getComponent(Difficulty) | ||||||
|  |               d.onInit((value: string)=> { | ||||||
|  |                 console.log("选择难度", value) | ||||||
|  |                 StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, value, value) | ||||||
|  |                 UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); | ||||||
|  |                 this.owner.destroy() | ||||||
|  |               }) | ||||||
|             })  |             })  | ||||||
|           }) |           } | ||||||
|         }) |         }) | ||||||
|       } |       } | ||||||
|       else { |       else { | ||||||
| @@ -72,6 +76,6 @@ export class GameOver extends Laya.Script { | |||||||
|           this.owner.destroy() |           this.owner.destroy() | ||||||
|         }) |         }) | ||||||
|       } |       } | ||||||
|     } |  | ||||||
|  |  | ||||||
|  |     } | ||||||
| } | } | ||||||
| @@ -4,6 +4,7 @@ import { UIManager } from "../models/UIManager"; | |||||||
| import { StorageManager } from "../models/StorageManager"; | import { StorageManager } from "../models/StorageManager"; | ||||||
| import { Utility_ConvertSecondToString } from "../utils/utility"; | import { Utility_ConvertSecondToString } from "../utils/utility"; | ||||||
| import { EVENT_TYPES, EventManager } from "../models/EventManager"; | import { EVENT_TYPES, EventManager } from "../models/EventManager"; | ||||||
|  | import { DOStage } from "../models/DOStage"; | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -27,7 +28,9 @@ export class GamePause extends Laya.Script { | |||||||
|     //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 |     //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 | ||||||
|     onAwake(): void { |     onAwake(): void { | ||||||
|      |      | ||||||
|       var doStage = StorageManager.getInstance().getStage() |     } | ||||||
|  |  | ||||||
|  |     public onSetStageInfo(doStage: DOStage): void { | ||||||
|  |  | ||||||
|       this.label_time.text = Utility_ConvertSecondToString(doStage.get_duration()) |       this.label_time.text = Utility_ConvertSecondToString(doStage.get_duration()) | ||||||
|       this.label_diffucuty.text = doStage.get_difficulty() |       this.label_diffucuty.text = doStage.get_difficulty() | ||||||
| @@ -42,7 +45,6 @@ export class GamePause extends Laya.Script { | |||||||
|         var stageID = doStage.get_stageID() |         var stageID = doStage.get_stageID() | ||||||
|         var type = doStage.get_stageType() |         var type = doStage.get_stageType() | ||||||
|         var difficulty = doStage.get_difficulty() |         var difficulty = doStage.get_difficulty() | ||||||
|         StorageManager.getInstance().cleanStage() |  | ||||||
|         StorageManager.getInstance().newStage(stageID, type, difficulty, difficulty) |         StorageManager.getInstance().newStage(stageID, type, difficulty, difficulty) | ||||||
|         UIManager.getInstance().loadStageUI(stageID); |         UIManager.getInstance().loadStageUI(stageID); | ||||||
|         this.owner.destroy() |         this.owner.destroy() | ||||||
|   | |||||||
| @@ -115,13 +115,24 @@ export class Home extends Laya.Script { | |||||||
|         this.btn_go.visible = false |         this.btn_go.visible = false | ||||||
|       } |       } | ||||||
|       else { |       else { | ||||||
|         var doStage = StorageManager.getInstance().loadStage(config.DEFAULT_STAGE_ID) |         var doStage = StorageManager.getInstance().getStage(config.DEFAULT_STAGE_ID) | ||||||
|         if (doStage) { |         if (doStage) { | ||||||
|           console.log("当前主线关卡进行中") |           console.log("当前主线关卡进行中 mistake=", doStage.get_mistake()) | ||||||
|           var label_time = this.btn_go.getChildByName("time").getChildByName("label_time") as Laya.Label |           if (doStage.get_mistake() >= config.MISTAKE_MAX) { | ||||||
|           var duration = doStage.get_duration() |             this.btn_new_blue.visible = true | ||||||
|           var timeStr = Utility_ConvertSecondToString(duration) |             this.btn_new_white.visible = false | ||||||
|           label_time.text = `${timeStr} - ${doStage.get_difficulty()}` |             this.btn_go.visible = false | ||||||
|  |           } | ||||||
|  |           else { | ||||||
|  |             this.btn_new_blue.visible = false | ||||||
|  |             this.btn_new_white.visible = true | ||||||
|  |             this.btn_go.visible = true | ||||||
|  |              | ||||||
|  |             var label_time = this.btn_go.getChildByName("time").getChildByName("label_time") as Laya.Label | ||||||
|  |             var duration = doStage.get_duration() | ||||||
|  |             var timeStr = Utility_ConvertSecondToString(duration) | ||||||
|  |             label_time.text = `${timeStr} - ${doStage.get_difficulty()}` | ||||||
|  |           } | ||||||
|         } |         } | ||||||
|         else { |         else { | ||||||
|           console.log("当前主线关卡未开始") |           console.log("当前主线关卡未开始") | ||||||
| @@ -146,7 +157,6 @@ export class Home extends Laya.Script { | |||||||
|         var d = UIManager.getInstance().getUIRoot().addChild(prefab).getComponent(Difficulty) |         var d = UIManager.getInstance().getUIRoot().addChild(prefab).getComponent(Difficulty) | ||||||
|         d.onInit((value: string)=> { |         d.onInit((value: string)=> { | ||||||
|           console.log("选择难度", value) |           console.log("选择难度", value) | ||||||
|           StorageManager.getInstance().cleanMainStage() |  | ||||||
|           StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, value, value) |           StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, value, value) | ||||||
|           UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); |           UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID); | ||||||
|           this.owner.destroy() |           this.owner.destroy() | ||||||
|   | |||||||
| @@ -16,8 +16,11 @@ const { regClass, property } = Laya; | |||||||
| export class Stage extends Laya.Script { | export class Stage extends Laya.Script { | ||||||
|     declare owner : Laya.Box; |     declare owner : Laya.Box; | ||||||
|  |  | ||||||
|     @property(Laya.Button) |     @property(Laya.Box) | ||||||
|     public btn_back: Laya.Button |     public btn_back: Laya.Box | ||||||
|  |     @property(Laya.Box) | ||||||
|  |     public btn_new: Laya.Box | ||||||
|  |  | ||||||
|     @property(Laya.Button) |     @property(Laya.Button) | ||||||
|     public btn_pause: Laya.Button |     public btn_pause: Laya.Button | ||||||
|     @property(Laya.Label) |     @property(Laya.Label) | ||||||
| @@ -63,6 +66,7 @@ export class Stage extends Laya.Script { | |||||||
|     private static _instance: Stage |     private static _instance: Stage | ||||||
|     onAwake(): void { |     onAwake(): void { | ||||||
|         Stage._instance = this |         Stage._instance = this | ||||||
|  |  | ||||||
|         this.btn_back.on(Laya.Event.CLICK, this, ()=>{ |         this.btn_back.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|             if (this.data.get_stageType() == config.STAGE_TYPE.MAIN) { |             if (this.data.get_stageType() == config.STAGE_TYPE.MAIN) { | ||||||
|                 UIManager.getInstance().loadHomeUI(); |                 UIManager.getInstance().loadHomeUI(); | ||||||
| @@ -73,8 +77,19 @@ export class Stage extends Laya.Script { | |||||||
|                 UIManager.getInstance().closeStageUI(); |                 UIManager.getInstance().closeStageUI(); | ||||||
|             } |             } | ||||||
|         }) |         }) | ||||||
|  |  | ||||||
|  |         if (this.btn_new) { | ||||||
|  |             this.btn_new.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|  |                 var user = StorageManager.getInstance().getUser() | ||||||
|  |                 user.update_progress(this.data.get_difficulty(), this.data.get_stageIndex()+1)//主线关卡更新难度进度 | ||||||
|  |                 StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, this.data.get_difficulty(), this.data.get_difficulty()) | ||||||
|  |                 UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID) | ||||||
|  |             }) | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|         this.btn_pause.on(Laya.Event.CLICK, this, ()=>{ |         this.btn_pause.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|             UIManager.getInstance().loadGamePauseUI(); |             UIManager.getInstance().loadGamePauseUI(this.data); | ||||||
|         }) |         }) | ||||||
|         for (var i=0; i<this.obj_blocks.numChildren; i++) { |         for (var i=0; i<this.obj_blocks.numChildren; i++) { | ||||||
|             var hbox = this.obj_blocks.getChildAt(i); |             var hbox = this.obj_blocks.getChildAt(i); | ||||||
| @@ -142,11 +157,19 @@ export class Stage extends Laya.Script { | |||||||
|         this.data = doStage |         this.data = doStage | ||||||
|         this.paused = false |         this.paused = false | ||||||
|  |  | ||||||
|  |         if (config.H_SCREEN) { | ||||||
|  |             this.btn_back.visible = this.data.get_stageType() == config.STAGE_TYPE.DC | ||||||
|  |             this.btn_new.visible = this.data.get_stageType() == config.STAGE_TYPE.MAIN | ||||||
|  |         } | ||||||
|  |  | ||||||
|         this.onUpdateScore() |         this.onUpdateScore() | ||||||
|         this.label_name.text = this.data.get_stageName() |         this.label_name.text = this.data.get_stageName() | ||||||
|  |         if (this.data.get_stageType() == config.STAGE_TYPE.MAIN && config.H_SCREEN) | ||||||
|  |             this.label_name.text = "" | ||||||
|         this.onUpdateMistake() |         this.onUpdateMistake() | ||||||
|          |          | ||||||
|         this.label_time.text = Utility_ConvertSecondToString(this.data.get_duration()) |         this.label_time.text = Utility_ConvertSecondToString(this.data.get_duration()) | ||||||
|  |         Laya.timer.clearAll(this) | ||||||
|         Laya.timer.loop(1000, this, ()=>{ |         Laya.timer.loop(1000, this, ()=>{ | ||||||
|             if (this.paused) { |             if (this.paused) { | ||||||
|                 return |                 return | ||||||
| @@ -348,7 +371,7 @@ export class Stage extends Laya.Script { | |||||||
|         var show = this.selectedBlock.getData().get_show() |         var show = this.selectedBlock.getData().get_show() | ||||||
|         var notes = this.selectedBlock.getData().get_notes() |         var notes = this.selectedBlock.getData().get_notes() | ||||||
|         if (this.selectedBlock.getData().get_checked() == false) { |         if (this.selectedBlock.getData().get_checked() == false) { | ||||||
|             if (this.data.get_note_open()) { |             if (this.data.get_note_open() && hint == false) { | ||||||
|                 var relateds = this.findRelatedBlocks(this.selectedBlock) |                 var relateds = this.findRelatedBlocks(this.selectedBlock) | ||||||
|                 var find = false |                 var find = false | ||||||
|                 for (var i=0; i<relateds.length; i++) { |                 for (var i=0; i<relateds.length; i++) { | ||||||
| @@ -408,6 +431,7 @@ export class Stage extends Laya.Script { | |||||||
|                             this.data.set_score(score) |                             this.data.set_score(score) | ||||||
|                             if (this.data.get_stageType() == config.STAGE_TYPE.MAIN) {//主线关卡更新难度进度 |                             if (this.data.get_stageType() == config.STAGE_TYPE.MAIN) {//主线关卡更新难度进度 | ||||||
|                                 user.update_progress(this.data.get_difficulty(), this.data.get_stageIndex()+1) |                                 user.update_progress(this.data.get_difficulty(), this.data.get_stageIndex()+1) | ||||||
|  |                                 UIManager.getInstance().loadGameDoneUI(true, this.data) | ||||||
|                             } |                             } | ||||||
|                             else if (this.data.get_stageType() == config.STAGE_TYPE.DC) {//dc |                             else if (this.data.get_stageType() == config.STAGE_TYPE.DC) {//dc | ||||||
|                                 if (progress >= 1) {//完成每日挑战关卡检查是否或者当月奖杯 |                                 if (progress >= 1) {//完成每日挑战关卡检查是否或者当月奖杯 | ||||||
| @@ -424,8 +448,8 @@ export class Stage extends Laya.Script { | |||||||
|                                         user.add_trophy_record(nowYear, nowMonth, now.getDate()) |                                         user.add_trophy_record(nowYear, nowMonth, now.getDate()) | ||||||
|                                     } |                                     } | ||||||
|                                 } |                                 } | ||||||
|  |                                 UIManager.getInstance().loadGameDoneUI(false, this.data) | ||||||
|                             } |                             } | ||||||
|                             UIManager.getInstance().loadGameDoneUI() |  | ||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|                     else {//失败 |                     else {//失败 | ||||||
| @@ -434,7 +458,7 @@ export class Stage extends Laya.Script { | |||||||
|                         if (this.data.get_mistake() >= config.MISTAKE_MAX) { |                         if (this.data.get_mistake() >= config.MISTAKE_MAX) { | ||||||
|                             console.log("关卡失败") |                             console.log("关卡失败") | ||||||
|                             this.paused = true |                             this.paused = true | ||||||
|                             UIManager.getInstance().loadGameOverUI() |                             UIManager.getInstance().loadGameOverUI(this.data) | ||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|   | |||||||
| @@ -2,6 +2,7 @@ import { config } from "../constants/config"; | |||||||
| import { StorageManager } from "../models/StorageManager"; | import { StorageManager } from "../models/StorageManager"; | ||||||
| import { UIManager } from "../models/UIManager"; | import { UIManager } from "../models/UIManager"; | ||||||
| import { CommonData } from "./common/CommonData"; | import { CommonData } from "./common/CommonData"; | ||||||
|  | import { G_ShowCommonTips } from "./CommonTips"; | ||||||
|  |  | ||||||
| const { regClass, property } = Laya; | const { regClass, property } = Laya; | ||||||
|  |  | ||||||
| @@ -25,26 +26,56 @@ export class TopBar extends Laya.Script { | |||||||
|  |  | ||||||
|     private isClassic: boolean = true |     private isClassic: boolean = true | ||||||
|  |  | ||||||
|  |     @property(Laya.Label) | ||||||
|  |     public obj_label: Laya.Label | ||||||
|     @property(Laya.Box) |     @property(Laya.Box) | ||||||
|     public obj_items: Laya.Box |     public obj_items: Laya.Box | ||||||
|     private items: Map<string, Laya.Label> = new Map() |     private items: Map<string, Laya.Label> = new Map() | ||||||
|  |  | ||||||
|     onStart(): void {    |     onStart(): void {    | ||||||
|  |  | ||||||
|  |         //如果是第一次以横屏启动游戏需要创建经典关卡 | ||||||
|  |         var difficulty = Laya.LocalStorage.getItem("difficulty")//读取用户上次选择的难度 | ||||||
|  |         if (!difficulty || difficulty.length<=0) { | ||||||
|  |             difficulty = config.DIFFICULTY_TYPE.Easy | ||||||
|  |             Laya.LocalStorage.setItem("difficulty", difficulty) | ||||||
|  |         } | ||||||
|  |         var doStage = StorageManager.getInstance().getStage(config.DEFAULT_STAGE_ID) | ||||||
|  |         if (!doStage) { | ||||||
|  |             StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, difficulty, difficulty) | ||||||
|  |         } | ||||||
|  |         else { | ||||||
|  |             var user = StorageManager.getInstance().getUser() | ||||||
|  |             if (user.get_done(config.DEFAULT_STAGE_ID) >= 1) { | ||||||
|  |                 console.log("当前主线关卡完成") | ||||||
|  |                 user.update_progress(doStage.get_difficulty(), doStage.get_stageIndex()+1)//主线关卡更新难度进度 | ||||||
|  |                 StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, difficulty, difficulty) | ||||||
|  |             } | ||||||
|  |             else if (doStage.get_mistake() >= config.MISTAKE_MAX) {//上次失败了则重新开始 | ||||||
|  |                 StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, difficulty, difficulty) | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|         this.btn_classic.on(Laya.Event.CLICK, this, ()=>{ |         this.btn_classic.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|             if (this.isClassic == false) { |             if (this.isClassic == false) { | ||||||
|                 this.isClassic = true |                 this.isClassic = true | ||||||
|                 this.setLeftTab() |                 this.onClickTab() | ||||||
|             } |             } | ||||||
|         }) |         }) | ||||||
|         this.btn_dc.on(Laya.Event.CLICK, this, ()=>{ |         this.btn_dc.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|             if (this.isClassic) { |             if (this.isClassic) { | ||||||
|                 this.isClassic = false |                 this.isClassic = false | ||||||
|                 this.setLeftTab() |                 this.onClickTab() | ||||||
|             } |             } | ||||||
|         }) |         }) | ||||||
|         this.setLeftTab() |         this.onClickTab() | ||||||
|  |  | ||||||
|          |          | ||||||
|  |         var showToggle = Laya.LocalStorage.getItem("showToggle") | ||||||
|  |         if (!showToggle || showToggle.length <= 0) { | ||||||
|  |             Laya.LocalStorage.setItem("showToggle", "true") | ||||||
|  |         } | ||||||
|  |  | ||||||
|         for (var i=0; i<this.obj_items.numChildren; i++) { |         for (var i=0; i<this.obj_items.numChildren; i++) { | ||||||
|             var obj = this.obj_items.getChildAt(i) |             var obj = this.obj_items.getChildAt(i) | ||||||
|             var value = config.DIFFICULTY_LIST[i] |             var value = config.DIFFICULTY_LIST[i] | ||||||
| @@ -57,43 +88,59 @@ export class TopBar extends Laya.Script { | |||||||
|                 var common = evt.target.getComponent(CommonData) |                 var common = evt.target.getComponent(CommonData) | ||||||
|                 var difficulty = Laya.LocalStorage.getItem("difficulty") |                 var difficulty = Laya.LocalStorage.getItem("difficulty") | ||||||
|                 if (common.strValue != difficulty) { |                 if (common.strValue != difficulty) { | ||||||
|                     this.setDifficulty(common.strValue) |                     if (Laya.LocalStorage.getItem("showToggle")=="true") { | ||||||
|                     Laya.LocalStorage.setItem("difficulty", common.strValue)//记录横屏模式用户选择的难度 |                         var title = "Start New Game" | ||||||
|  |                         var content = "Current game progress will be lost" | ||||||
|                     StorageManager.getInstance().cleanStage() |                         G_ShowCommonTips(title, content, true, (ok: boolean, toggleValue: boolean)=>{ | ||||||
|                     StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, difficulty, difficulty) |                             if (ok) { | ||||||
|                     UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID) |                                 if (toggleValue) { | ||||||
|  |                                     Laya.LocalStorage.setItem("showToggle", "false") | ||||||
|  |                                 } | ||||||
|  |                                 this.onClickDifficulty(common.strValue) | ||||||
|  |                             } | ||||||
|  |                         }) | ||||||
|  |                     } | ||||||
|  |                     else { | ||||||
|  |                         this.onClickDifficulty(common.strValue) | ||||||
|  |                     } | ||||||
|                 } |                 } | ||||||
|             }) |             }) | ||||||
|         } |         } | ||||||
|  |         this.updateDifficulty(difficulty) | ||||||
|         //如果是第一次以横屏启动游戏需要创建经典关卡 |  | ||||||
|         var difficulty = Laya.LocalStorage.getItem("difficulty")//读取用户上次选择的难度 |  | ||||||
|         if (!difficulty || difficulty.length<=0) { |  | ||||||
|             difficulty = config.DIFFICULTY_TYPE.Easy |  | ||||||
|             Laya.LocalStorage.setItem("difficulty", difficulty) |  | ||||||
|         } |  | ||||||
|         var doStage = StorageManager.getInstance().loadStage(config.DEFAULT_STAGE_ID) |  | ||||||
|         if (!doStage) { |  | ||||||
|             StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, difficulty, difficulty) |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         this.setDifficulty(difficulty) |  | ||||||
|          |          | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     setLeftTab(): void { |     onClickTab(): void { | ||||||
|  |         if (this.isClassic) { | ||||||
|  |             UIManager.getInstance().closeTrophyUI() | ||||||
|  |             UIManager.getInstance().closeDCUI() | ||||||
|  |             UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID) | ||||||
|  |         } | ||||||
|  |         else { | ||||||
|  |             UIManager.getInstance().closeStageUI() | ||||||
|  |             UIManager.getInstance().loadDCUI() | ||||||
|  |         } | ||||||
|  |         this.updateLeftTab() | ||||||
|  |     } | ||||||
|  |     updateLeftTab(): void { | ||||||
|         this.sprite_classic.alpha = this.isClassic ? 1 : 0.1 |         this.sprite_classic.alpha = this.isClassic ? 1 : 0.1 | ||||||
|         this.label_classic.color = this.isClassic ? "#ffffff" : "#0e2a53" |         this.label_classic.color = this.isClassic ? "#ffffff" : "#0e2a53" | ||||||
|         this.sprite_dc.alpha = this.isClassic ? 0.1 : 1 |         this.sprite_dc.alpha = this.isClassic ? 0.1 : 1 | ||||||
|         this.label_dc.color = this.isClassic ? "#0e2a53" : "#ffffff" |         this.label_dc.color = this.isClassic ? "#0e2a53" : "#ffffff" | ||||||
|  |  | ||||||
|         if (this.isClassic) { |         this.obj_label.visible = this.isClassic | ||||||
|             UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID) |         this.obj_items.visible = this.isClassic | ||||||
|         } |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     setDifficulty(difficulty: string): void { |     onClickDifficulty(difficulty: string): void { | ||||||
|  |         Laya.LocalStorage.setItem("difficulty", difficulty)//记录横屏模式用户选择的难度 | ||||||
|  |         StorageManager.getInstance().newStage(config.DEFAULT_STAGE_ID, config.STAGE_TYPE.MAIN, difficulty, difficulty) | ||||||
|  |         UIManager.getInstance().loadStageUI(config.DEFAULT_STAGE_ID) | ||||||
|  |  | ||||||
|  |         this.updateDifficulty(difficulty) | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     updateDifficulty(difficulty: string): void { | ||||||
|         this.items.forEach((label: Laya.Label, key: string)=>{ |         this.items.forEach((label: Laya.Label, key: string)=>{ | ||||||
|             label.color = "#0e2a53" |             label.color = "#0e2a53" | ||||||
|         }) |         }) | ||||||
|   | |||||||
| @@ -1,3 +1,5 @@ | |||||||
|  | import { config } from "../../constants/config"; | ||||||
|  |  | ||||||
| const { regClass, property } = Laya; | const { regClass, property } = Laya; | ||||||
|  |  | ||||||
| @regClass() | @regClass() | ||||||
| @@ -89,6 +91,10 @@ export class CalendarUnit extends Laya.Script { | |||||||
|  |  | ||||||
|         this.obj_star.visible = this.progress >= 1 |         this.obj_star.visible = this.progress >= 1 | ||||||
|  |  | ||||||
|  |         var blockSize = 48 | ||||||
|  |         if (config.H_SCREEN) | ||||||
|  |             blockSize = 33 | ||||||
|  |          | ||||||
|         if (this.selected) { |         if (this.selected) { | ||||||
|             this.label_show.color = "#ffffff" |             this.label_show.color = "#ffffff" | ||||||
|             this.obj_selected.visible = true |             this.obj_selected.visible = true | ||||||
| @@ -96,7 +102,7 @@ export class CalendarUnit extends Laya.Script { | |||||||
|                 this.obj_pie.visible = true |                 this.obj_pie.visible = true | ||||||
|                 this.obj_mask.visible = true |                 this.obj_mask.visible = true | ||||||
|                 this.sprite_pie.graphics.clear() |                 this.sprite_pie.graphics.clear() | ||||||
|                 this.sprite_pie.graphics.drawPie(48, 48, 48, 0, 360*this.progress, "#ffffff") |                 this.sprite_pie.graphics.drawPie(blockSize, blockSize, blockSize, 0, 360*this.progress, "#ffffff") | ||||||
|                 this.sprite_mask.graphics.clear() |                 this.sprite_mask.graphics.clear() | ||||||
|                 this.sprite_mask.graphics.drawCircle(0.5, 0.5, 0.5, "#1d5cdc") |                 this.sprite_mask.graphics.drawCircle(0.5, 0.5, 0.5, "#1d5cdc") | ||||||
|             } |             } | ||||||
| @@ -112,7 +118,7 @@ export class CalendarUnit extends Laya.Script { | |||||||
|                 this.obj_pie.visible = true |                 this.obj_pie.visible = true | ||||||
|                 this.obj_mask.visible = true |                 this.obj_mask.visible = true | ||||||
|                 this.sprite_pie.graphics.clear() |                 this.sprite_pie.graphics.clear() | ||||||
|                 this.sprite_pie.graphics.drawPie(48, 48, 48, 0, 360*this.progress, "#2d3138") |                 this.sprite_pie.graphics.drawPie(blockSize, blockSize, blockSize, 0, 360*this.progress, "#2d3138") | ||||||
|                 this.sprite_mask.graphics.clear() |                 this.sprite_mask.graphics.clear() | ||||||
|                 this.sprite_mask.graphics.drawCircle(0.5, 0.5, 0.5, "#ffffff") |                 this.sprite_mask.graphics.drawCircle(0.5, 0.5, 0.5, "#ffffff") | ||||||
|             } |             } | ||||||
|   | |||||||
| @@ -60,10 +60,12 @@ export class DailyChallenge extends Laya.Script { | |||||||
|     private indexMax: number |     private indexMax: number | ||||||
|  |  | ||||||
|     onAwake(): void { |     onAwake(): void { | ||||||
|         this.btn_back.on(Laya.Event.CLICK, this, ()=>{ |         if (this.btn_back) { | ||||||
|             UIManager.getInstance().loadHomeUI() |             this.btn_back.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|             this.owner.destroy() |                 UIManager.getInstance().loadHomeUI() | ||||||
|         }) |                 UIManager.getInstance().closeDCUI() | ||||||
|  |             }) | ||||||
|  |         } | ||||||
|  |  | ||||||
|         var user = StorageManager.getInstance().getUser() |         var user = StorageManager.getInstance().getUser() | ||||||
|         this.btn_trophy_red.visible = user.get_trophyHasUnread() |         this.btn_trophy_red.visible = user.get_trophyHasUnread() | ||||||
| @@ -80,7 +82,7 @@ export class DailyChallenge extends Laya.Script { | |||||||
|             var month = now.getMonth() + 1 |             var month = now.getMonth() + 1 | ||||||
|             var dayNow = this.selectedUnit.day |             var dayNow = this.selectedUnit.day | ||||||
|             var stageID = `${year}-${month}-${dayNow}` |             var stageID = `${year}-${month}-${dayNow}` | ||||||
|             var doStage = StorageManager.getInstance().loadStage(stageID) |             var doStage = StorageManager.getInstance().getStage(stageID) | ||||||
|             console.log("play >>>>>>>>>>>>>>>>>>>>>>>", stageID, doStage) |             console.log("play >>>>>>>>>>>>>>>>>>>>>>>", stageID, doStage) | ||||||
|             if (!doStage) { |             if (!doStage) { | ||||||
|                 var stageName = `${config.MONTH_ABBRS[month-1]} ${dayNow}` |                 var stageName = `${config.MONTH_ABBRS[month-1]} ${dayNow}` | ||||||
| @@ -217,7 +219,7 @@ export class DailyChallenge extends Laya.Script { | |||||||
|         if (progress >= 1) { |         if (progress >= 1) { | ||||||
|             this.btn_play.visible = false |             this.btn_play.visible = false | ||||||
|             this.obj_summary.visible = true |             this.obj_summary.visible = true | ||||||
|             var doStage = StorageManager.getInstance().loadStage(stageID) |             var doStage = StorageManager.getInstance().getStage(stageID) | ||||||
|             this.label_diffucuty.text = doStage.get_difficulty() |             this.label_diffucuty.text = doStage.get_difficulty() | ||||||
|             this.label_score.text = doStage.get_score().toString() |             this.label_score.text = doStage.get_score().toString() | ||||||
|             this.label_time.text = Utility_ConvertSecondToString(doStage.get_duration()) |             this.label_time.text = Utility_ConvertSecondToString(doStage.get_duration()) | ||||||
| @@ -225,7 +227,7 @@ export class DailyChallenge extends Laya.Script { | |||||||
|         else { |         else { | ||||||
|             this.btn_play.visible = true |             this.btn_play.visible = true | ||||||
|             this.obj_summary.visible = false |             this.obj_summary.visible = false | ||||||
|             var doStage = StorageManager.getInstance().loadStage(stageID) |             var doStage = StorageManager.getInstance().getStage(stageID) | ||||||
|             if (doStage) { |             if (doStage) { | ||||||
|                 this.label_play.text = "Continue" |                 this.label_play.text = "Continue" | ||||||
|             } |             } | ||||||
|   | |||||||
| @@ -2,8 +2,10 @@ | |||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | import { config } from "../../constants/config"; | ||||||
| import { respath } from "../../constants/respath"; | import { respath } from "../../constants/respath"; | ||||||
| import { MONTH_LIST } from "../../models/DCManager"; | import { MONTH_LIST } from "../../models/DCManager"; | ||||||
|  | import { UIManager } from "../../models/UIManager"; | ||||||
| import { TrophyUnit } from "./TrophyUnit"; | import { TrophyUnit } from "./TrophyUnit"; | ||||||
|  |  | ||||||
| const { regClass, property } = Laya; | const { regClass, property } = Laya; | ||||||
| @@ -12,8 +14,8 @@ const { regClass, property } = Laya; | |||||||
| export class TrophyRoom extends Laya.Script { | export class TrophyRoom extends Laya.Script { | ||||||
|     declare owner : Laya.Box; |     declare owner : Laya.Box; | ||||||
|  |  | ||||||
|     @property(Laya.Button) |     @property(Laya.Box) | ||||||
|     public btn_back: Laya.Button; |     public btn_back: Laya.Box; | ||||||
|  |  | ||||||
|     @property(Laya.Box) |     @property(Laya.Box) | ||||||
|     public obj_items: Laya.Box; |     public obj_items: Laya.Box; | ||||||
| @@ -21,8 +23,12 @@ export class TrophyRoom extends Laya.Script { | |||||||
|     //第一次执行update之前执行,只会执行一次 |     //第一次执行update之前执行,只会执行一次 | ||||||
|     onStart(): void { |     onStart(): void { | ||||||
|  |  | ||||||
|  |         var trophyCountOfCell = 3 | ||||||
|  |         if (config.H_SCREEN) | ||||||
|  |             trophyCountOfCell = 5 | ||||||
|  |  | ||||||
|         this.btn_back.on(Laya.Event.CLICK, this, ()=>{ |         this.btn_back.on(Laya.Event.CLICK, this, ()=>{ | ||||||
|             this.owner.destroy() |             UIManager.getInstance().closeTrophyUI() | ||||||
|         }) |         }) | ||||||
|  |  | ||||||
|         var infos: Array<any> = new Array() |         var infos: Array<any> = new Array() | ||||||
| @@ -52,7 +58,7 @@ export class TrophyRoom extends Laya.Script { | |||||||
|             list.push(obj) |             list.push(obj) | ||||||
|         } |         } | ||||||
|         console.log(">>>>>>>>>>>>years=", years) |         console.log(">>>>>>>>>>>>years=", years) | ||||||
|         Laya.loader.load(respath.trophy_year_ui_res).then((go)=>{ |         Laya.loader.load(respath.trophy_year_ui_res()).then((go)=>{ | ||||||
|             for (var i=1; i<years.length; i++) { |             for (var i=1; i<years.length; i++) { | ||||||
|                 var obj_year = this.obj_items.getChildAt(i) |                 var obj_year = this.obj_items.getChildAt(i) | ||||||
|                 if (!obj_year) { |                 if (!obj_year) { | ||||||
| @@ -61,11 +67,11 @@ export class TrophyRoom extends Laya.Script { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             Laya.loader.load(respath.trophy_cell_ui_res).then((go)=>{ |             Laya.loader.load(respath.trophy_cell_ui_res()).then((go)=>{ | ||||||
|                 var itemsHeight = 0 |                 var itemsHeight = 0 | ||||||
|                 for (var i=0; i<years.length; i++) { |                 for (var i=0; i<years.length; i++) { | ||||||
|                     var list = monthMap.get(years[i]) |                     var list = monthMap.get(years[i]) | ||||||
|                     var cellCount = Math.ceil(list.length/3) |                     var cellCount = Math.ceil(list.length/trophyCountOfCell) | ||||||
|                     var yearHeight = 120 + cellCount * 444 |                     var yearHeight = 120 + cellCount * 444 | ||||||
|                     itemsHeight += yearHeight |                     itemsHeight += yearHeight | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user