add achievement popup

add page adaptive
add talent extends
This commit is contained in:
Vick Scarlet
2021-11-16 00:53:05 +08:00
parent 05e02de3db
commit a711fcf3ed
25 changed files with 1183 additions and 923 deletions

Binary file not shown.

View File

@@ -12,33 +12,6 @@
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Sprite",
"props":{"y":0,"x":0},
"nodeParent":1,
"label":"Sprite",
"isOpen":null,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":24,
"child":[
{
"type":"Rect",
"props":{"y":0,"x":0,"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"},
"nodeParent":24,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":15,
"child":[
],
"$HIDDEN":false
}],
"$HIDDEN":false
},
{
"x":15,
"type":"Button",
@@ -55,67 +28,80 @@
{
"x":15,
"type":"Box",
"props":{"y":200,"width":260,"runtime":"ScaleButton","height":90,"centerX":391,"anchorY":0.5,"anchorX":0.5},
"props":{"width":1,"top":0,"right":0,"height":1},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":3,
"compId":68,
"child":[
{
"x":30,
"type":"Image",
"props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":3,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":4,
"child":[
],
"$HIDDEN":false
},
{
"x":30,
"type":"Box",
"props":{"width":90,"left":8,"height":90},
"nodeParent":3,
"label":"Box",
"props":{"y":200,"x":-170,"width":260,"var":"btnRank","runtime":"ScaleButton","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":68,
"label":"Box(btnRank)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":5,
"compId":3,
"child":[
{
"x":45,
"type":"Image",
"props":{"skin":"images/icons/icon_rank@3x.png","centerY":0,"centerX":0},
"nodeParent":5,
"props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":3,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":6,
"compId":4,
"child":[
],
"$HIDDEN":false
},
{
"x":45,
"type":"Box",
"props":{"width":90,"left":8,"height":90},
"nodeParent":3,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":5,
"child":[
{
"x":60,
"type":"Image",
"props":{"skin":"images/icons/icon_rank@3x.png","centerY":0,"centerX":0},
"nodeParent":5,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":6,
"child":[
]
}]
},
{
"x":45,
"type":"Label",
"props":{"text":"排行榜","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5},
"nodeParent":3,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":7,
"child":[
]
}]
},
{
"x":30,
"type":"Label",
"props":{"text":"排行榜","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5},
"nodeParent":3,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":7,
"child":[
]
}]
},
{
@@ -124,14 +110,13 @@
"props":{"y":310,"x":0,"top":310,"right":0,"left":0,"height":120},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":16,
"child":[
{
"x":30,
"type":"Label",
"props":{"y":110,"x":140,"var":"btnStatistics","text":"UI_Statistics","name":"btnStatistics","fontSize":100,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5},
"nodeParent":16,
@@ -144,7 +129,6 @@
]
},
{
"x":30,
"type":"Label",
"props":{"y":110,"x":360,"var":"btnAchievement","text":"UI_Achievement","name":"btnAchievement","fontSize":60,"font":"方正像素12","color":"#ffffff","anchorY":1,"anchorX":0.5},
"nodeParent":16,
@@ -171,391 +155,415 @@
"child":[
{
"type":"Box",
"props":{"width":1125,"top":0,"left":0,"height":1125},
"props":{"width":1125,"var":"boxA","top":0,"name":"boxA","left":0,"bottom":0},
"nodeParent":8,
"label":"Box",
"label":"Box(boxA)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":25,
"compId":66,
"child":[
{
"type":"Image",
"props":{"top":40,"skin":"images/border/border_2@3x.png","right":30,"left":30,"bottom":30},
"nodeParent":25,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":26,
"child":[
],
"$HIDDEN":false
},
{
"type":"Sprite",
"props":{"y":150,"x":100,"width":920,"height":380},
"nodeParent":25,
"label":"Sprite",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":52,
"child":[
{
"type":"Rect",
"props":{"y":-1,"x":460,"width":4,"lineWidth":1,"lineColor":"#1a5459","height":320,"fillColor":"#1a5459"},
"nodeParent":52,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":50,
"child":[
]
},
{
"type":"Rect",
"props":{"y":370,"x":0,"width":920,"lineWidth":1,"lineColor":"#1a5459","height":5,"fillColor":"#1a5459"},
"nodeParent":52,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":51,
"child":[
]
}],
"$HIDDEN":false
},
{
"type":"Box",
"props":{"width":400,"top":150,"left":100,"height":320},
"nodeParent":25,
"props":{"width":1125,"top":0,"height":1125,"centerX":0},
"nodeParent":66,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":28,
"compId":25,
"child":[
{
"type":"HBox",
"props":{"y":130,"x":0},
"nodeParent":28,
"label":"HBox",
"isOpen":true,
"type":"Image",
"props":{"top":40,"skin":"images/border/border_2@3x.png","right":30,"left":30,"bottom":30},
"nodeParent":25,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":26,
"child":[
],
"$HIDDEN":false
},
{
"type":"Sprite",
"props":{"y":150,"x":100,"width":920,"height":380},
"nodeParent":25,
"label":"Sprite",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":54,
"compId":52,
"child":[
{
"type":"Label",
"props":{"var":"labRemakeTimes","text":"1","name":"labRemakeTimes","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":54,
"label":"Label(labRemakeTimes)",
"type":"Rect",
"props":{"y":-1,"x":460,"width":4,"lineWidth":1,"lineColor":"#1a5459","height":320,"fillColor":"#1a5459"},
"nodeParent":52,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":31,
"compId":50,
"child":[
]
},
{
"type":"Rect",
"props":{"y":370,"x":0,"width":920,"lineWidth":1,"lineColor":"#1a5459","height":5,"fillColor":"#1a5459"},
"nodeParent":52,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":51,
"child":[
]
}],
"$HIDDEN":false
},
{
"type":"Box",
"props":{"width":400,"top":150,"left":100,"height":320},
"nodeParent":25,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":28,
"child":[
{
"type":"HBox",
"props":{"y":130,"x":0},
"nodeParent":28,
"label":"HBox",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":54,
"child":[
{
"type":"Label",
"props":{"var":"labRemakeTimes","text":"1","name":"labRemakeTimes","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":54,
"label":"Label(labRemakeTimes)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":31,
"child":[
]
},
{
"type":"Label",
"props":{"text":"UI_Times","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":54,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":53,
"child":[
]
}]
},
{
"type":"Label",
"props":{"y":210,"x":0,"text":"UI_Remake_Times","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":28,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":32,
"child":[
]
},
{
"type":"Label",
"props":{"text":"UI_Times","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":54,
"label":"Label",
"props":{"y":240,"var":"labRemakeTimesJudge","text":"抽到紫色几率不变","name":"labRemakeTimesJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0},
"nodeParent":28,
"label":"Label(labRemakeTimesJudge)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":53,
"compId":33,
"child":[
]
}]
},
{
"type":"Label",
"props":{"y":210,"x":0,"text":"UI_Remake_Times","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":28,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":32,
"child":[
]
},
{
"type":"Label",
"props":{"y":240,"var":"labRemakeTimesJudge","text":"抽到紫色几率不变","name":"labRemakeTimesJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0},
"nodeParent":28,
"label":"Label(labRemakeTimesJudge)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":33,
"child":[
]
}]
},
{
"type":"Box",
"props":{"width":400,"top":150,"right":100,"height":320},
"nodeParent":25,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":29,
"child":[
{
"type":"HBox",
"props":{"y":130},
"nodeParent":29,
"label":"HBox",
"isOpen":true,
"type":"Box",
"props":{"width":400,"top":150,"right":100,"height":320},
"nodeParent":25,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":55,
"compId":29,
"child":[
{
"type":"HBox",
"props":{"y":130},
"nodeParent":29,
"label":"HBox",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":55,
"child":[
{
"type":"Label",
"props":{"var":"labAchievementCount","text":"1","name":"labAchievementCount","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":55,
"label":"Label(labAchievementCount)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":56,
"child":[
]
},
{
"type":"Label",
"props":{"text":"UI_Count","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":55,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":57,
"child":[
]
}]
},
{
"type":"Label",
"props":{"var":"labAchievementCount","text":"1","name":"labAchievementCount","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":55,
"label":"Label(labAchievementCount)",
"props":{"y":210,"x":0,"text":"UI_Achievement_Count","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":29,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":56,
"compId":38,
"child":[
]
},
{
"type":"Label",
"props":{"text":"UI_Count","fontSize":70,"font":"方正像素12","color":"#55fffe","bold":true,"anchorY":1,"anchorX":0},
"nodeParent":55,
"label":"Label",
"props":{"y":240,"x":0,"var":"labAchievementCountJudge","text":"抽到橙色几率不变","name":"labAchievementCountJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0},
"nodeParent":29,
"label":"Label(labAchievementCountJudge)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":57,
"compId":39,
"child":[
]
}]
},
{
"type":"Label",
"props":{"y":210,"x":0,"text":"UI_Achievement_Count","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":29,
"label":"Label",
"isDirectory":false,
"type":"Box",
"props":{"right":100,"left":100,"height":450,"bottom":100},
"nodeParent":25,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":false,
"compId":38,
"hasChild":true,
"compId":30,
"child":[
]
},
{
"type":"Label",
"props":{"y":240,"x":0,"var":"labAchievementCountJudge","text":"抽到橙色几率不变","name":"labAchievementCountJudge","fontSize":42,"font":"方正像素12","color":"#93aaae","bold":false,"anchorY":0,"anchorX":0},
"nodeParent":29,
"label":"Label(labAchievementCountJudge)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":39,
"child":[
]
{
"type":"Box",
"props":{"top":25,"right":0,"left":0,"height":180},
"nodeParent":30,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":41,
"child":[
{
"type":"Label",
"props":{"y":85,"x":0,"text":"UI_Event_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":41,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":42,
"child":[
],
"$HIDDEN":false
},
{
"type":"ProgressBar",
"props":{"y":135,"var":"prgEventRate","value":1,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgEventRate","left":0,"anchorY":0.5,"anchorX":0},
"nodeParent":41,
"label":"ProgressBar(prgEventRate)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":43,
"child":[
]
},
{
"type":"Label",
"props":{"var":"labEventRate","text":"100%","right":0,"name":"labEventRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1},
"nodeParent":41,
"label":"Label(labEventRate)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":44,
"child":[
]
}]
},
{
"type":"Box",
"props":{"right":0,"left":0,"height":180,"bottom":30},
"nodeParent":30,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":45,
"child":[
{
"type":"Label",
"props":{"y":85,"x":0,"text":"UI_Talent_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":45,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":46,
"child":[
]
},
{
"type":"ProgressBar",
"props":{"y":135,"var":"prgTalentRate","value":0.73,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgTalentRate","left":0,"anchorY":0.5,"anchorX":0},
"nodeParent":45,
"label":"ProgressBar(prgTalentRate)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":47,
"child":[
]
},
{
"type":"Label",
"props":{"var":"labTalentRate","text":"73%","right":0,"name":"labTalentRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1},
"nodeParent":45,
"label":"Label(labTalentRate)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":48,
"child":[
]
}],
"$HIDDEN":false
}]
}]
},
}]
},
{
"type":"Box",
"props":{"width":1125,"var":"boxB","top":0,"right":0,"name":"boxB","bottom":0},
"nodeParent":8,
"label":"Box(boxB)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":67,
"child":[
{
"type":"Box",
"props":{"right":100,"left":100,"height":450,"bottom":100},
"nodeParent":25,
"label":"Box",
"type":"List",
"props":{"y":35,"width":1080,"var":"listAchievements","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":35,"name":"listAchievements","centerX":0,"bottom":35},
"nodeParent":67,
"label":"List(listAchievements)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":30,
"compId":9,
"child":[
{
"type":"Box",
"props":{"top":25,"right":0,"left":0,"height":180},
"nodeParent":30,
"props":{"y":0,"x":0,"width":530,"runtime":"ColorFilterItem","renderType":"render","height":460},
"nodeParent":9,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"isAniNode":false,
"hasChild":true,
"compId":41,
"compId":10,
"child":[
{
"type":"Label",
"props":{"y":85,"x":0,"text":"UI_Event_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":41,
"label":"Label",
"type":"Image",
"props":{"top":20,"skin":"images/border/achievement@3x.png","right":20,"name":"uncomplete","left":20,"bottom":20},
"nodeParent":10,
"label":"Image(uncomplete)",
"isDirectory":false,
"isAniNode":true,
"isAniNode":false,
"hasChild":false,
"compId":42,
"compId":11,
"child":[
],
"$HIDDEN":false
},
{
"type":"ProgressBar",
"props":{"y":135,"var":"prgEventRate","value":1,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgEventRate","left":0,"anchorY":0.5,"anchorX":0},
"nodeParent":41,
"label":"ProgressBar(prgEventRate)",
"type":"Image",
"props":{"top":0,"skin":"images/border/achievement_complete@3x.png","right":0,"name":"completed","left":0,"bottom":0},
"nodeParent":10,
"label":"Image(completed)",
"isDirectory":false,
"isAniNode":true,
"isAniNode":false,
"hasChild":false,
"compId":43,
"compId":12,
"child":[
],
"$HIDDEN":false
},
{
"type":"Label",
"props":{"text":"霹雳霹雳","name":"name","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-30,"centerX":0},
"nodeParent":10,
"label":"Label(name)",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":13,
"child":[
]
},
{
"type":"Label",
"props":{"var":"labEventRate","text":"100%","right":0,"name":"labEventRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1},
"nodeParent":41,
"label":"Label(labEventRate)",
"props":{"wordWrap":true,"text":"被第九重雷劫劈死","right":40,"name":"description","left":40,"height":95,"fontSize":42,"font":"方正像素12","color":"#9ca5a9","bottom":25,"align":"center"},
"nodeParent":10,
"label":"Label(description)",
"isDirectory":false,
"isAniNode":true,
"isAniNode":false,
"hasChild":false,
"compId":44,
"compId":14,
"child":[
]
}]
},
{
"type":"Box",
"props":{"right":0,"left":0,"height":180,"bottom":30},
"nodeParent":30,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":45,
"child":[
{
"type":"Label",
"props":{"y":85,"x":0,"text":"UI_Talent_Collection_Rate","fontSize":62,"font":"方正像素12","color":"#ffffff","bold":false,"anchorY":1,"anchorX":0},
"nodeParent":45,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":46,
"child":[
]
},
{
"type":"ProgressBar",
"props":{"y":135,"var":"prgTalentRate","value":0.73,"skin":"images/progress/progress_1@3x.png","right":240,"name":"prgTalentRate","left":0,"anchorY":0.5,"anchorX":0},
"nodeParent":45,
"label":"ProgressBar(prgTalentRate)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":47,
"child":[
]
},
{
"type":"Label",
"props":{"var":"labTalentRate","text":"73%","right":0,"name":"labTalentRate","fontSize":110,"font":"方正像素12","color":"#55fffe","centerY":0,"bold":false,"anchorY":0.5,"anchorX":1},
"nodeParent":45,
"label":"Label(labTalentRate)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":48,
"child":[
]
}],
"$HIDDEN":false
}]
}]
},
{
"type":"List",
"props":{"width":1060,"var":"listAchievements","vScrollBarSkin":" ","top":35,"right":35,"name":"listAchievements","bottom":35},
"nodeParent":8,
"label":"List(listAchievements)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":9,
"child":[
{
"type":"Box",
"props":{"y":0,"x":0,"width":530,"runtime":"ColorFilterItem","renderType":"render","height":460},
"nodeParent":9,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
"compId":10,
"child":[
{
"type":"Image",
"props":{"top":20,"skin":"images/border/achievement@3x.png","right":20,"name":"uncomplete","left":20,"bottom":20},
"nodeParent":10,
"label":"Image(uncomplete)",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":11,
"child":[
],
"$HIDDEN":false
},
{
"type":"Image",
"props":{"top":0,"skin":"images/border/achievement_complete@3x.png","right":0,"name":"completed","left":0,"bottom":0},
"nodeParent":10,
"label":"Image(completed)",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":12,
"child":[
],
"$HIDDEN":false
},
{
"type":"Label",
"props":{"text":"霹雳霹雳","name":"name","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":-30,"centerX":0},
"nodeParent":10,
"label":"Label(name)",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":13,
"child":[
]
},
{
"type":"Label",
"props":{"wordWrap":true,"text":"被第九重雷劫劈死","right":40,"name":"description","left":40,"height":95,"fontSize":42,"font":"方正像素12","color":"#9ca5a9","bottom":25,"align":"center"},
"nodeParent":10,
"label":"Label(description)",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":14,
"child":[
]
}]
}]
}],

View File

@@ -0,0 +1,179 @@
{
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":1,
"props":{"y":50,"width":570,"sceneColor":"#000000","mouseThrough":true,"mouseEnabled":false,"height":150,"alpha":0.75},
"nodeParent":-1,
"label":"View",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Box",
"props":{},
"nodeParent":1,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":2,
"child":[
{
"type":"Rect",
"props":{"width":570,"lineWidth":1,"height":150,"fillColor":"#55fffe"},
"nodeParent":2,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":4,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"x":0,"var":"boxBg","name":"boxBg"},
"nodeParent":1,
"label":"Box(boxBg)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":5,
"child":[
{
"type":"Rect",
"props":{"width":560,"lineWidth":1,"height":150,"fillColor":"#272727"},
"nodeParent":5,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":6,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"width":560,"height":150},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":8,
"child":[
{
"x":30,
"type":"Image",
"props":{"x":70,"skin":"images/icons/icon_achievement@3x.png","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":8,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":7,
"child":[
]
},
{
"x":30,
"type":"Label",
"props":{"x":150,"var":"labName","text":"所有人都是我","name":"labName","fontSize":60,"font":"方正像素12","color":"#cccccc","centerY":0},
"nodeParent":8,
"label":"Label(labName)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":9,
"child":[
]
}]
},
{
"x":15,
"type":"VBox",
"props":{"y":0,"x":0,"visible":false,"name":"colorBox"},
"nodeParent":1,
"label":"VBox(colorBox)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":10,
"child":[
{
"x":30,
"type":"Label",
"props":{"y":0,"var":"colorGrade0","text":"#ccccccff","fontSize":40,"font":"方正像素12","color":"#cccccc"},
"nodeParent":10,
"label":"Label(colorGrade0)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":11,
"child":[
]
},
{
"x":30,
"type":"Label",
"props":{"y":10,"var":"colorGrade1","text":"#55fffeff","fontSize":40,"font":"方正像素12","color":"#55fffe"},
"nodeParent":10,
"label":"Label(colorGrade1)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":12,
"child":[
]
},
{
"x":30,
"type":"Label",
"props":{"y":20,"var":"colorGrade2","text":"#b17cffff","fontSize":40,"font":"方正像素12","color":"#b17cff"},
"nodeParent":10,
"label":"Label(colorGrade2)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":13,
"child":[
]
},
{
"x":30,
"type":"Label",
"props":{"y":30,"var":"colorGrade3","text":"#ffce45ff","fontSize":40,"font":"方正像素12","color":"#ffce45"},
"nodeParent":10,
"label":"Label(colorGrade3)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":14,
"child":[
]
}],
"$HIDDEN":true
}],
"animations":[
{
"nodes":[
],
"name":"ani1",
"id":1,
"frameRate":24,
"action":0
}]
}

View File

@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":83,
"selecteID":21,
"props":{"y":1218,"x":562,"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberMain.png","runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},
"nodeParent":-1,
"label":"View",
@@ -15,30 +15,30 @@
{
"x":15,
"type":"Image",
"props":{"y":0,"x":0,"skin":"images/background/background_1@3x.png"},
"props":{"var":"imgBg","skin":"images/background/background_1@3x.png","name":"imgBg","centerY":0,"centerX":0},
"nodeParent":1,
"label":"Image",
"isDirectory":false,
"label":"Image(imgBg)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":false,
"hasChild":true,
"compId":67,
"child":[
],
{
"x":30,
"type":"Animation",
"props":{"y":0,"x":0,"width":1125,"source":"view/CyberTheme/animation/jumpBackground.ani","interval":80,"height":2436,"blendMode":"lighter","autoPlay":true,"alpha":0.3},
"nodeParent":67,
"label":"Animation",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":70,
"child":[
]
}],
"$HIDDEN":false
},
{
"x":15,
"type":"Animation",
"props":{"width":1125,"source":"view/CyberTheme/animation/jumpBackground.ani","interval":80,"height":2436,"blendMode":"lighter","autoPlay":true,"alpha":0.3},
"nodeParent":1,
"label":"Animation",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":70,
"child":[
]
},
{
"x":15,
"type":"Image",
@@ -409,7 +409,7 @@
{
"x":15,
"type":"Box",
"props":{"width":225,"var":"btnThanks","runtime":"ScaleButton","name":"btnThanks","height":90,"centerY":-1020,"centerX":-390,"anchorY":0.5,"anchorX":0.5},
"props":{"y":200,"x":200,"width":225,"var":"btnThanks","runtime":"ScaleButton","name":"btnThanks","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnThanks)",
"isOpen":false,
@@ -471,70 +471,83 @@
{
"x":15,
"type":"Box",
"props":{"width":225,"var":"btnAchievement","runtime":"ScaleButton","name":"btnAchievement","height":90,"centerY":-1020,"centerX":390,"anchorY":0.5,"anchorX":0.5},
"props":{"y":0,"x":1100,"width":1,"top":0,"right":0,"height":1},
"nodeParent":1,
"label":"Box(btnAchievement)",
"isOpen":false,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":21,
"compId":84,
"child":[
{
"type":"Image",
"props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":21,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":22,
"child":[
],
"$HIDDEN":false
},
{
"x":30,
"type":"Box",
"props":{"width":90,"left":8,"height":90},
"nodeParent":21,
"label":"Box",
"isOpen":true,
"props":{"y":200,"x":-200,"width":225,"var":"btnAchievement","runtime":"ScaleButton","name":"btnAchievement","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":84,
"label":"Box(btnAchievement)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":23,
"compId":21,
"child":[
{
"type":"Image",
"props":{"skin":"images/icons/icon_achievement@3x.png","centerY":0,"centerX":0},
"nodeParent":23,
"props":{"top":0,"skin":"images/button/button_small@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":21,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":24,
"compId":22,
"child":[
],
"$HIDDEN":false
},
{
"type":"Box",
"props":{"width":90,"left":8,"height":90},
"nodeParent":21,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":23,
"child":[
{
"type":"Image",
"props":{"skin":"images/icons/icon_achievement@3x.png","centerY":0,"centerX":0},
"nodeParent":23,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":24,
"child":[
]
}]
},
{
"type":"Label",
"props":{"text":"UI_Achievement","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5},
"nodeParent":21,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":25,
"child":[
]
}]
},
{
"type":"Label",
"props":{"text":"UI_Achievement","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":40,"anchorY":0.5,"anchorX":0.5},
"nodeParent":21,
"label":"Label",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":25,
"child":[
]
}],
"$HIDDEN":false
}],
"$HIDDEN":false
}]
},
{
"x":15,
"type":"Box",
"props":{"y":2080,"x":80,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},
"props":{"y":2080,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnDiscord)",
"isOpen":false,
@@ -544,7 +557,6 @@
"compId":83,
"child":[
{
"x":30,
"type":"Image",
"props":{"top":0,"skin":"images/icons/icon_discord.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":83,
@@ -560,7 +572,7 @@
{
"x":15,
"type":"Box",
"props":{"y":2260,"x":80,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},
"props":{"y":2260,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnGithub)",
"isOpen":false,
@@ -570,7 +582,6 @@
"compId":82,
"child":[
{
"x":30,
"type":"Image",
"props":{"top":0,"skin":"images/icons/icon_github.png","right":0,"left":0,"bottom":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":82,

View File

@@ -1,10 +1,10 @@
{
"x":0,
"type":"View",
"selectedBox":20,
"selecteID":21,
"selectedBox":1,
"selecteID":97,
"referenceLines":null,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"ViewBase","height":2436,"centerY":0,"centerX":0},
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -13,32 +13,6 @@
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Sprite",
"props":{"y":0,"x":0},
"nodeParent":1,
"label":"Sprite",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":97,
"child":[
{
"type":"Rect",
"props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"},
"nodeParent":97,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":98,
"child":[
]
}],
"$HIDDEN":false
},
{
"x":15,
"type":"Box",
@@ -53,7 +27,7 @@
"child":[
{
"type":"Image",
"props":{"skin":"images/accessories/titlebar@3x.png"},
"props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0},
"nodeParent":2,
"label":"Image",
"isDirectory":false,
@@ -68,6 +42,7 @@
"props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":2,
"label":"HBox",
"isOpen":null,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
@@ -118,14 +93,13 @@
"props":{"top":340,"right":40,"name":"propertyAllocate","left":40,"height":840},
"nodeParent":1,
"label":"Box(propertyAllocate)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":8,
"child":[
{
"x":30,
"type":"Image",
"props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15},
"nodeParent":8,
@@ -138,7 +112,6 @@
]
},
{
"x":30,
"type":"HBox",
"props":{"top":680,"right":80,"height":100},
"nodeParent":8,
@@ -150,7 +123,6 @@
"compId":50,
"child":[
{
"x":45,
"type":"Label",
"props":{"x":0,"text":"UI_Left_Property_Point","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":50,
@@ -163,7 +135,6 @@
]
},
{
"x":45,
"type":"Label",
"props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":50,
@@ -176,7 +147,6 @@
]
},
{
"x":45,
"type":"Label",
"props":{"x":2,"var":"labLeftPropertyPoint","text":"0","name":"labLeftPropertyPoint","fontSize":80,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":50,
@@ -190,7 +160,6 @@
}]
},
{
"x":30,
"type":"VBox",
"props":{"top":90,"space":22,"right":50,"left":50,"height":600},
"nodeParent":8,
@@ -202,7 +171,6 @@
"compId":120,
"child":[
{
"x":45,
"type":"Box",
"props":{"y":0,"var":"boxCharm","right":0,"name":"boxCharm","left":0,"height":130},
"nodeParent":120,
@@ -214,7 +182,6 @@
"compId":10,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":10,
@@ -226,7 +193,6 @@
"compId":17,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_chr@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
"nodeParent":17,
@@ -240,7 +206,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":10,
@@ -253,7 +218,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxCharmAllocate","right":30,"name":"boxCharmAllocate","height":110,"centerY":0},
"nodeParent":10,
@@ -265,7 +229,6 @@
"compId":20,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnCharmReduce","name":"btnCharmReduce","left":0,"height":110,"centerY":0},
"nodeParent":20,
@@ -371,19 +334,17 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":20,
"label":"Box",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":42,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputCharm","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputCharm","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":42,
@@ -396,12 +357,11 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":42,
"label":"Box",
"isOpen":null,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
@@ -434,7 +394,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnCharmIncrease","right":0,"name":"btnCharmIncrease","height":110,"centerY":0},
"nodeParent":20,
@@ -565,7 +524,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":1,"var":"boxIntelligence","right":0,"name":"boxIntelligence","left":0,"height":130},
"nodeParent":120,
@@ -577,7 +535,6 @@
"compId":121,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":121,
@@ -589,7 +546,6 @@
"compId":122,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
"nodeParent":122,
@@ -603,7 +559,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":121,
@@ -616,7 +571,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxIntelligenceAllocate","right":30,"name":"boxIntelligenceAllocate","height":110,"centerY":0},
"nodeParent":121,
@@ -628,7 +582,6 @@
"compId":125,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnIntelligenceReduce","name":"btnIntelligenceReduce","left":0,"height":110,"centerY":0},
"nodeParent":125,
@@ -734,7 +687,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":125,
@@ -746,7 +698,6 @@
"compId":135,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputIntelligence","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputIntelligence","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":135,
@@ -759,7 +710,6 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":135,
@@ -797,7 +747,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnIntelligenceIncrease","right":0,"name":"btnIntelligenceIncrease","height":110,"centerY":0},
"nodeParent":125,
@@ -928,7 +877,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":2,"var":"boxStrength","right":0,"name":"boxStrength","left":0,"height":130},
"nodeParent":120,
@@ -940,7 +888,6 @@
"compId":151,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":151,
@@ -952,7 +899,6 @@
"compId":152,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.4,"scaleX":1.4,"centerY":0,"centerX":0},
"nodeParent":152,
@@ -966,7 +912,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":151,
@@ -979,7 +924,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxStrengthAllocate","right":30,"name":"boxStrengthAllocate","height":110,"centerY":0},
"nodeParent":151,
@@ -991,7 +935,6 @@
"compId":155,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnStrengthReduce","name":"btnStrengthReduce","left":0,"height":110,"centerY":0},
"nodeParent":155,
@@ -1097,7 +1040,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":155,
@@ -1109,7 +1051,6 @@
"compId":165,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputStrength","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputStrength","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":165,
@@ -1122,7 +1063,6 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":165,
@@ -1160,7 +1100,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnStrengthIncrease","right":0,"name":"btnStrengthIncrease","height":110,"centerY":0},
"nodeParent":155,
@@ -1291,7 +1230,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":3,"var":"boxMoney","right":0,"name":"boxMoney","left":0,"height":130},
"nodeParent":120,
@@ -1303,7 +1241,6 @@
"compId":181,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":181,
@@ -1328,7 +1265,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":183,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":181,
@@ -1341,7 +1277,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxMoneyAllocate","right":30,"name":"boxMoneyAllocate","height":110,"centerY":0},
"nodeParent":181,
@@ -1353,7 +1288,6 @@
"compId":185,
"child":[
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnMoneyReduce","name":"btnMoneyReduce","left":0,"height":110,"centerY":0},
"nodeParent":185,
@@ -1459,7 +1393,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"y":0,"x":110,"top":0,"right":110,"left":110,"bottom":0},
"nodeParent":185,
@@ -1471,7 +1404,6 @@
"compId":195,
"child":[
{
"x":90,
"type":"TextInput",
"props":{"var":"inputMoney","type":"number","top":0,"text":"0","skin":"images/border/up@3x.png","right":0,"promptColor":"#828282","prompt":0,"name":"inputMoney","maxChars":1,"left":0,"fontSize":80,"font":"方正像素12","color":"#ffffff","bottom":0,"align":"center"},
"nodeParent":195,
@@ -1484,7 +1416,6 @@
]
},
{
"x":90,
"type":"Box",
"props":{"y":0,"x":0,"top":0,"right":0,"mouseThrough":true,"mouseEnabled":false,"left":0,"bottom":0,"alpha":0.2},
"nodeParent":195,
@@ -1522,7 +1453,6 @@
}]
},
{
"x":75,
"type":"Box",
"props":{"width":110,"var":"btnMoneyIncrease","right":0,"name":"btnMoneyIncrease","height":110,"centerY":0},
"nodeParent":185,
@@ -1661,14 +1591,13 @@
"props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":500},
"nodeParent":1,
"label":"Box(selectedTalents)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":56,
"child":[
{
"x":30,
"type":"Label",
"props":{"top":20,"text":"UI_Selected_Talent","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
"nodeParent":56,
@@ -1681,7 +1610,6 @@
]
},
{
"x":30,
"type":"List",
"props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},
"nodeParent":56,
@@ -1693,9 +1621,8 @@
"compId":58,
"child":[
{
"x":45,
"type":"Box",
"props":{"y":20,"width":1010,"renderType":"render","height":160,"centerX":0},
"props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},
"nodeParent":58,
"label":"Box",
"isOpen":true,
@@ -1705,7 +1632,6 @@
"compId":59,
"child":[
{
"x":60,
"type":"Image",
"props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":59,
@@ -1718,7 +1644,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade1","height":160},
"nodeParent":59,
@@ -1743,7 +1668,6 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade2","height":160},
"nodeParent":59,
@@ -1768,7 +1692,6 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade3","height":160},
"nodeParent":59,
@@ -1780,7 +1703,6 @@
"compId":66,
"child":[
{
"x":75,
"type":"Rect",
"props":{"width":15,"lineWidth":1,"height":160,"fillColor":"#ffce45"},
"nodeParent":66,
@@ -1794,7 +1716,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":59,
@@ -1807,7 +1728,6 @@
]
},
{
"x":60,
"type":"Label",
"props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0},
"nodeParent":59,

View File

@@ -1,8 +1,8 @@
{
"x":0,
"type":"View",
"selectedBox":10,
"selecteID":150,
"selectedBox":1,
"selecteID":201,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -12,47 +12,22 @@
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Sprite",
"props":{},
"nodeParent":1,
"label":"Sprite",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":201,
"child":[
{
"type":"Rect",
"props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"},
"nodeParent":201,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":202,
"child":[
]
}],
"$HIDDEN":false
},
{
"x":15,
"type":"Box",
"props":{"top":40,"right":0,"name":"title","left":0},
"nodeParent":1,
"label":"Box(title)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":2,
"child":[
{
"x":30,
"type":"Image",
"props":{"skin":"images/accessories/titlebar@3x.png"},
"props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0},
"nodeParent":2,
"label":"Image",
"isDirectory":false,
@@ -63,6 +38,7 @@
]
},
{
"x":30,
"type":"HBox",
"props":{"y":160,"x":563,"space":30,"height":70,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":2,
@@ -74,6 +50,7 @@
"compId":4,
"child":[
{
"x":45,
"type":"Image",
"props":{"y":10,"x":1,"skin":"images/accessories/title_left@3x.png","name":"left"},
"nodeParent":4,
@@ -86,6 +63,7 @@
]
},
{
"x":45,
"type":"Label",
"props":{"y":0,"x":2,"text":"UI_Title_Summary","fontSize":60,"font":"方正像素12","color":"#ffffff"},
"nodeParent":4,
@@ -98,6 +76,7 @@
]
},
{
"x":45,
"type":"Image",
"props":{"y":10,"x":3,"skin":"images/accessories/title_right@3x.png","name":"right"},
"nodeParent":4,
@@ -118,14 +97,13 @@
"props":{"y":10,"x":10,"top":340,"right":40,"name":"propertyAllocate","left":40,"height":870},
"nodeParent":1,
"label":"Box(propertyAllocate)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":8,
"child":[
{
"x":30,
"type":"Image",
"props":{"top":-15,"skin":"images/border/border_2@3x.png","right":-15,"left":-15,"bottom":-15},
"nodeParent":8,
@@ -138,7 +116,6 @@
]
},
{
"x":30,
"type":"Box",
"props":{"top":60,"right":50,"left":50,"height":220},
"nodeParent":8,
@@ -150,7 +127,6 @@
"compId":227,
"child":[
{
"x":45,
"type":"Box",
"props":{"width":220,"left":20,"height":220,"centerY":0},
"nodeParent":227,
@@ -163,7 +139,6 @@
]
},
{
"x":45,
"type":"Box",
"props":{"top":0,"right":0,"left":250,"height":100},
"nodeParent":227,
@@ -175,7 +150,6 @@
"compId":229,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":320,"top":5,"left":5,"bottom":5},
"nodeParent":229,
@@ -187,7 +161,6 @@
"compId":231,
"child":[
{
"x":75,
"type":"Image",
"props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":231,
@@ -201,7 +174,6 @@
"$HIDDEN":false
},
{
"x":75,
"type":"HBox",
"props":{"left":20,"centerY":0},
"nodeParent":231,
@@ -213,7 +185,6 @@
"compId":239,
"child":[
{
"x":90,
"type":"Label",
"props":{"x":0,"text":"UI_Final_Age","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":239,
@@ -226,7 +197,6 @@
]
},
{
"x":90,
"type":"Label",
"props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":239,
@@ -240,7 +210,6 @@
}]
},
{
"x":75,
"type":"Label",
"props":{"var":"labAge","text":"0","right":40,"name":"labAge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"},
"nodeParent":231,
@@ -254,7 +223,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"width":220,"var":"labAgeJudge","text":"Judge","right":0,"name":"labAgeJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":229,
@@ -268,7 +236,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"right":0,"left":250,"height":100,"bottom":0},
"nodeParent":227,
@@ -280,7 +247,6 @@
"compId":230,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":320,"top":5,"left":5,"bottom":5},
"nodeParent":230,
@@ -292,7 +258,6 @@
"compId":240,
"child":[
{
"x":75,
"type":"Image",
"props":{"top":0,"skin":"images/border/property@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":240,
@@ -306,7 +271,6 @@
"$HIDDEN":false
},
{
"x":75,
"type":"HBox",
"props":{"left":20,"centerY":0},
"nodeParent":240,
@@ -318,7 +282,6 @@
"compId":242,
"child":[
{
"x":90,
"type":"Label",
"props":{"x":0,"text":"UI_Total_Judge","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":242,
@@ -331,7 +294,6 @@
]
},
{
"x":90,
"type":"Label",
"props":{"x":1,"text":"UI_Colon","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":242,
@@ -345,7 +307,6 @@
}]
},
{
"x":75,
"type":"Label",
"props":{"var":"labTotal","text":"0","right":40,"name":"labTotal","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"align":"center"},
"nodeParent":240,
@@ -359,7 +320,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"width":220,"var":"labTotalJudge","text":"Judge","right":0,"name":"labTotalJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":230,
@@ -374,7 +334,6 @@
}]
},
{
"x":30,
"type":"VBox",
"props":{"top":340,"space":5,"right":50,"left":50},
"nodeParent":8,
@@ -386,7 +345,6 @@
"compId":16,
"child":[
{
"x":45,
"type":"Box",
"props":{"y":0,"right":0,"name":"boxCharm","left":0,"height":90},
"nodeParent":16,
@@ -398,7 +356,6 @@
"compId":17,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":17,
@@ -423,7 +380,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":170,"text":"UI_Property_Charm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":17,
@@ -436,7 +392,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxCharmGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},
"nodeParent":17,
@@ -448,7 +403,6 @@
"compId":200,
"child":[
{
"x":75,
"type":"ProgressBar",
"props":{"var":"prgCharm","value":0.91,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgCharm","left":0,"bottom":0},
"nodeParent":200,
@@ -461,7 +415,6 @@
]
},
{
"x":75,
"type":"Label",
"props":{"var":"labCharm","text":"100","strokeColor":"#323232","stroke":8,"name":"labCharm","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":200,
@@ -475,7 +428,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"width":220,"var":"labCharmJudge","text":"Judge","right":0,"name":"labCharmJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":17,
@@ -489,7 +441,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":1,"right":0,"name":"boxIntelligence","left":0,"height":90},
"nodeParent":16,
@@ -501,7 +452,6 @@
"compId":47,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":47,
@@ -513,7 +463,6 @@
"compId":48,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_int@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":48,
@@ -527,7 +476,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":170,"text":"UI_Property_Intelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":47,
@@ -540,7 +488,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxIntelligenceGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},
"nodeParent":47,
@@ -552,7 +499,6 @@
"compId":211,
"child":[
{
"x":75,
"type":"ProgressBar",
"props":{"var":"prgIntelligence","value":0.57,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgIntelligence","left":0,"bottom":0},
"nodeParent":211,
@@ -565,7 +511,6 @@
]
},
{
"x":75,
"type":"Label",
"props":{"var":"labIntelligence","text":"100","strokeColor":"#323232","stroke":8,"name":"labIntelligence","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":211,
@@ -579,7 +524,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"width":220,"var":"labIntelligenceJudge","text":"Judge","right":0,"name":"labIntelligenceJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":47,
@@ -593,7 +537,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":2,"right":0,"name":"boxStrength","left":0,"height":90},
"nodeParent":16,
@@ -605,7 +548,6 @@
"compId":77,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":77,
@@ -617,7 +559,6 @@
"compId":78,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_str@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":78,
@@ -631,7 +572,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":170,"text":"UI_Property_Strength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":77,
@@ -644,7 +584,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxStrengthGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},
"nodeParent":77,
@@ -656,7 +595,6 @@
"compId":213,
"child":[
{
"x":75,
"type":"ProgressBar",
"props":{"var":"prgStrength","value":0.235,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgStrength","left":0,"bottom":0},
"nodeParent":213,
@@ -669,7 +607,6 @@
]
},
{
"x":75,
"type":"Label",
"props":{"var":"labStrength","text":"100","strokeColor":"#323232","stroke":8,"name":"labStrength","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":213,
@@ -683,7 +620,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"width":220,"var":"labStrengthJudge","text":"Judge","right":0,"name":"labStrengthJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":77,
@@ -697,7 +633,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":3,"right":0,"name":"boxMoney","left":0,"height":90},
"nodeParent":16,
@@ -709,7 +644,6 @@
"compId":107,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":107,
@@ -721,7 +655,6 @@
"compId":108,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_mny@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":108,
@@ -735,7 +668,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":170,"text":"UI_Property_Money","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":107,
@@ -748,7 +680,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxMoneyGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},
"nodeParent":107,
@@ -760,7 +691,6 @@
"compId":215,
"child":[
{
"x":75,
"type":"ProgressBar",
"props":{"var":"prgMoney","value":0.8,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgMoney","left":0,"bottom":0},
"nodeParent":215,
@@ -773,7 +703,6 @@
]
},
{
"x":75,
"type":"Label",
"props":{"var":"labMoney","text":"100","strokeColor":"#323232","stroke":8,"name":"labMoney","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":215,
@@ -787,7 +716,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"width":220,"var":"labMoneyJudge","text":"Judge","right":0,"name":"labMoneyJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":107,
@@ -801,7 +729,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{"y":4,"right":0,"name":"boxSpirit","left":0,"height":90},
"nodeParent":16,
@@ -813,7 +740,6 @@
"compId":195,
"child":[
{
"x":60,
"type":"Box",
"props":{"width":120,"left":0,"height":120,"centerY":0},
"nodeParent":195,
@@ -825,7 +751,6 @@
"compId":196,
"child":[
{
"x":75,
"type":"Image",
"props":{"skin":"images/icons/icon_spr@3x.png","scaleY":1.1,"scaleX":1.1,"centerY":0,"centerX":0},
"nodeParent":196,
@@ -839,7 +764,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"x":170,"text":"UI_Property_Spirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":195,
@@ -852,7 +776,6 @@
]
},
{
"x":60,
"type":"Box",
"props":{"var":"boxSpiritGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},
"nodeParent":195,
@@ -864,7 +787,6 @@
"compId":217,
"child":[
{
"x":75,
"type":"ProgressBar",
"props":{"var":"prgSpirit","value":0.37,"top":0,"skin":"images/progress/progress_2.png","right":0,"name":"prgSpirit","left":0,"bottom":0},
"nodeParent":217,
@@ -877,7 +799,6 @@
]
},
{
"x":75,
"type":"Label",
"props":{"var":"labSpirit","text":"100","strokeColor":"#323232","stroke":8,"name":"labSpirit","fontSize":50,"font":"方正像素12","color":"#ffffff","centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":217,
@@ -891,7 +812,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"width":220,"var":"labSpiritJudge","text":"Judge","right":0,"name":"labSpiritJudge","fontSize":50,"font":"方正像素12","color":"#5cc8dc","centerY":0,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":195,
@@ -914,13 +834,14 @@
"props":{"right":40,"name":"selectedTalents","left":40,"height":700,"bottom":410},
"nodeParent":1,
"label":"Box(selectedTalents)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":9,
"child":[
{
"x":30,
"type":"Label",
"props":{"top":20,"text":"UI_Talent_Extend","left":20,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
"nodeParent":9,
@@ -934,19 +855,21 @@
"$HIDDEN":false
},
{
"x":30,
"type":"List",
"props":{"var":"listSelectedTalents","vScrollBarSkin":" ","top":110,"spaceY":30,"right":10,"repeatY":3,"name":"listSelectedTalents","left":10,"bottom":10},
"nodeParent":9,
"label":"List(listSelectedTalents)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":138,
"child":[
{
"x":45,
"type":"Box",
"props":{"y":20,"width":1010,"renderType":"render","height":160,"centerX":0},
"props":{"y":20,"right":10,"renderType":"render","left":10,"height":160},
"nodeParent":138,
"label":"Box",
"isOpen":true,
@@ -956,23 +879,94 @@
"compId":139,
"child":[
{
"x":60,
"type":"Image",
"props":{"top":0,"skin":"images/border/up@3x.png","right":0,"left":0,"bottom":0},
"props":{"top":0,"skin":"images/border/up@3x.png","right":0,"name":"unselected","left":0,"bottom":0},
"nodeParent":139,
"label":"Image",
"label":"Image(unselected)",
"isOpen":true,
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":140,
"child":[
]
],
"$HIDDEN":true
},
{
"x":60,
"type":"Box",
"props":{"top":0,"right":0,"name":"selected","left":0,"bottom":0},
"nodeParent":139,
"label":"Box(selected)",
"isOpen":true,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
"compId":259,
"child":[
{
"x":75,
"type":"Box",
"props":{"y":-22,"x":0,"renderType":"mask"},
"nodeParent":259,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
"compId":260,
"child":[
{
"x":90,
"type":"Rect",
"props":{"width":1800,"lineWidth":1,"height":204,"fillColor":"#ff0000"},
"nodeParent":260,
"label":"Rect",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":261,
"child":[
]
}],
"$HIDDEN":true
},
{
"x":75,
"type":"Image",
"props":{"top":-19,"skin":"images/border/achievement_complete@3x.png","right":-19,"left":-80,"bottom":-19},
"nodeParent":259,
"label":"Image",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":257,
"child":[
],
"$HIDDEN":false
},
{
"x":75,
"type":"Rect",
"props":{"y":0,"x":0,"width":4,"lineWidth":1,"height":160,"fillColor":"#55fffe"},
"nodeParent":259,
"label":"Rect",
"isDirectory":false,
"isAniNode":false,
"hasChild":false,
"compId":262,
"child":[
]
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade1","height":160},
"nodeParent":139,
"label":"Box(grade1)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
@@ -992,11 +986,12 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade2","height":160},
"nodeParent":139,
"label":"Box(grade2)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
@@ -1016,11 +1011,12 @@
}]
},
{
"x":60,
"type":"Box",
"props":{"width":15,"name":"grade3","height":160},
"nodeParent":139,
"label":"Box(grade3)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":false,
"hasChild":true,
@@ -1040,6 +1036,7 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"text":"Title","name":"labTitle","left":52,"fontSize":55,"font":"方正像素12","color":"#ffffff","centerY":0},
"nodeParent":139,
@@ -1052,6 +1049,7 @@
]
},
{
"x":60,
"type":"Label",
"props":{"y":10,"text":"descriptipn","right":33,"name":"labDescription","fontSize":44,"font":"方正像素12","color":"#76979d","centerY":0},
"nodeParent":139,

View File

@@ -1,8 +1,8 @@
{
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":1,
"selectedBox":21,
"selecteID":22,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTalent.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -12,34 +12,6 @@
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Sprite",
"props":{"y":0,"x":0},
"nodeParent":1,
"label":"Sprite",
"isOpen":null,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":6,
"child":[
{
"type":"Rect",
"props":{"y":0,"x":0,"width":1125,"lineWidth":1,"height":2436,"fillColor":"#04131f"},
"nodeParent":6,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":7,
"child":[
],
"$HIDDEN":false
}],
"$LOCKED":true,
"$HIDDEN":true
},
{
"x":15,
"type":"Box",
@@ -410,17 +382,16 @@
{
"x":30,
"type":"List",
"props":{"var":"listTalents","vScrollBarSkin":" ","top":310,"right":20,"name":"listTalents","left":20,"bottom":370},
"props":{"width":1085,"var":"listTalents","vScrollBarSkin":" ","top":310,"name":"listTalents","centerX":0,"bottom":370},
"nodeParent":21,
"label":"List(listTalents)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":22,
"child":[
{
"x":45,
"type":"Box",
"props":{"width":537,"renderType":"render","height":352},
"nodeParent":22,
@@ -432,7 +403,6 @@
"compId":23,
"child":[
{
"x":60,
"type":"Image",
"props":{"top":0,"skin":"images/border/talent_item@3x.png","right":0,"name":"unselected","left":0,"bottom":0},
"nodeParent":23,
@@ -446,7 +416,6 @@
"$HIDDEN":false
},
{
"x":60,
"type":"Image",
"props":{"top":0,"skin":"images/border/talent_item_selected@3x.png","right":0,"name":"selected","left":0,"bottom":3},
"nodeParent":23,
@@ -460,7 +429,6 @@
"$HIDDEN":false
},
{
"x":60,
"type":"HBox",
"props":{"top":104,"space":15,"name":"hboxTitle","left":66,"height":58},
"nodeParent":23,
@@ -472,7 +440,6 @@
"compId":26,
"child":[
{
"x":75,
"type":"Box",
"props":{"y":0,"x":0,"width":15,"name":"grades","height":58},
"nodeParent":26,
@@ -484,7 +451,6 @@
"compId":108,
"child":[
{
"x":90,
"type":"Box",
"props":{"width":15,"name":"grade1","height":58},
"nodeParent":108,
@@ -496,7 +462,6 @@
"compId":27,
"child":[
{
"x":105,
"type":"Sprite",
"props":{},
"nodeParent":27,
@@ -508,7 +473,6 @@
"compId":28,
"child":[
{
"x":120,
"type":"Rect",
"props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#55fffe"},
"nodeParent":28,
@@ -524,7 +488,6 @@
}]
},
{
"x":90,
"type":"Box",
"props":{"width":15,"name":"grade2","height":58},
"nodeParent":108,
@@ -536,7 +499,6 @@
"compId":105,
"child":[
{
"x":105,
"type":"Sprite",
"props":{},
"nodeParent":105,
@@ -548,7 +510,6 @@
"compId":106,
"child":[
{
"x":120,
"type":"Rect",
"props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#b17cff"},
"nodeParent":106,
@@ -564,7 +525,6 @@
}]
},
{
"x":90,
"type":"Box",
"props":{"width":15,"name":"grade3","height":58},
"nodeParent":108,
@@ -576,7 +536,6 @@
"compId":102,
"child":[
{
"x":105,
"type":"Sprite",
"props":{},
"nodeParent":102,
@@ -588,7 +547,6 @@
"compId":103,
"child":[
{
"x":120,
"type":"Rect",
"props":{"width":15,"lineWidth":1,"height":58,"fillColor":"#ffce45"},
"nodeParent":103,
@@ -605,7 +563,6 @@
}]
},
{
"x":75,
"type":"Label",
"props":{"x":1,"text":"Title","name":"labTitle","fontSize":58,"font":"方正像素12","color":"#ffffff"},
"nodeParent":26,
@@ -619,7 +576,6 @@
}]
},
{
"x":60,
"type":"Label",
"props":{"y":205,"wordWrap":true,"text":"description","right":66,"name":"labDescription","left":66,"leading":8,"fontSize":44,"font":"方正像素12","color":"#9dacaf"},
"nodeParent":23,
@@ -637,269 +593,280 @@
},
{
"x":30,
"type":"Button",
"props":{"width":1040,"var":"btnNext","skin":"images/button/button_main@3x.png","name":"btnNext","labelSize":60,"label":"UI_Next","height":192,"centerY":1040,"centerX":0},
"type":"Box",
"props":{"right":0,"left":0,"height":1,"bottom":0},
"nodeParent":21,
"label":"Button(btnNext)",
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":33,
"compId":109,
"child":[
{
"x":45,
"type":"Box",
"props":{},
"nodeParent":33,
"label":"Box",
"type":"Button",
"props":{"width":1040,"var":"btnNext","skin":"images/button/button_main@3x.png","name":"btnNext","labelSize":60,"label":"UI_Next","height":192,"centerY":-180,"centerX":0},
"nodeParent":109,
"label":"Button(btnNext)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":78,
"compId":33,
"child":[
{
"type":"Animation",
"props":{"y":96,"x":520,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":7,"height":0,"blendMode":"lighter","autoPlay":true},
"nodeParent":78,
"label":"Animation",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":80,
"child":[
]
},
{
"type":"Box",
"props":{"renderType":"mask"},
"nodeParent":78,
"props":{},
"nodeParent":33,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":81,
"compId":78,
"child":[
{
"type":"Rect",
"props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"type":"Animation",
"props":{"y":96,"x":520,"width":0,"source":"view/CyberTheme/animation/circleFlash.ani","scaleX":7,"height":0,"blendMode":"lighter","autoPlay":true},
"nodeParent":78,
"label":"Animation",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":82,
"compId":80,
"child":[
]
},
{
"type":"Rect",
"props":{"y":37,"x":1010,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"type":"Box",
"props":{"renderType":"mask"},
"nodeParent":78,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":false,
"compId":83,
"hasChild":true,
"compId":81,
"child":[
]
},
{
"type":"Rect",
"props":{"y":21,"x":44,"width":954,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":84,
"child":[
]
},
{
"type":"Rect",
"props":{"y":150,"x":171,"width":700,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":85,
"child":[
]
},
{
"type":"Rect",
"props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":86,
"child":[
]
},
{
"type":"Rect",
"props":{"y":163,"x":877,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":87,
"child":[
]
},
{
"type":"Rect",
"props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":88,
"child":[
]
},
{
"type":"Rect",
"props":{"y":150,"x":871,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":89,
"child":[
]
},
{
"type":"Rect",
"props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":90,
"child":[
]
},
{
"type":"Rect",
"props":{"y":21,"x":998,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":91,
"child":[
]
},
{
"type":"Rect",
"props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":92,
"child":[
]
},
{
"type":"Rect",
"props":{"y":153,"x":1017,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":93,
"child":[
]
}]
}]
},
{
"x":45,
"type":"Box",
"props":{},
"nodeParent":33,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":79,
"child":[
{
"type":"Box",
"props":{"renderType":"mask"},
"nodeParent":79,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":94,
"child":[
{
"type":"Poly",
"props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
"nodeParent":94,
"label":"Poly",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":95,
"child":[
]
},
{
"type":"Poly",
"props":{"y":41,"x":1004,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
"nodeParent":94,
"label":"Poly",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":96,
"child":[
]
},
{
"type":"Poly",
"props":{"y":160,"x":177,"points":"0,0,687,0,693,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
"nodeParent":94,
"label":"Poly",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":97,
"child":[
],
"$HIDDEN":false
{
"type":"Rect",
"props":{"y":37,"x":25,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":82,
"child":[
]
},
{
"type":"Rect",
"props":{"y":37,"x":1010,"width":7,"lineWidth":1,"height":116,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":83,
"child":[
]
},
{
"type":"Rect",
"props":{"y":21,"x":44,"width":954,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":84,
"child":[
]
},
{
"type":"Rect",
"props":{"y":150,"x":171,"width":700,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":85,
"child":[
]
},
{
"type":"Rect",
"props":{"y":163,"x":44,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":86,
"child":[
]
},
{
"type":"Rect",
"props":{"y":163,"x":877,"width":121,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":87,
"child":[
]
},
{
"type":"Rect",
"props":{"y":148,"x":29,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":88,
"child":[
]
},
{
"type":"Rect",
"props":{"y":150,"x":871,"width":19,"rotation":55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":89,
"child":[
]
},
{
"type":"Rect",
"props":{"y":166,"x":160,"width":19,"rotation":-55,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":90,
"child":[
]
},
{
"type":"Rect",
"props":{"y":21,"x":998,"width":25,"rotation":40,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":91,
"child":[
]
},
{
"type":"Rect",
"props":{"y":26,"x":48,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":92,
"child":[
]
},
{
"type":"Rect",
"props":{"y":153,"x":1017,"width":25,"rotation":140,"lineWidth":1,"height":6,"fillColor":"#ff0000"},
"nodeParent":81,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":93,
"child":[
]
}]
}]
},
{
"type":"Animation",
"props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true},
"nodeParent":79,
"label":"Animation",
"isDirectory":false,
"type":"Box",
"props":{},
"nodeParent":33,
"label":"Box",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":false,
"compId":98,
"hasChild":true,
"compId":79,
"child":[
]
{
"type":"Box",
"props":{"renderType":"mask"},
"nodeParent":79,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":94,
"child":[
{
"type":"Poly",
"props":{"y":41,"x":35,"points":"0,0,8,-6,8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
"nodeParent":94,
"label":"Poly",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":95,
"child":[
]
},
{
"type":"Poly",
"props":{"y":41,"x":1004,"points":"0,0,-8,-6,-8,113,0,107","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
"nodeParent":94,
"label":"Poly",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":96,
"child":[
]
},
{
"type":"Poly",
"props":{"y":160,"x":177,"points":"0,0,687,0,693,10,-6,10","lineWidth":1,"lineColor":"#ff0000","fillColor":"#00ffff"},
"nodeParent":94,
"label":"Poly",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":97,
"child":[
],
"$HIDDEN":false
}]
},
{
"type":"Animation",
"props":{"y":172,"x":520,"source":"view/CyberTheme/animation/bottomBreath.ani","scaleX":6,"blendMode":"lighter","autoPlay":true},
"nodeParent":79,
"label":"Animation",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":98,
"child":[
]
}]
}]
}]
}],
@@ -921,7 +888,7 @@
{
"x":30,
"type":"Image",
"props":{"skin":"images/accessories/titlebar@3x.png"},
"props":{"skin":"images/accessories/titlebar@3x.png","right":0,"left":0},
"nodeParent":20,
"label":"Image",
"isDirectory":false,

View File

@@ -1,8 +1,8 @@
{
"x":0,
"type":"View",
"selectedBox":13,
"selecteID":131,
"selectedBox":14,
"selecteID":104,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTrajectory.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -547,7 +547,7 @@
{
"x":15,
"type":"Box",
"props":{"width":1,"height":1,"centerX":0,"bottom":-1},
"props":{"right":0,"left":0,"height":1,"bottom":-1},
"nodeParent":1,
"label":"Box",
"isOpen":true,
@@ -826,7 +826,7 @@
{
"x":30,
"type":"Box",
"props":{"y":-155,"width":900,"var":"boxSpeed","name":"boxSpeed","height":150,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"y":-155,"var":"boxSpeed","right":100,"name":"boxSpeed","left":100,"height":150,"anchorY":0.5,"anchorX":0.5},
"nodeParent":14,
"label":"Box(boxSpeed)",
"isOpen":true,

View File

@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":1,
"selecteID":12,
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -18,15 +18,16 @@
"props":{"y":0,"x":0,"alpha":0.3},
"nodeParent":1,
"label":"Sprite",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":11,
"child":[
{
"x":30,
"type":"Rect",
"props":{"width":1125,"lineWidth":1,"height":2436,"fillColor":"#000000"},
"props":{"width":2000,"lineWidth":1,"height":3000,"fillColor":"#000000"},
"nodeParent":11,
"label":"Rect",
"isDirectory":false,

View File

@@ -31,6 +31,8 @@
<item name="images/border/up@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=4,4,4,4" picType="0" scale="0"/>
<item name="images/button/button_small@3x.png" type="Button" compress="0" pack="0" quality="80" props="sizeGrid=8,8,8,8@@!@@stateNum=1@@!@@label= @@!@@runtime=ScaleButton" picType="0" scale="0"/>
<item name="images/border/achievement@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=16,16,16,16" picType="0" scale="0"/>
<item name="images/border/achievement_complete@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=74,74,74,74" picType="0" scale="0"/>
<item name="images/border/achievement_complete@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=74,80,74,80" picType="0" scale="0"/>
<item name="images/resource/circle.png" type="Image" compress="0" pack="0" quality="80" props="" picType="0" scale="0"/>
<item name="images/border/talent_item_selected@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=106,150,74,150" picType="0" scale="0"/>
<item name="images/accessories/titlebar@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=0,348,116,348" picType="0" scale="0"/>
</res>

Binary file not shown.

View File

@@ -1,4 +1,6 @@
D .
D fonts
R 39B4F491 方正像素12.ttf
D images
D images/accessories
P ADDDCB66 cardicon@3x.png

View File

@@ -14,6 +14,7 @@
<meta name="laya" screenorientation ="landscape"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<font-face font-family="方正像素12" src="fonts/方正像素12.ttf"/>
<title>Life Restart</title>
</head>
<body style="background:black">

View File

@@ -14,13 +14,38 @@ class App{
};
#initLaya() {
Laya.init(1125, 2436, Laya.WebGL);
// Laya.init(1125, 2436, Laya.WebGL);
Laya.init(...this.#fitScreen, Laya.WebGL);
Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE;
Laya.stage.alignH = Laya.Stage.ALIGN_CENTER;
Laya.stage.scaleMode = "showall";
Laya.stage.bgColor = "#04131f";
window.onresize = () => Laya.stage.size(...this.#fitScreen);
}
get #fitScreen() {
const designWidth = 1125;
const designHeight = 2436;
const maxWidth = designHeight * 3 / 4;
const maxHeight = designWidth * 24 / 9;
const designRatio = designWidth / designHeight;
const screenWidth = window.innerWidth;
const screenHeight = window.innerHeight;
const screenRatio = screenWidth / screenHeight;
if(screenRatio > designRatio) {
return [
Math.min(screenWidth*designHeight/screenHeight, maxWidth),
designHeight
]
} else {
return [
designWidth,
Math.min(screenHeight*designWidth/screenWidth, maxHeight)
]
}
}
async setLanguage(language) {
@@ -40,9 +65,16 @@ class App{
Laya.Text.langPacks = (await import(`./i18n/${this.#language}.js`)).default;
}
resigterEvent() {
$$on('achievement', achievement => {
UIManager.getInstance().popup(UIManager.getInstance().themes.popup.ACHIEVEMENT, {achievement});
})
}
async start({
language = App.languages['zh-cn']
}) {
this.resigterEvent();
this.#initLaya();
const uiManager = UIManager.getInstance();
uiManager.themes = ViewTypes.themes.default;
@@ -52,6 +84,7 @@ class App{
await core.initial(dataSet=>Laya.promises.loader.load(`data/${this.#language}/${dataSet}.json`, null, Laya.Loader.JSON));
await uiManager.switchView(uiManager.themes.MAIN, null, {
load: [
"fonts/方正像素12.ttf",
"images/atlas/images/accessories.atlas",
"images/atlas/images/border.atlas",
"images/atlas/images/button.atlas",

View File

@@ -333,14 +333,17 @@ class Property {
const d = this.#judge[prop];
let length = d.length;
const p = 1/length;
const progress = () => {
const min = d[length][0] || 0;
const max = d[length+1]?.[0] || value;
if(max == min) return 1;
return p * (length + (value - min) / (max - min));
}
// progress judge
// const p = 1/length;
// const progress = () => {
// const min = d[length][0] || 0;
// const max = d[length+1]?.[0] || value;
// if(max == min) return 1;
// return p * (length + (value - min) / (max - min));
// }
const progress = () => Math.max(Math.min(value, 10), 0) / 10;
while(length--) {
const [min, grade, judge] = d[length];

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,19 @@ export default class cyberAchievement extends CyberAchievementUI {
this.listAchievements.renderHandler = new Laya.Handler(this, this.onRenderAchievement);
this.listAchievements.scrollBar.elasticDistance = 150;
this.on(Laya.Event.RESIZE, this, () => {
this.boxPage.width = 2 * this.width;
this.boxA.width = this.boxB.width = this.width;
if(this.boxPage.x < 0) {
this.boxPage.x = - this.width;
}
const renderWidth = this.listAchievements?._itemRender?.props?.width;
if(renderWidth) {
const col = Math.max(Math.floor((this.width - 65) / renderWidth), 1);
this.listAchievements.width = col * renderWidth + (col - 1) * (this.listAchievements.spaceY || 0) + 30;
}
});
}
#state;

View File

@@ -6,6 +6,13 @@ export default class cyberMain extends CyberMainUI {
this.btnThanks.on(Laya.Event.CLICK, this, ()=>UIManager.getInstance().switchView(UIManager.getInstance().themes.THANKS));
this.btnGithub.on(Laya.Event.CLICK, this, goto, ['github']);
this.btnDiscord.on(Laya.Event.CLICK, this, goto, ['discord']);
this.on(Laya.Event.RESIZE, this, () => {
const scale = Math.max(
this.width / this.imgBg.width,
this.height / this.imgBg.height
);
this.imgBg.scale(scale, scale);
});
}
init() {

View File

@@ -206,9 +206,8 @@ export default class cyberProperty extends CyberPropertyUI {
}
}
renderTalent(box, index) {
renderTalent(box) {
const dataSource = box.dataSource;
console.debug(index, dataSource, box);
const labTitle = box.getChildByName("labTitle");
const grade1 = box.getChildByName("grade1");

View File

@@ -5,6 +5,8 @@ export default class cyberSummary extends CyberSummaryUI {
this.btnAgain.on(Laya.Event.CLICK, this, this.onAgain);
}
#selectedTalent;
get gradeFilters() {
return [
this.colorGrade0.text,
@@ -24,8 +26,9 @@ export default class cyberSummary extends CyberSummaryUI {
}
onAgain() {
UIManager.getInstance().switchView(UIManager.getInstance().themes.MAIN);
core.talentExtend(this.#selectedTalent);
core.times ++;
UIManager.getInstance().switchView(UIManager.getInstance().themes.MAIN);
}
init({talents}) {
@@ -33,7 +36,6 @@ export default class cyberSummary extends CyberSummaryUI {
const gradeFilters = this.gradeFilters;
const gradeColors = this.gradeColors;
console.debug(summary, lastExtendTalent);
const age = summary[core.PropertyTypes.HAGE];
this.labAge.text = ''+age.value;
this.labAgeJudge.text = age.judge;
@@ -84,18 +86,20 @@ export default class cyberSummary extends CyberSummaryUI {
if(b == lastExtendTalent) return 1;
return bg - ag;
});
this.#selectedTalent = talents[0].id;
this.listSelectedTalents.array = talents;
}
renderTalent(box, index) {
renderTalent(box) {
const dataSource = box.dataSource;
console.debug(index, dataSource, box);
const labTitle = box.getChildByName("labTitle");
const grade1 = box.getChildByName("grade1");
const grade2 = box.getChildByName("grade2");
const grade3 = box.getChildByName("grade3");
const labDescription = box.getChildByName("labDescription");
const selected = box.getChildByName("selected");
const unselected = box.getChildByName("unselected");
labTitle.text = dataSource.name;
labDescription.text = dataSource.description;
@@ -121,5 +125,20 @@ export default class cyberSummary extends CyberSummaryUI {
grade3.visible = false;
break;
}
selected.visible = dataSource.id == this.#selectedTalent;
unselected.visible = !selected.visible;
box.off(Laya.Event.CLICK, this, this.onSelectTalent);
box.on(Laya.Event.CLICK, this, this.onSelectTalent, [dataSource.id]);
}
onSelectTalent(talentId) {
if(talentId == this.#selectedTalent) {
this.#selectedTalent = null;
} else {
this.#selectedTalent = talentId;
}
this.listSelectedTalents.refresh();
}
}

View File

@@ -5,6 +5,13 @@ export default class CyberTalent extends CyberTalentUI {
this.btnNext.on(Laya.Event.CLICK, this, this.onClickNext);
this.listTalents.renderHandler = Laya.Handler.create(this, this.renderTalent, null, false);
this.listTalents.scrollBar.elasticDistance = 150;
this.on(Laya.Event.RESIZE, this, () => {
const renderWidth = this.listTalents?._itemRender?.props?.width;
if(renderWidth) {
const col = Math.max(Math.floor((this.width - 40) / renderWidth), 1);
this.listTalents.width = col * renderWidth + (col - 1) * (this.listTalents.spaceY || 0);
}
});
}
#selected = new Set();
@@ -38,7 +45,6 @@ export default class CyberTalent extends CyberTalentUI {
renderTalent(box, index) {
const dataSource = box.dataSource;
console.debug(index, dataSource, box);
const hboxTitle = box.getChildByName("hboxTitle");
const labTitle = hboxTitle.getChildByName("labTitle");

View File

@@ -78,6 +78,7 @@ export default class CyberTrajectory extends CyberTrajectoryUI {
this.#talents = talents;
core.restart(propertyAllocate);
this.updateProperty();
this.onNext();
}
close() {
@@ -112,6 +113,15 @@ export default class CyberTrajectory extends CyberTrajectoryUI {
this.btnSummary.visible = true;
}
this.renderTrajectory(age, content);
Laya.timer.frameOnce(1, this, () => {
this.panelTrajectory.scrollTo(0, this.panelTrajectory.contentHeight);
});
this.updateProperty();
}
renderTrajectory(age, content) {
const item = this.#createTrajectoryItem();
item.labAge.text = ''+age;
item.labContent.text = content.map(
@@ -127,10 +137,6 @@ export default class CyberTrajectory extends CyberTrajectoryUI {
this.vboxTrajectory.addChild(item);
this.#trajectoryItems.push(item);
this.#trajectoryItems.forEach((item, index) => item.y = index);
Laya.timer.frameOnce(1, this, () => {
this.panelTrajectory.scrollTo(0, this.panelTrajectory.contentHeight);
});
this.updateProperty();
}
onSummary() {

View File

@@ -0,0 +1,29 @@
export default class cyberAchievementPopup extends CyberAchievementPopupUI {
constructor() {
super();
}
get gradeColors() {
return [
this.colorGrade0.color,
this.colorGrade1.color,
this.colorGrade2.color,
this.colorGrade3.color,
];
}
async popup({achievement}, parent) {
Laya.Tween.clearAll(this);
Laya.Tween.clearAll(this.boxBg);
this.alpha = 0.8;
this.labName.text = achievement.name;
this.labName.color = this.gradeColors[achievement.grade];
this.x = - this.width;
this.boxBg.x = this.boxBg.width;
await Promise.all([
Laya.promises.Tween.to(this, {x: 0}, 300, Laya.Ease.strongOut),
Laya.promises.Tween.to(this.boxBg, {x: 0}, 300, Laya.Ease.strongOut, 50),
])
await Laya.promises.Tween.to(this, {alpha: 0}, 3000, Laya.Ease.strongIn);
}
}

View File

@@ -7,6 +7,9 @@ const cyber = {
SUMMARY: "cyber/cyberSummary",
ACHIEVEMENT: "cyber/cyberAchievement",
THANKS: "cyber/cyberThanks",
popup: {
ACHIEVEMENT: "cyber/popup/cyberAchievementPopup",
}
}
const themes = {

View File

@@ -10,6 +10,8 @@ class UIManager {
this.#viewLayer.zOrder = 1;
stage.addChild(this.#dialogLayer);
this.#dialogLayer.zOrder = 2;
stage.addChild(this.#popupLayer);
this.#popupLayer.zOrder = 3;
this.#viewLayer.top =
this.#viewLayer.bottom =
this.#viewLayer.left =
@@ -17,7 +19,11 @@ class UIManager {
this.#dialogLayer.top =
this.#dialogLayer.bottom =
this.#dialogLayer.left =
this.#dialogLayer.right = 0;
this.#dialogLayer.right =
this.#popupLayer.top =
this.#popupLayer.bottom =
this.#popupLayer.left =
this.#popupLayer.right = 0;
}
static #instance = {};
@@ -26,7 +32,9 @@ class UIManager {
#currentView;
#viewLayer = new Laya.Panel();
#dialogLayer = new Laya.Panel();
#popupLayer = new Laya.Panel();
#viewMap = new Map();
#class = new Map();
theme;
static getInstance(name="default") {
@@ -35,14 +43,16 @@ class UIManager {
async setLoading(loading) {
const view = await this.getView(loading);
view.top = view.bottom = view.left = view.right = 0;
view.zOrder = 4;
this.#loading = view;
this.#loading.zOrder = 3;
}
async switchView(viewName, args, actions) {
// get view instance
const view = await this.getView(viewName, args, actions?.load);
view.top = view.bottom = view.left = view.right = 0;
// close current view
this.clearAllDialog();
await this.#currentView?.__close?.(view);
@@ -99,7 +109,10 @@ class UIManager {
async loadView(viewName) {
// load view
return (await import(`./themes/${viewName}.js`)).default;
if(this.#class.has(viewName)) return this.#class.get(viewName);
const c = (await import(`./themes/${viewName}.js`)).default;
this.#class.set(viewName, c);
return c;
}
async loadRes(resourceList, preload, onProgress) {
@@ -131,6 +144,13 @@ class UIManager {
this.#dialogLayer.addChild(dialog);
}
async popup(type, args) {
const popup = await this.getView(type, args);
this.#popupLayer.addChild(popup);
await popup.popup(args, this.#popupLayer);
this.#popupLayer.removeChild(popup);
}
clearAllDialog() {
this.#dialogLayer.removeChildren();
}
@@ -192,4 +212,8 @@ class UIManager {
return resourceList;
}
get currentView() {
return this.#currentView;
}
}