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
+75 -64
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,