17 Commits

Author SHA1 Message Date
Vick Scarlet
0e272ffd99 add thanks 2021-11-28 13:17:41 +08:00
Vick Scarlet
e1e2ab4701 add light theme 2021-11-28 11:40:21 +08:00
Vick Scarlet
4f55c00f86 fix bug 2021-11-27 22:27:39 +08:00
Vick Scarlet
1d07bdfc46 daily update 2021-11-27 21:48:47 +08:00
Vick Scarlet
52d6a0ca8f daily update 2021-11-24 23:10:04 +08:00
Vick Scarlet
f8dd720d4d daily update 2021-11-24 19:08:13 +08:00
Vick Scarlet
d088c1a862 remove useless 2021-11-21 21:41:46 +08:00
Vick Scarlet
a711fcf3ed add achievement popup
add page adaptive
add talent extends
2021-11-16 00:53:05 +08:00
Vick Scarlet
05e02de3db add github and discord 2021-11-13 01:24:04 +08:00
Vick Scarlet
bff0109cc5 add trajectory auto mode 2021-11-13 00:30:01 +08:00
Vick Scarlet
54c04f65c2 fix property judge negative number bug 2021-11-12 19:54:31 +08:00
Vick Scarlet
660739530b update achievement 2021-11-12 19:48:58 +08:00
Vick Scarlet
c94e9e7433 update daily 2021-11-11 21:37:45 +08:00
Vick Scarlet
c06cd9ea62 update daily 2021-11-09 00:08:05 +08:00
Vick Scarlet
2666983f89 add uiManager auto scan and load skin resource 2021-11-07 23:00:22 +08:00
Vick Scarlet
22fa5d755a update framework 2021-11-07 22:17:04 +08:00
Vick Scarlet
f40698d63e add laya 2021-10-31 00:13:22 +08:00
111 changed files with 456 additions and 4101 deletions

View File

@@ -1,2 +0,0 @@
node_modules
npm-debug.log

View File

@@ -1,15 +0,0 @@
FROM node:alpine
ENV NPM_CONFIG_LOGLEVEL info
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD ["yarn", "dev"]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +1,6 @@
<project version="0.9.8">
<asynRes>img,temp,sound </asynRes>
<unDealRes>embed </unDealRes>
<asynRes>img,temp,sound </asynRes>
<unDealRes>embed </unDealRes>
<resTypes>png,jpg </resTypes>
<resExportPath>public/images/atlas </resExportPath>
<asynResExportPath>public </asynResExportPath>
@@ -16,7 +16,7 @@ var Dialog=laya.ui.Dialog;]]> </codeImportsJS>
<shareResPath/>
<codeType>2 </codeType>
<resCanCompress/>
<resPublishQuality>80 </resPublishQuality>
<resPublishQuality>80 </resPublishQuality>
<langPath/>
<defaultFont/>
<codeImportsTS><![CDATA[import View=laya.ui.View;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -1 +0,0 @@
{"textureName":"images/texture/texture_1.png","positionVariance":{"0":0,"1":0,"2":0},"minVerticalVelocity":-100,"minVerticalEndRadian":0,"minStartSize":0,"minStartRadius":0,"minRotateSpeed":0,"minHorizontalVelocity":100,"minHorizontalEndRadian":0,"minEndSize":18.55,"minEndRadius":218.75,"minColor":{"0":0.15,"1":0.92,"2":0.91,"3":0.6000000238418579},"maxVerticalVelocity":100,"maxVerticalEndRadian":0,"maxStartSize":2.04,"maxStartRadius":0,"maxRotateSpeed":0,"maxPartices":400,"maxHorizontalVelocity":100,"maxHorizontalEndRadian":0,"maxEndSize":24.35,"maxEndRadius":84.82,"maxColor":{"0":0.57,"1":1,"2":0,"3":1},"gravity":{"0":0,"1":0,"2":0},"endVelocity":2,"emitterVelocitySensitivity":56.89,"duration":9.52,"colorComponentInter":true,"blendState":0,"ageAddScale":10,"backColor":"#ffffff","textureFileName":"comp\\clip_num.png","textureCount":1,"minHorizontalStartRadian":0,"maxHorizontalStartRadian":0,"minVerticalStartRadian":0,"maxVerticalStartRadian":0,"emitterType":"null","emissionRate":0,"sphereEmitterRadius":1,"sphereEmitterVelocity":0,"sphereEmitterVelocityAddVariance":0,"ringEmitterRadius":30,"ringEmitterVelocity":0,"ringEmitterVelocityAddVariance":0,"ringEmitterUp":2,"minStartColor":{"0":0.5,"1":0.5,"2":0.5,"3":0.2},"maxStartColor":{"0":1,"1":1,"2":1,"3":1},"minEndColor":{"0":0,"1":0,"2":0,"3":0.08},"maxEndColor":{"0":1,"1":1,"2":1,"3":1},"pointEmitterPosition":{"0":0,"1":0,"2":0},"pointEmitterPositionVariance":{"0":0,"1":0,"2":0},"pointEmitterVelocity":{"0":0,"1":0,"2":0},"pointEmitterVelocityAddVariance":{"0":0,"1":0,"2":0},"boxEmitterCenterPosition":{"0":0,"1":0,"2":0},"boxEmitterSize":{"0":0,"1":0,"2":0},"boxEmitterVelocity":{"0":0,"1":0,"2":0},"boxEmitterVelocityAddVariance":{"0":0,"1":0,"2":0},"sphereEmitterCenterPosition":{"0":0,"1":0,"2":0},"ringEmitterCenterPosition":{"0":0,"1":0,"2":0},"useEndRadian":true,"disableColor":false}

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":3,
"selecteID":7,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberAchievement.png","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberAchievement.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -40,7 +40,7 @@
{
"x":30,
"type":"Box",
"props":{"y":200,"x":-170,"width":260,"var":"btnRank","runtime":"Laya.runtime.ScaleButton","height":90,"anchorY":0.5,"anchorX":0.5},
"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,
@@ -505,7 +505,7 @@
"child":[
{
"type":"Box",
"props":{"y":0,"x":0,"width":530,"runtime":"Laya.runtime.ColorFilterItem","renderType":"render","height":460},
"props":{"y":0,"x":0,"width":530,"runtime":"ColorFilterItem","renderType":"render","height":460},
"nodeParent":9,
"label":"Box",
"isOpen":true,

View File

@@ -2,8 +2,8 @@
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":12,
"props":{"y":1218,"x":562,"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberMain.png","runtime":"Laya.runtime.ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},
"selecteID":83,
"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",
"isOpen":true,
@@ -18,13 +18,14 @@
"props":{"var":"imgBg","skin":"images/background/background_1@3x.png","name":"imgBg","centerY":0,"centerX":0},
"nodeParent":1,
"label":"Image(imgBg)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"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,
@@ -41,7 +42,7 @@
{
"x":15,
"type":"Image",
"props":{"var":"imgTitle","skin":"images/accessories/title@3x.png","runtime":"Laya.runtime.ColorFilterItem","name":"imgTitle","centerY":-350,"centerX":0},
"props":{"var":"imgTitle","skin":"images/accessories/title@3x.png","runtime":"ColorFilterItem","name":"imgTitle","centerY":-350,"centerX":0},
"nodeParent":1,
"label":"Image(imgTitle)",
"isOpen":false,
@@ -130,7 +131,7 @@
{
"x":15,
"type":"Label",
"props":{"text":"UI_Cyber_Theme_Art_Design","right":50,"fontSize":48,"font":"方正像素12","color":"#00fffd","bottom":30,"anchorY":0.5,"anchorX":0.5},
"props":{"text":"UI_Cyber_Theme_Art_Design","right":50,"fontSize":48,"font":"方正像素12","color":"#00fffd","centerY":1165,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Label",
"isDirectory":false,
@@ -408,7 +409,7 @@
{
"x":15,
"type":"Box",
"props":{"y":200,"x":200,"width":225,"var":"btnThanks","runtime":"Laya.runtime.ScaleButton","name":"btnThanks","height":90,"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,
@@ -473,15 +474,16 @@
"props":{"y":0,"x":1100,"width":1,"top":0,"right":0,"height":1},
"nodeParent":1,
"label":"Box",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":84,
"child":[
{
"x":30,
"type":"Box",
"props":{"y":200,"x":-200,"width":225,"var":"btnAchievement","runtime":"Laya.runtime.ScaleButton","name":"btnAchievement","height":90,"anchorY":0.5,"anchorX":0.5},
"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,
@@ -557,7 +559,7 @@
{
"x":30,
"type":"Box",
"props":{"y":-175,"x":100,"width":160,"var":"btnGithub","runtime":"Laya.runtime.ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},
"props":{"y":-175,"x":100,"width":160,"var":"btnGithub","runtime":"ScaleButton","name":"btnGithub","height":160,"anchorY":0.5,"anchorX":0.5},
"nodeParent":85,
"label":"Box(btnGithub)",
"isOpen":false,
@@ -582,7 +584,7 @@
{
"x":30,
"type":"Box",
"props":{"y":-355,"x":100,"width":160,"var":"btnDiscord","runtime":"Laya.runtime.ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},
"props":{"y":-355,"x":100,"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"anchorY":0.5,"anchorX":0.5},
"nodeParent":85,
"label":"Box(btnDiscord)",
"isOpen":false,
@@ -604,96 +606,6 @@
]
}]
}]
},
{
"x":15,
"type":"Box",
"props":{"right":0,"bottom":0},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":88,
"child":[
{
"x":30,
"type":"Box",
"props":{"y":-300,"x":-100,"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"anchorY":0.5,"anchorX":0.5},
"nodeParent":88,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":90,
"child":[
{
"x":45,
"type":"Box",
"props":{"width":110,"var":"btnSaveLoad","runtime":"Laya.runtime.ColorfulBox","name":"btnSmall","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":90,
"label":"Box(btnSaveLoad)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":91,
"child":[
{
"x":60,
"type":"Image",
"props":{"width":80,"skin":"images/icons/icon_save.png","height":80,"centerY":0,"centerX":0},
"nodeParent":91,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":92,
"child":[
]
}]
}]
},
{
"x":30,
"type":"Box",
"props":{"y":-175,"x":-100,"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"anchorY":0.5,"anchorX":0.5},
"nodeParent":88,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":89,
"child":[
{
"x":45,
"type":"Box",
"props":{"width":110,"var":"btnThemes","runtime":"Laya.runtime.ColorfulBox","name":"btnThemes","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":89,
"label":"Box(btnThemes)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":86,
"child":[
{
"type":"Image",
"props":{"width":90,"skin":"images/icons/icon_themes.png","height":90,"centerY":0,"centerX":0},
"nodeParent":86,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":87,
"child":[
]
}]
}]
}]
}],
"animations":[
{

View File

@@ -4,7 +4,7 @@
"selectedBox":1,
"selecteID":97,
"referenceLines":null,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberProperty.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -300,7 +300,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":21,
"label":"Box",
"isDirectory":true,
@@ -465,7 +465,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":22,
"label":"Box",
"isDirectory":true,
@@ -653,7 +653,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":126,
"label":"Box",
"isDirectory":true,
@@ -818,7 +818,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":140,
"label":"Box",
"isDirectory":true,
@@ -1006,7 +1006,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":156,
"label":"Box",
"isDirectory":true,
@@ -1171,7 +1171,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":170,
"label":"Box",
"isDirectory":true,
@@ -1359,7 +1359,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":186,
"label":"Box",
"isDirectory":true,
@@ -1524,7 +1524,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":200,
"label":"Box",
"isDirectory":true,
@@ -2053,7 +2053,7 @@
"child":[
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},
"props":{"runtime":"ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},
"nodeParent":75,
"label":"Box",
"isOpen":false,
@@ -2232,7 +2232,7 @@
},
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},
"props":{"runtime":"ColorFilterItem","colorFilter":"#ffce45ff","blendMode":"lighter"},
"nodeParent":75,
"label":"Box",
"isOpen":false,

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":1,
"selecteID":8,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberSummary.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -393,7 +393,7 @@
},
{
"type":"Box",
"props":{"var":"boxCharmGrade","top":20,"runtime":"Laya.runtime.ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},
"props":{"var":"boxCharmGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxCharmGrade","left":255,"bottom":20},
"nodeParent":17,
"label":"Box(boxCharmGrade)",
"isOpen":true,
@@ -489,7 +489,7 @@
},
{
"type":"Box",
"props":{"var":"boxIntelligenceGrade","top":20,"runtime":"Laya.runtime.ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},
"props":{"var":"boxIntelligenceGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxIntelligenceGrade","left":255,"bottom":20},
"nodeParent":47,
"label":"Box(boxIntelligenceGrade)",
"isOpen":true,
@@ -585,7 +585,7 @@
},
{
"type":"Box",
"props":{"var":"boxStrengthGrade","top":20,"runtime":"Laya.runtime.ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},
"props":{"var":"boxStrengthGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxStrengthGrade","left":255,"bottom":20},
"nodeParent":77,
"label":"Box(boxStrengthGrade)",
"isOpen":true,
@@ -681,7 +681,7 @@
},
{
"type":"Box",
"props":{"var":"boxMoneyGrade","top":20,"runtime":"Laya.runtime.ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},
"props":{"var":"boxMoneyGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxMoneyGrade","left":255,"bottom":20},
"nodeParent":107,
"label":"Box(boxMoneyGrade)",
"isOpen":true,
@@ -777,7 +777,7 @@
},
{
"type":"Box",
"props":{"var":"boxSpiritGrade","top":20,"runtime":"Laya.runtime.ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},
"props":{"var":"boxSpiritGrade","top":20,"runtime":"ColorFilterItem","right":240,"name":"boxSpiritGrade","left":255,"bottom":20},
"nodeParent":195,
"label":"Box(boxSpiritGrade)",
"isOpen":true,

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":21,
"selecteID":22,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTalent.png","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTalent.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,

View File

@@ -1,9 +1,9 @@
{
"x":0,
"type":"View",
"selectedBox":88,
"selecteID":153,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTrajectory.png","runtime":"Laya.runtime.ViewBase","height":2436},
"selectedBox":14,
"selecteID":13,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTrajectory.png","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -550,13 +550,14 @@
"props":{"right":0,"left":0,"height":1,"bottom":-1},
"nodeParent":1,
"label":"Box",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":14,
"child":[
{
"x":30,
"type":"Button",
"props":{"y":-155,"width":500,"var":"btnSummary","skin":"images/button/button_main@3x.png","name":"btnSummary","label":"UI_Goto_Summary","centerX":0},
"nodeParent":14,
@@ -568,6 +569,7 @@
"compId":13,
"child":[
{
"x":45,
"type":"Box",
"props":{},
"nodeParent":13,
@@ -748,6 +750,7 @@
}]
},
{
"x":45,
"type":"Box",
"props":{},
"nodeParent":13,
@@ -821,6 +824,7 @@
"$HIDDEN":false
},
{
"x":30,
"type":"Box",
"props":{"y":-155,"var":"boxSpeed","right":100,"name":"boxSpeed","left":100,"height":150,"anchorY":0.5,"anchorX":0.5},
"nodeParent":14,
@@ -832,6 +836,7 @@
"compId":104,
"child":[
{
"x":45,
"type":"ProgressBar",
"props":{"var":"prgSpeed","skin":"images/progress/progress_s.png","right":0,"name":"prgSpeed","left":0,"bottom":0},
"nodeParent":104,
@@ -844,6 +849,7 @@
]
},
{
"x":45,
"type":"HScrollBar",
"props":{"var":"scbSpeed","skin":"images/slider/hslider_s.png","right":0,"name":"scbSpeed","min":0,"max":1000,"left":0,"height":60,"bottom":0},
"nodeParent":104,
@@ -856,6 +862,7 @@
]
},
{
"x":45,
"type":"Label",
"props":{"text":"UI_Manual","fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70},
"nodeParent":104,
@@ -868,6 +875,7 @@
]
},
{
"x":45,
"type":"Label",
"props":{"text":"UI_Auto","right":0,"fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70},
"nodeParent":104,
@@ -926,14 +934,13 @@
"props":{"var":"vboxTrajectory","top":0,"right":40,"name":"vboxTrajectory","left":20},
"nodeParent":18,
"label":"VBox(vboxTrajectory)",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":17,
"child":[
{
"x":60,
"type":"Box",
"props":{"right":0,"name":"boxTrajectoryItem","left":0},
"nodeParent":17,
@@ -945,25 +952,11 @@
"compId":88,
"child":[
{
"x":75,
"type":"Box",
"props":{"y":0,"width":10,"top":0,"runtime":"Laya.runtime.ColorfulBox","name":"boxGrade","left":0,"height":50},
"nodeParent":88,
"label":"Box(boxGrade)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":153,
"child":[
]
},
{
"x":75,
"type":"HBox",
"props":{"y":0,"x":220,"name":"hboxAge","anchorX":1,"align":"middle"},
"props":{"y":0,"x":200,"name":"hboxAge","anchorX":1,"align":"middle"},
"nodeParent":88,
"label":"HBox(hboxAge)",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
@@ -1007,9 +1000,8 @@
}]
},
{
"x":75,
"type":"Label",
"props":{"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":240,"leading":44,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
"props":{"wordWrap":true,"text":"你的父母开始辅导你数学和英语,智力+1","right":0,"name":"labContent","left":220,"leading":44,"fontSize":50,"font":"方正像素12","color":"#ffffff"},
"nodeParent":88,
"label":"Label(labContent)",
"isDirectory":false,
@@ -1121,32 +1113,6 @@
}]
}]
}]
},
{
"x":15,
"type":"Box",
"props":{"width":10,"var":"boxParticle","name":"boxParticle","height":10,"centerY":0,"centerX":0},
"nodeParent":1,
"label":"Box(boxParticle)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":152,
"child":[
{
"type":"Particle2D",
"source":"particle/fly.part",
"props":{"y":5,"x":5,"url":"particle/fly.part","autoPlay":true},
"nodeParent":152,
"label":"Particle2D",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":151,
"child":[
]
}]
}],
"animations":[
{

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":1,
"selecteID":9,
"props":{"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -28,7 +28,7 @@
{
"x":15,
"type":"Box",
"props":{"width":260,"var":"btnBack","top":50,"runtime":"Laya.runtime.ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5},
"props":{"width":260,"var":"btnBack","top":50,"runtime":"ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnBack)",
"isOpen":false,
@@ -64,7 +64,7 @@
"child":[
{
"type":"Box",
"props":{"width":500,"var":"boxRemakeTimes","top":0,"runtime":"Laya.runtime.ColorfulBox","name":"boxRemakeTimes","left":0,"height":240},
"props":{"width":500,"var":"boxRemakeTimes","top":0,"runtime":"ColorfulBox","name":"boxRemakeTimes","left":0,"height":240},
"nodeParent":25,
"label":"Box(boxRemakeTimes)",
"isOpen":true,
@@ -100,7 +100,7 @@
},
{
"type":"Box",
"props":{"width":500,"var":"boxAchievementCount","top":0,"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"boxAchievementCount","height":240},
"props":{"width":500,"var":"boxAchievementCount","top":0,"runtime":"ColorfulBox","right":0,"name":"boxAchievementCount","height":240},
"nodeParent":25,
"label":"Box(boxAchievementCount)",
"isOpen":true,
@@ -136,7 +136,7 @@
},
{
"type":"Box",
"props":{"width":500,"var":"boxEventRate","runtime":"Laya.runtime.ColorfulBox","name":"boxEventRate","left":0,"height":240,"bottom":0},
"props":{"width":500,"var":"boxEventRate","runtime":"ColorfulBox","name":"boxEventRate","left":0,"height":240,"bottom":0},
"nodeParent":25,
"label":"Box(boxEventRate)",
"isOpen":true,
@@ -196,7 +196,7 @@
},
{
"type":"Box",
"props":{"width":500,"var":"boxTalentRate","runtime":"Laya.runtime.ColorfulBox","right":0,"name":"boxTalentRate","height":240,"bottom":0},
"props":{"width":500,"var":"boxTalentRate","runtime":"ColorfulBox","right":0,"name":"boxTalentRate","height":240,"bottom":0},
"nodeParent":25,
"label":"Box(boxTalentRate)",
"isOpen":true,
@@ -258,7 +258,7 @@
{
"x":15,
"type":"Box",
"props":{"width":1060,"top":800,"runtime":"Laya.runtime.ColorfulBox","name":"hr","height":10,"centerX":0},
"props":{"width":1060,"top":800,"runtime":"ColorfulBox","name":"hr","height":10,"centerX":0},
"nodeParent":1,
"label":"Box(hr)",
"isDirectory":false,
@@ -284,7 +284,7 @@
{
"x":15,
"type":"Box",
"props":{"x":945,"width":260,"var":"btnRank","top":870,"runtime":"Laya.runtime.ColorfulBox","right":50,"name":"btnRank","height":90,"anchorY":0.5,"anchorX":0.5},
"props":{"x":945,"width":260,"var":"btnRank","top":870,"runtime":"ColorfulBox","right":50,"name":"btnRank","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnRank)",
"isOpen":false,
@@ -322,7 +322,7 @@
{
"x":30,
"type":"Box",
"props":{"y":10,"x":10,"width":500,"runtime":"Laya.runtime.ColorfulBox","renderType":"render","height":320},
"props":{"y":10,"x":10,"width":500,"runtime":"ColorfulBox","renderType":"render","height":320},
"nodeParent":9,
"label":"Box",
"isOpen":true,

View File

@@ -40,7 +40,7 @@
{
"x":30,
"type":"Box",
"props":{"var":"bg1","top":0,"runtime":"Laya.runtime.ColorfulBox","right":10,"left":0,"bottom":0},
"props":{"var":"bg1","top":0,"runtime":"ColorfulBox","right":10,"left":0,"bottom":0},
"nodeParent":5,
"label":"Box(bg1)",
"isDirectory":false,

View File

@@ -1,9 +1,9 @@
{
"x":0,
"type":"View",
"selectedBox":99,
"selecteID":100,
"props":{"y":1218,"x":562,"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},
"selectedBox":1,
"selecteID":83,
"props":{"y":1218,"x":562,"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436,"anchorY":0.5,"anchorX":0.5},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -15,9 +15,9 @@
{
"x":15,
"type":"Label",
"props":{"text":"UI_Title_Remake","name":"title","fontSize":130,"font":"SimHei","color":"#ffffff","centerY":-260,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"props":{"var":"labTitle","text":"UI_Title_Remake","name":"labTitle","fontSize":130,"font":"SimHei","color":"#ffffff","centerY":-260,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Label(title)",
"label":"Label(labTitle)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
@@ -28,7 +28,7 @@
{
"x":15,
"type":"Label",
"props":{"wordWrap":true,"var":"labSubTitle","text":"UI_Title_Subsequent","right":0,"name":"title","left":0,"fontSize":70,"font":"SimHei","color":"#999999","centerY":-120,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"props":{"wordWrap":true,"var":"labSubTitle","text":"UI_Title_Subsequent","right":0,"name":"labSubTitle","left":0,"fontSize":70,"font":"SimHei","color":"#999999","centerY":-120,"anchorY":0.5,"anchorX":0.5,"align":"center"},
"nodeParent":1,
"label":"Label(labSubTitle)",
"isDirectory":false,
@@ -41,7 +41,7 @@
{
"x":15,
"type":"Box",
"props":{"width":600,"var":"btnRemake","runtime":"Laya.runtime.ColorfulBox","name":"btnRemake","height":150,"centerY":600,"centerX":0},
"props":{"width":600,"var":"btnRemake","runtime":"ColorfulBox","name":"btnRemake","height":150,"centerY":600,"centerX":0},
"nodeParent":1,
"label":"Box(btnRemake)",
"isOpen":true,
@@ -67,7 +67,7 @@
{
"x":15,
"type":"Box",
"props":{"width":260,"var":"btnThanks","top":50,"runtime":"Laya.runtime.ColorfulBox","right":50,"name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},
"props":{"width":260,"var":"btnThanks","top":50,"runtime":"ColorfulBox","right":50,"name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnThanks)",
"isOpen":false,
@@ -92,7 +92,7 @@
{
"x":15,
"type":"Box",
"props":{"width":260,"var":"btnAchievement","top":180,"runtime":"Laya.runtime.ColorfulBox","right":50,"name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},
"props":{"width":260,"var":"btnAchievement","top":180,"runtime":"ColorfulBox","right":50,"name":"btnSmall","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnAchievement)",
"isOpen":true,
@@ -119,7 +119,7 @@
{
"x":15,
"type":"Box",
"props":{"y":0,"x":0,"width":160,"var":"btnGithub","runtime":"Laya.runtime.ScaleButton","rotation":-45,"name":"btnGithub","height":160,"anchorY":0,"anchorX":0.5},
"props":{"y":0,"x":0,"width":160,"var":"btnGithub","runtime":"ScaleButton","rotation":-45,"name":"btnGithub","height":160,"anchorY":0,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnGithub)",
"isOpen":false,
@@ -195,15 +195,16 @@
"props":{"width":160,"left":50,"height":160,"bottom":50},
"nodeParent":1,
"label":"Box",
"isOpen":false,
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":92,
"child":[
{
"x":30,
"type":"Box",
"props":{"width":160,"var":"btnDiscord","runtime":"Laya.runtime.ScaleButton","name":"btnDiscord","height":160,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":160,"var":"btnDiscord","runtime":"ScaleButton","name":"btnDiscord","height":160,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":92,
"label":"Box(btnDiscord)",
"isOpen":false,
@@ -225,57 +226,6 @@
]
}]
}]
},
{
"x":15,
"type":"Box",
"props":{"y":2201,"x":1020,"width":110,"var":"btnSaveLoad","runtime":"Laya.runtime.ColorfulBox","right":50,"name":"btnSmall","height":110,"bottom":180,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnSaveLoad)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":99,
"child":[
{
"x":30,
"type":"Image",
"props":{"width":80,"skin":"images/icons/icon_save.png","height":80,"centerY":0,"centerX":0},
"nodeParent":99,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":100,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"width":110,"var":"btnThemes","runtime":"Laya.runtime.ColorfulBox","right":50,"name":"btnThemes","height":110,"bottom":50,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnThemes)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":96,
"child":[
{
"type":"Image",
"props":{"width":90,"skin":"images/icons/icon_themes.png","height":90,"centerY":0,"centerX":0},
"nodeParent":96,
"label":"Image",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":98,
"child":[
]
}]
}],
"animations":[
{

View File

@@ -4,7 +4,7 @@
"selectedBox":181,
"selecteID":184,
"referenceLines":null,
"props":{"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -130,7 +130,7 @@
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxCharmAllocate","runtime":"Laya.runtime.ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"props":{"width":590,"var":"boxCharmAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"nodeParent":10,
"label":"Box(boxCharmAllocate)",
"isOpen":false,
@@ -212,7 +212,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":21,
"label":"Box",
"isOpen":true,
@@ -368,7 +368,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":22,
"label":"Box",
"isOpen":true,
@@ -457,7 +457,7 @@
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxIntelligenceAllocate","runtime":"Laya.runtime.ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"props":{"width":590,"var":"boxIntelligenceAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"nodeParent":121,
"label":"Box(boxIntelligenceAllocate)",
"isOpen":false,
@@ -539,7 +539,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":126,
"label":"Box",
"isOpen":true,
@@ -695,7 +695,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":140,
"label":"Box",
"isOpen":true,
@@ -784,7 +784,7 @@
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxStrengthAllocate","runtime":"Laya.runtime.ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"props":{"width":590,"var":"boxStrengthAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"nodeParent":151,
"label":"Box(boxStrengthAllocate)",
"isOpen":false,
@@ -866,7 +866,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":156,
"label":"Box",
"isOpen":true,
@@ -1022,7 +1022,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":170,
"label":"Box",
"isOpen":true,
@@ -1111,7 +1111,7 @@
{
"x":60,
"type":"Box",
"props":{"width":590,"var":"boxMoneyAllocate","runtime":"Laya.runtime.ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"props":{"width":590,"var":"boxMoneyAllocate","runtime":"ColorFilterItem","right":30,"name":"property","height":110,"centerY":0},
"nodeParent":181,
"label":"Box(boxMoneyAllocate)",
"isOpen":false,
@@ -1193,7 +1193,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":186,
"label":"Box",
"isOpen":true,
@@ -1349,7 +1349,7 @@
},
{
"type":"Box",
"props":{"width":110,"runtime":"Laya.runtime.ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"props":{"width":110,"runtime":"ScaleButton","height":110,"centerY":0,"centerX":0,"anchorY":0.5,"anchorX":0.5},
"nodeParent":200,
"label":"Box",
"isOpen":true,
@@ -1453,7 +1453,7 @@
{
"x":45,
"type":"Box",
"props":{"y":15,"runtime":"Laya.runtime.ColorfulBox","right":15,"renderType":"render","left":15,"height":80},
"props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80},
"nodeParent":58,
"label":"Box",
"isOpen":true,
@@ -1494,7 +1494,7 @@
{
"x":30,
"type":"Box",
"props":{"y":0,"x":0,"width":480,"var":"btnRandomAllocate","top":0,"runtime":"Laya.runtime.ColorfulBox","name":"btnRandomAllocate","bottom":0},
"props":{"y":0,"x":0,"width":480,"var":"btnRandomAllocate","top":0,"runtime":"ColorfulBox","name":"btnRandomAllocate","bottom":0},
"nodeParent":212,
"label":"Box(btnRandomAllocate)",
"isOpen":true,
@@ -1520,7 +1520,7 @@
{
"x":30,
"type":"Box",
"props":{"x":1,"width":480,"var":"btnNext","top":0,"runtime":"Laya.runtime.ColorfulBox","name":"btnNext","bottom":0},
"props":{"x":1,"width":480,"var":"btnNext","top":0,"runtime":"ColorfulBox","name":"btnNext","bottom":0},
"nodeParent":212,
"label":"Box(btnNext)",
"isOpen":true,

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":1,
"selecteID":8,
"props":{"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -52,7 +52,7 @@
{
"x":45,
"type":"Box",
"props":{"y":15,"runtime":"Laya.runtime.ColorfulBox","right":15,"renderType":"render","left":15,"height":160},
"props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":160},
"nodeParent":265,
"label":"Box",
"isOpen":true,
@@ -120,7 +120,7 @@
{
"x":45,
"type":"Box",
"props":{"y":15,"runtime":"Laya.runtime.ColorfulBox","right":15,"renderType":"render","left":15,"height":80},
"props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80},
"nodeParent":138,
"label":"Box",
"isOpen":true,
@@ -145,7 +145,7 @@
{
"x":60,
"type":"Box",
"props":{"top":0,"runtime":"Laya.runtime.BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3},
"props":{"top":0,"runtime":"BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3},
"nodeParent":263,
"label":"Box(blank)",
"isDirectory":false,
@@ -174,7 +174,7 @@
{
"x":30,
"type":"Box",
"props":{"width":600,"var":"btnAgain","runtime":"Laya.runtime.ColorfulBox","name":"btnAgain","height":150,"centerX":0,"bottom":100},
"props":{"width":600,"var":"btnAgain","runtime":"ColorfulBox","name":"btnAgain","height":150,"centerX":0,"bottom":100},
"nodeParent":10,
"label":"Box(btnAgain)",
"isOpen":true,

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":21,
"selecteID":114,
"props":{"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -39,7 +39,7 @@
"child":[
{
"type":"Box",
"props":{"width":600,"var":"btnDrawCard","runtime":"Laya.runtime.ColorfulBox","name":"btnDrawCard","height":150,"centerY":0,"centerX":0},
"props":{"width":600,"var":"btnDrawCard","runtime":"ColorfulBox","name":"btnDrawCard","height":150,"centerY":0,"centerX":0},
"nodeParent":19,
"label":"Box(btnDrawCard)",
"isOpen":true,
@@ -91,7 +91,7 @@
{
"x":45,
"type":"Box",
"props":{"y":15,"runtime":"Laya.runtime.ColorfulBox","right":15,"renderType":"render","left":15,"height":80},
"props":{"y":15,"runtime":"ColorfulBox","right":15,"renderType":"render","left":15,"height":80},
"nodeParent":22,
"label":"Box",
"isOpen":true,
@@ -116,7 +116,7 @@
{
"x":60,
"type":"Box",
"props":{"top":0,"runtime":"Laya.runtime.BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3},
"props":{"top":0,"runtime":"BlankBox","right":0,"name":"blank","left":0,"bottom":0,"alpha":0.3},
"nodeParent":23,
"label":"Box(blank)",
"isDirectory":false,
@@ -133,7 +133,7 @@
{
"x":30,
"type":"Box",
"props":{"x":263,"width":1085,"var":"btnNext","runtime":"Laya.runtime.ColorfulBox","name":"btnNext","height":150,"centerX":0,"bottom":30},
"props":{"x":263,"width":1085,"var":"btnNext","runtime":"ColorfulBox","name":"btnNext","height":150,"centerX":0,"bottom":30},
"nodeParent":21,
"label":"Box(btnNext)",
"isOpen":true,

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":1,
"selecteID":161,
"props":{"width":1125,"sceneColor":"#666666","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#666666","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -15,7 +15,7 @@
{
"x":15,
"type":"Box",
"props":{"y":95,"x":945,"width":260,"var":"btnBack","top":50,"runtime":"Laya.runtime.ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5},
"props":{"y":95,"x":945,"width":260,"var":"btnBack","top":50,"runtime":"ColorfulBox","right":50,"name":"btnBack","height":90,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnBack)",
"isOpen":false,
@@ -62,7 +62,7 @@
"child":[
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"boxTopSupport","left":0},
"props":{"runtime":"ColorfulBox","right":0,"name":"boxTopSupport","left":0},
"nodeParent":17,
"label":"Box(boxTopSupport)",
"isOpen":true,
@@ -128,7 +128,7 @@
{
"x":15,
"type":"Box",
"props":{"width":400,"var":"btnDDF","runtime":"Laya.runtime.ColorfulBox","name":"btnDDF","height":100,"centerX":300,"bottom":50,"anchorY":0.5,"anchorX":0.5},
"props":{"width":400,"var":"btnDDF","runtime":"ColorfulBox","name":"btnDDF","height":100,"centerX":300,"bottom":50,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnDDF)",
"isOpen":true,
@@ -154,7 +154,7 @@
{
"x":15,
"type":"Box",
"props":{"width":400,"var":"btnAFD","runtime":"Laya.runtime.ColorfulBox","name":"btnAFD","height":100,"centerX":-300,"bottom":50,"anchorY":0.5,"anchorX":0.5},
"props":{"width":400,"var":"btnAFD","runtime":"ColorfulBox","name":"btnAFD","height":100,"centerX":-300,"bottom":50,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnAFD)",
"isOpen":true,

View File

@@ -2,8 +2,8 @@
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":153,
"props":{"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436},
"selecteID":102,
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,
@@ -37,7 +37,7 @@
"child":[
{
"type":"Box",
"props":{"x":0,"width":200,"runtime":"Laya.runtime.ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"props":{"x":0,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"nodeParent":71,
"label":"Box(propertyBox)",
"isOpen":true,
@@ -60,7 +60,7 @@
},
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"nodeParent":34,
"label":"Box(propertyValue)",
"isOpen":true,
@@ -86,7 +86,7 @@
},
{
"type":"Box",
"props":{"x":1,"width":200,"runtime":"Laya.runtime.ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"props":{"x":1,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"nodeParent":71,
"label":"Box(propertyBox)",
"isOpen":true,
@@ -109,7 +109,7 @@
},
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"nodeParent":50,
"label":"Box(propertyValue)",
"isOpen":true,
@@ -135,7 +135,7 @@
},
{
"type":"Box",
"props":{"x":2,"width":200,"runtime":"Laya.runtime.ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"props":{"x":2,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"nodeParent":71,
"label":"Box(propertyBox)",
"isOpen":true,
@@ -158,7 +158,7 @@
},
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"nodeParent":74,
"label":"Box(propertyValue)",
"isOpen":true,
@@ -183,7 +183,7 @@
},
{
"type":"Box",
"props":{"x":3,"width":200,"runtime":"Laya.runtime.ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"props":{"x":3,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"nodeParent":71,
"label":"Box(propertyBox)",
"isOpen":true,
@@ -206,7 +206,7 @@
},
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"nodeParent":43,
"label":"Box(propertyValue)",
"isOpen":true,
@@ -231,7 +231,7 @@
},
{
"type":"Box",
"props":{"x":4,"width":200,"runtime":"Laya.runtime.ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"props":{"x":4,"width":200,"runtime":"ColorfulBox","name":"propertyBox","height":120,"centerY":0},
"nodeParent":71,
"label":"Box(propertyBox)",
"isOpen":true,
@@ -254,7 +254,7 @@
},
{
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"props":{"runtime":"ColorfulBox","right":0,"name":"propertyValue","left":0,"height":60,"bottom":0},
"nodeParent":81,
"label":"Box(propertyValue)",
"isOpen":true,
@@ -284,7 +284,7 @@
{
"x":15,
"type":"Box",
"props":{"x":20,"var":"boxTrajectory","top":240,"runtime":"Laya.runtime.ColorfulBox","right":20,"name":"boxTrajectory","left":20,"bottom":250},
"props":{"x":20,"var":"boxTrajectory","top":240,"runtime":"ColorfulBox","right":20,"name":"boxTrajectory","left":20,"bottom":250},
"nodeParent":1,
"label":"Box(boxTrajectory)",
"isOpen":true,
@@ -320,7 +320,7 @@
{
"x":60,
"type":"Box",
"props":{"runtime":"Laya.runtime.ColorfulBox","right":0,"name":"boxTrajectoryItem","left":0},
"props":{"runtime":"ColorfulBox","right":0,"name":"boxTrajectoryItem","left":0},
"nodeParent":17,
"label":"Box(boxTrajectoryItem)",
"isOpen":true,
@@ -411,7 +411,7 @@
{
"x":30,
"type":"Box",
"props":{"width":600,"var":"btnSummary","runtime":"Laya.runtime.ColorfulBox","name":"btnSummary","height":150,"centerX":0,"bottom":80},
"props":{"width":600,"var":"btnSummary","runtime":"ColorfulBox","name":"btnSummary","height":150,"centerX":0,"bottom":80},
"nodeParent":14,
"label":"Box(btnSummary)",
"isOpen":true,
@@ -437,7 +437,7 @@
{
"x":30,
"type":"Box",
"props":{"y":-155,"var":"boxSpeed","runtime":"Laya.runtime.ColorFilterItem","right":100,"name":"boxSpeed","left":100,"height":150,"anchorY":0.5,"anchorX":0.5},
"props":{"y":-155,"var":"boxSpeed","runtime":"ColorFilterItem","right":100,"name":"boxSpeed","left":100,"height":150,"anchorY":0.5,"anchorX":0.5},
"nodeParent":14,
"label":"Box(boxSpeed)",
"isOpen":true,
@@ -501,32 +501,6 @@
}],
"$LOCKED":true,
"$HIDDEN":false
},
{
"x":15,
"type":"Box",
"props":{"width":10,"var":"boxParticle","name":"boxParticle","height":10,"centerY":0,"centerX":0},
"nodeParent":1,
"label":"Box(boxParticle)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":153,
"child":[
{
"type":"Particle2D",
"source":"particle/fly.part",
"props":{"y":5,"x":5,"url":"particle/fly.part","autoPlay":true},
"nodeParent":153,
"label":"Particle2D",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":154,
"child":[
]
}]
}],
"animations":[
{

View File

@@ -3,7 +3,7 @@
"type":"View",
"selectedBox":1,
"selecteID":12,
"props":{"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436},
"props":{"width":1125,"sceneColor":"#000000","runtime":"ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
"isOpen":true,

View File

@@ -1,50 +0,0 @@
{
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":2,
"props":{"width":1100,"sceneColor":"#000000","mouseThrough":true,"mouseEnabled":false,"height":230},
"nodeParent":-1,
"label":"View",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Box",
"props":{"var":"boxBg","top":10,"runtime":"Laya.runtime.ColorfulBox","right":10,"name":"boxBg","left":10,"bottom":10,"alpha":0.75},
"nodeParent":1,
"label":"Box(boxBg)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":3,
"child":[
]
},
{
"x":15,
"type":"Label",
"props":{"wordWrap":true,"var":"message","text":"消息","right":50,"name":"message","left":50,"fontSize":60,"font":"SimHei","color":"#ffffff","centerY":0,"align":"center"},
"nodeParent":1,
"label":"Label(message)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":2,
"child":[
]
}],
"animations":[
{
"nodes":[
],
"name":"ani1",
"id":1,
"frameRate":24,
"action":0
}]
}

View File

@@ -1,251 +0,0 @@
{
"x":0,
"type":"Dialog",
"selectedBox":1,
"selecteID":15,
"props":{"width":645,"sceneColor":"#000000","height":250},
"nodeParent":-1,
"label":"Dialog",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Box",
"props":{"top":0,"right":0,"left":0,"bottom":150},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":15,
"child":[
{
"x":30,
"type":"Box",
"props":{"y":0,"x":0,"width":645,"height":2},
"nodeParent":15,
"label":"Box",
"isOpen":null,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":19,
"child":[
{
"type":"Rect",
"props":{"width":645,"lineWidth":1,"height":2,"fillColor":"#97ffe6"},
"nodeParent":19,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":17,
"child":[
]
}]
},
{
"x":30,
"type":"Box",
"props":{"width":645,"height":2,"centerX":0,"bottom":0},
"nodeParent":15,
"label":"Box",
"isOpen":null,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":20,
"child":[
{
"type":"Rect",
"props":{"width":645,"lineWidth":1,"height":2,"fillColor":"#97ffe6"},
"nodeParent":20,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":21,
"child":[
]
}]
},
{
"x":30,
"type":"Box",
"props":{"width":645,"height":100,"centerY":0,"centerX":0,"alpha":0.2},
"nodeParent":15,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":22,
"child":[
{
"x":45,
"type":"Rect",
"props":{"width":645,"lineWidth":1,"height":100,"fillColor":"#000000"},
"nodeParent":22,
"label":"Rect",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":23,
"child":[
]
}]
}]
},
{
"x":15,
"type":"TextInput",
"props":{"wordWrap":false,"var":"input","valign":"middle","top":0,"text":"content","right":0,"overflow":"scroll","left":0,"fontSize":35,"font":"SimHei","color":"#ffffff","bottom":150},
"nodeParent":1,
"label":"TextInput(input)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":4,
"child":[
]
},
{
"x":15,
"type":"Box",
"props":{"width":120,"var":"btnSave","runtime":"Laya.runtime.ColorfulBox","name":"btnSmall","left":5,"height":120,"bottom":5,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnSave)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":5,
"child":[
{
"type":"Label",
"props":{"text":"UI_Save","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":5,
"label":"Label(label)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":7,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"width":120,"var":"btnLoad","runtime":"Laya.runtime.ColorfulBox","name":"btnSmall","left":130,"height":120,"bottom":5,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnLoad)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":6,
"child":[
{
"type":"Label",
"props":{"text":"UI_Load","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":6,
"label":"Label(label)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":8,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"y":335,"width":120,"var":"btnRead","runtime":"Laya.runtime.ColorfulBox","name":"btnSmall","left":260,"height":120,"bottom":5,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnRead)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":13,
"child":[
{
"type":"Label",
"props":{"text":"UI_Read","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":13,
"label":"Label(label)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":14,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"y":335,"width":120,"var":"btnWrite","runtime":"Laya.runtime.ColorfulBox","name":"btnSmall","left":390,"height":120,"bottom":5,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnWrite)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":11,
"child":[
{
"type":"Label",
"props":{"text":"UI_Write","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":11,
"label":"Label(label)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":12,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"y":10,"x":10,"width":120,"var":"btnClose","runtime":"Laya.runtime.ColorfulBox","right":5,"name":"btnSmall","height":120,"bottom":5,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnClose)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":9,
"child":[
{
"type":"Label",
"props":{"text":"×","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":9,
"label":"Label(label)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":10,
"child":[
]
}]
}],
"animations":[
{
"nodes":[
],
"name":"ani1",
"id":1,
"frameRate":24,
"action":0
}]
}

View File

@@ -1,141 +0,0 @@
{
"x":0,
"type":"Dialog",
"selectedBox":1,
"selecteID":13,
"props":{"width":350,"sceneColor":"#000000","height":550},
"nodeParent":-1,
"label":"Dialog",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":1,
"child":[
{
"x":15,
"type":"Box",
"props":{"top":20,"right":20,"left":20,"bottom":130},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":6,
"child":[
{
"x":30,
"type":"RadioGroup",
"props":{"var":"radioTheme","name":"radioTheme","height":380,"centerY":0,"centerX":0},
"nodeParent":6,
"label":"RadioGroup(radioTheme)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":13,
"child":[
{
"x":45,
"type":"Radio",
"props":{"width":300,"top":0,"skin":"images/radio/radio_cyber.png","name":"item0","height":100},
"nodeParent":13,
"label":"Radio(item0)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":10,
"child":[
]
},
{
"x":45,
"type":"Radio",
"props":{"width":300,"skin":"images/radio/radio_dark.png","name":"item1","height":100,"centerY":0},
"nodeParent":13,
"label":"Radio(item1)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":11,
"child":[
]
},
{
"x":45,
"type":"Radio",
"props":{"width":300,"skin":"images/radio/radio_light.png","name":"item2","height":100,"bottom":0},
"nodeParent":13,
"label":"Radio(item2)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":12,
"child":[
]
}]
}]
},
{
"x":15,
"type":"Box",
"props":{"width":90,"var":"btnOK","runtime":"Laya.runtime.ColorfulBox","name":"btnSmall","left":20,"height":90,"bottom":20,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnOK)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":2,
"child":[
{
"x":30,
"type":"Label",
"props":{"text":"√","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":2,
"label":"Label(label)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":3,
"child":[
]
}]
},
{
"x":15,
"type":"Box",
"props":{"width":90,"var":"btnClose","runtime":"Laya.runtime.ColorfulBox","right":20,"name":"btnSmall","height":90,"bottom":20,"anchorY":0.5,"anchorX":0.5},
"nodeParent":1,
"label":"Box(btnClose)",
"isOpen":true,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":14,
"child":[
{
"x":30,
"type":"Label",
"props":{"text":"×","name":"label","fontSize":50,"font":"SimHei","color":"#ffffff","centerY":0,"centerX":0,"bold":true,"anchorY":0.5,"anchorX":0.5},
"nodeParent":14,
"label":"Label(label)",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":15,
"child":[
]
}]
}],
"animations":[
{
"nodes":[
],
"name":"ani1",
"id":1,
"frameRate":24,
"action":0
}]
}

View File

@@ -10,10 +10,10 @@
<item name="images/border/border_1@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=130,130,130,130" picType="0" scale="0"/>
<item name="images/button/button_back.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label=&quot;&quot;@@!@@anchorX=0@@!@@anchorY=0.5" picType="0" scale="0"/>
<item name="images/button/button_back@2x.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label=&quot;&quot;@@!@@anchorX=0@@!@@anchorY=0.5" picType="0" scale="0"/>
<item name="images/button/button_back@3x.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label= @@!@@anchorX=0@@!@@anchorY=0.5@@!@@runtime=Laya.runtime.ScaleButton" picType="0" scale="0"/>
<item name="images/button/button_back@3x.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label= @@!@@anchorX=0@@!@@anchorY=0.5@@!@@runtime=ScaleButton" picType="0" scale="0"/>
<item name="images/button/button_main.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label=&quot;&quot;@@!@@anchorX=0.5@@!@@anchorY=0.5@@!@@sizeGrid=36,150,36,150@@!@@labelFont=方正像素12@@!@@labelColors=#00fffc,#00fffc,#00fffc@@!@@labelSize=35" picType="0" scale="0"/>
<item name="images/button/button_main@2x.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label=&quot;&quot;@@!@@anchorX=0.5@@!@@anchorY=0.5@@!@@sizeGrid=72,300,72,300@@!@@labelFont=方正像素12@@!@@labelColors=#00fffc,#00fffc,#00fffc@@!@@labelSize=70" picType="0" scale="0"/>
<item name="images/button/button_main@3x.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label= @@!@@anchorX=0.5@@!@@anchorY=0.5@@!@@sizeGrid=45,200,45,200@@!@@labelFont=方正像素12@@!@@labelColors=#00fffc,#00fffc,#00fffc@@!@@labelSize=50@@!@@runtime=Laya.runtime.ScaleButton" picType="0" scale="0"/>
<item name="images/button/button_main@3x.png" type="Button" compress="0" pack="0" quality="80" props="stateNum=1@@!@@label= @@!@@anchorX=0.5@@!@@anchorY=0.5@@!@@sizeGrid=45,200,45,200@@!@@labelFont=方正像素12@@!@@labelColors=#00fffc,#00fffc,#00fffc@@!@@labelSize=50@@!@@runtime=ScaleButton" picType="0" scale="0"/>
<item name="images/border/up@2x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=4,4,4,4" picType="0" scale="0"/>
<item name="images/border/up.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=2,2,2,2" picType="0" scale="0"/>
<item name="images/border/talentitem.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=50,100,50,100" picType="0" scale="0"/>
@@ -29,7 +29,7 @@
<item name="images/border/property.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=10,10,10,10" picType="0" scale="0"/>
<item name="images/border/property@3x.png" type="Image" compress="0" pack="0" quality="80" props="sizeGrid=15,15,15,15" picType="0" scale="0"/>
<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=Laya.runtime.ScaleButton" 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,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"/>

View File

@@ -15,9 +15,8 @@
"@babel/preset-env": "^7.15.4",
"babel-loader": "^8.2.2",
"core-js": "^3.17.2",
"html-webpack-plugin": "^5.5.0",
"v-transform": "^1.0.2",
"webpack": "^5.64.4",
"v-transform": "^1.0.1",
"webpack": "^5.51.2",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.1.0"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -11825,8 +11825,6 @@
"20567*0.01",
"11497*0.05",
"11498*0.05",
"21326",
"21327",
"40065*1000000000000000000",
"40066*100000000000000000",
"40067*100000000000000000",
@@ -12048,8 +12046,6 @@
"11497*0.05",
"11498*0.05",
"11499*0.1",
"21326",
"21327",
"40065*1000000000000000000",
"40066*100000000000000000",
"40067*100000000000000000",
@@ -12271,8 +12267,6 @@
"11498*0.05",
"11499*0.1",
"10426*0.1",
"21326",
"21327",
"40065*1000000000000000000",
"40066*100000000000000000",
"40067*100000000000000000",
@@ -12485,8 +12479,6 @@
"11498*0.05",
"11499*0.1",
"10426*0.1",
"21326",
"21327",
"40065*1000000000000000000",
"40066*100000000000000000",
"40067*100000000000000000",

File diff suppressed because it is too large Load Diff

View File

@@ -390,9 +390,8 @@
"name": "神丶暴龙战士灬张杨"
},
{
"group": 1,
"name": "NovaDNG",
"comment": "感谢你们为世界带来一些欢乐"
"group": 2,
"name": "NovaDNG"
},
{
"group": 2,
@@ -2407,67 +2406,6 @@
"group": 2,
"name": "皓月长歌"
},
{
"group": 2,
"name": "逸云"
},
{
"group": 2,
"name": "那么可爱当然是__",
"color": "#ADFF2F"
},
{
"group": 2,
"name": "嘉然我真的好喜欢你啊"
},
{
"group": 2,
"name": "楪之舞"
},
{
"group": 2,
"name": "山中迷路的小勘"
},
{
"group": 2,
"name": "月幵大fw"
},
{
"group": 2,
"name": "樱saber与魔人archer"
},
{
"group": 2,
"name": "路痴"
},
{
"group": 2,
"name": "拓舟"
},
{
"group": 2,
"name": "又找不到了qwq"
},
{
"group": 2,
"name": "ClearMoon"
},
{
"group": 2,
"name": "碳烤的咕咕蛋"
},
{
"group": 2,
"name": "鞠培雯"
},
{
"group": 2,
"name": "想要内卷"
},
{
"group": 2,
"name": "绝对不是楠桐的仓妖"
},
{
"group": 2,
"name": "超级无敌暴龙战士"
@@ -4298,50 +4236,5 @@
{
"group": 2,
"name": "Buruol"
},
{
"group": 2,
"name": "吃不饱"
},
{
"group": 2,
"name": "姚尼玛"
},
{
"group": 2,
"name": "行者汤恩"
},
{
"group": 2,
"name": "懒惰的肥猿"
},
{
"group": 2,
"name": "库库林白夜"
},
{
"group": 2,
"name": "SSSamuel"
},
{
"group": 2,
"name": "小勘"
},
{
"group": 2,
"name": "『H』"
},
{
"group": 2,
"name": "魔法少女立花响"
},
{
"group": 2,
"name": "凞咥"
},
{
"group": 2,
"name": "INKS",
"color": "#7FFFFD4"
}
]

File diff suppressed because it is too large Load Diff

View File

@@ -1,74 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="description" content="やり直すんだ。そして、次はうまくやる。"/>
<meta name="keywords" content="人生重开模拟器 liferestart life restart remake 人生重来"/>
<meta name="renderer" content="webkit"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="true"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<meta name="theme-color" content="#157878"/>
<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">
<!--以下引用了常用类库,如果不使用,可以删除-->
<!--核心包,封装了显示对象渲染,事件,时间管理,时间轴动画,缓动,消息交互,socket本地存储鼠标触摸声音加载颜色滤镜位图字体等-->
<script type="text/javascript" src="libs/laya/laya.core.js"></script>
<!--提供了微信小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.wxmini.js"></script> -->
<!--提供了百度小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.bdmini.js"></script> -->
<!--提供了小米小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.xmmini.js"></script> -->
<!--提供了OPPO小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.quickgamemini.js"></script> -->
<!--提供了bilibili小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.bilimini.js"></script> -->
<!--提供了Alipay小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.Alipaymini.js"></script> -->
<!--提供了qq小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.qqmini.js"></script> -->
<!--提供了字节跳动小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.ttmini.js"></script> -->
<!--提供了华为快游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.hwmini.js"></script> -->
<!--提供了淘宝商家应用的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.tbmini.js"></script> -->
<!--提供了淘宝小部件的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.tbplugin.js"></script> -->
<!--封装了webgl渲染管线如果使用webgl渲染可以在初始化时调用Laya.init(1000,800,laya.webgl.WebGL);-->
<script type="text/javascript" src="libs/laya/laya.webgl.js"></script>
<!--提供了VIVO小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.vvmini.js"></script> -->
<!--是动画模块包含了swf动画骨骼动画等-->
<!-- <script type="text/javascript" src="libs/laya/laya.ani.js"></script> -->
<!--包含更多webgl滤镜比如外发光阴影模糊以及更多-->
<script type="text/javascript" src="libs/laya/laya.filter.js"></script>
<!--封装了html动态排版功能-->
<!-- <script type="text/javascript" src="libs/laya/laya.html.js"></script> -->
<!--粒子类库-->
<script type="text/javascript" src="libs/laya/laya.particle.js"></script>
<!--提供tileMap解析支持-->
<!-- <script type="text/javascript" src="libs/laya/laya.tiledmap.js"></script> -->
<!--提供了制作UI的各种组件实现-->
<script type="text/javascript" src="libs/laya/laya.ui.js"></script>
<!-- 提供LayaAir3d接口 -->
<!-- <script type="text/javascript" src="libs/laya/laya.d3.js"></script> -->
<!-- 物理引擎matter.js -->
<!--自定义的js(src文件夹下)文件自动添加到下面jsfile模块标签里面里js的顺序可以手动修改修改后保留修改的顺序新增加的js会默认依次追加到标签里-->
<!--删除标签ide不会自动添加js文件请谨慎操作-->
<!--jsfile--startTag-->
<script type="module" src="../src/index.js"></script>
<!--jsfile--endTag-->
</body>
</html>

View File

@@ -35,11 +35,9 @@ P 3FA91C13 icon_github.png
P AB934AEA icon_int@3x.png
P F1A0724B icon_mny@3x.png
P D5AADAC9 icon_rank@3x.png
P 0806E5F3 icon_save.png
P 2DB0325D icon_spr@3x.png
P 2EFA541B icon_str@3x.png
P 804842C9 icon_thanks@3x.png
P 96DD5D94 icon_themes.png
P 6ECB5FEC icon_up@3x.png
D images/progress
P E2BF0C93 progress_1@3x$bar.png
@@ -48,10 +46,6 @@ P E7F15BA7 progress_2$bar.png
P 641A22BF progress_2.png
P AF80A9AF progress_s$bar.png
P 41417E8D progress_s.png
D images/radio
P CCF63014 radio_cyber.png
P 040DE73C radio_dark.png
P BA975F5A radio_light.png
D images/resource
P F3659301 bottombreath.png
P 496D6FB9 circle.png
@@ -65,5 +59,3 @@ R 8B95E6D3 vslider_1@3x$bar.png
P 6581FBA8 vslider_1@3x$down.png
P 6581FBA8 vslider_1@3x$up.png
R C9587878 vslider_1@3x.png
D images/texture
P FD231754 texture_1.png

View File

@@ -1 +1 @@
{"frames":{"icon_achievement@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":188,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_chr@3x.png":{"frame":{"h":61,"idx":0,"w":57,"x":320,"y":448},"sourceSize":{"h":61,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_discord.png":{"frame":{"h":384,"idx":0,"w":384,"x":0,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_github.png":{"frame":{"h":384,"idx":0,"w":384,"x":385,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_int@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":188,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_mny@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":243,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_rank@3x.png":{"frame":{"h":62,"idx":0,"w":72,"x":320,"y":385},"sourceSize":{"h":62,"w":72},"spriteSourceSize":{"x":0,"y":0}},"icon_save.png":{"frame":{"h":90,"idx":0,"w":90,"x":97,"y":385},"sourceSize":{"h":90,"w":90},"spriteSourceSize":{"x":0,"y":0}},"icon_spr@3x.png":{"frame":{"h":60,"idx":0,"w":57,"x":378,"y":448},"sourceSize":{"h":60,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_str@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":393,"y":385},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_thanks@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":254,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_themes.png":{"frame":{"h":96,"idx":0,"w":96,"x":0,"y":385},"sourceSize":{"h":96,"w":96},"spriteSourceSize":{"x":0,"y":0}},"icon_up@3x.png":{"frame":{"h":18,"idx":0,"w":33,"x":97,"y":476},"sourceSize":{"h":18,"w":33},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"icons.png","prefix":"images/icons/"}}
{"frames":{"icon_achievement@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":0,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_chr@3x.png":{"frame":{"h":61,"idx":0,"w":57,"x":132,"y":448},"sourceSize":{"h":61,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_discord.png":{"frame":{"h":384,"idx":0,"w":384,"x":0,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_github.png":{"frame":{"h":384,"idx":0,"w":384,"x":385,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_int@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":0,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_mny@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":55,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_rank@3x.png":{"frame":{"h":62,"idx":0,"w":72,"x":132,"y":385},"sourceSize":{"h":62,"w":72},"spriteSourceSize":{"x":0,"y":0}},"icon_spr@3x.png":{"frame":{"h":60,"idx":0,"w":57,"x":190,"y":448},"sourceSize":{"h":60,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_str@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":205,"y":385},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_thanks@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":66,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_up@3x.png":{"frame":{"h":18,"idx":0,"w":33,"x":248,"y":443},"sourceSize":{"h":18,"w":33},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"icons.png","prefix":"images/icons/"}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@@ -1 +0,0 @@
{"frames":{"radio_cyber.png":{"frame":{"h":300,"idx":0,"w":300,"x":0,"y":0},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}},"radio_dark.png":{"frame":{"h":300,"idx":0,"w":300,"x":0,"y":301},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}},"radio_light.png":{"frame":{"h":300,"idx":0,"w":300,"x":301,"y":0},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"radio.png","prefix":"images/radio/"}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

View File

@@ -1 +0,0 @@
{"frames":{"texture_1.png":{"frame":{"h":400,"idx":0,"w":400,"x":0,"y":0},"sourceSize":{"h":400,"w":400},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"texture.png","prefix":"images/texture/"}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -1 +1,78 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta name="description" content="やり直すんだ。そして、次はうまくやる。"/><meta name="keywords" content="人生重开模拟器 liferestart life restart remake 人生重来"/><meta name="renderer" content="webkit"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="full-screen" content="true"/><meta name="x5-fullscreen" content="true"/><meta name="360-fullscreen" content="true"/><meta name="theme-color" content="#157878"/><meta name="laya" screenorientation="landscape"/><meta http-equiv="expires" content="0"/><meta http-equiv="Cache-Control" content="no-siteapp"/><title>Life Restart</title><script src="libs/laya/min/laya.core.min.js"></script><script src="libs/laya/min/laya.webgl.min.js"></script><script src="libs/laya/min/laya.filter.min.js"></script><script src="libs/laya/min/laya.particle.min.js"></script><script src="libs/laya/min/laya.ui.min.js"></script><script defer="defer" src="chunk/main.a3242.js"></script></head><body style="background:black"></body></html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="description" content="やり直すんだ。そして、次はうまくやる。"/>
<meta name="keywords" content="人生重开模拟器 liferestart life restart remake 人生重来"/>
<meta name="renderer" content="webkit"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="true"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<meta name="theme-color" content="#157878"/>
<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">
<!--以下引用了常用类库,如果不使用,可以删除-->
<!--核心包,封装了显示对象渲染,事件,时间管理,时间轴动画,缓动,消息交互,socket本地存储鼠标触摸声音加载颜色滤镜位图字体等-->
<script type="text/javascript" src="libs/laya/laya.core.js"></script>
<!--提供了微信小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.wxmini.js"></script> -->
<!--提供了百度小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.bdmini.js"></script> -->
<!--提供了小米小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.xmmini.js"></script> -->
<!--提供了OPPO小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.quickgamemini.js"></script> -->
<!--提供了bilibili小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.bilimini.js"></script> -->
<!--提供了Alipay小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.Alipaymini.js"></script> -->
<!--提供了qq小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.qqmini.js"></script> -->
<!--提供了字节跳动小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.ttmini.js"></script> -->
<!--提供了华为快游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.hwmini.js"></script> -->
<!--提供了淘宝商家应用的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.tbmini.js"></script> -->
<!--提供了淘宝小部件的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.tbplugin.js"></script> -->
<!--封装了webgl渲染管线如果使用webgl渲染可以在初始化时调用Laya.init(1000,800,laya.webgl.WebGL);-->
<script type="text/javascript" src="libs/laya/laya.webgl.js"></script>
<!--提供了VIVO小游戏的适配-->
<!-- <script type="text/javascript" src="libs/laya/laya.vvmini.js"></script> -->
<!--是动画模块包含了swf动画骨骼动画等-->
<!-- <script type="text/javascript" src="libs/laya/laya.ani.js"></script> -->
<!--包含更多webgl滤镜比如外发光阴影模糊以及更多-->
<script type="text/javascript" src="libs/laya/laya.filter.js"></script>
<!--封装了html动态排版功能-->
<!-- <script type="text/javascript" src="libs/laya/laya.html.js"></script> -->
<!--粒子类库-->
<script type="text/javascript" src="libs/laya/laya.particle.js"></script>
<!--提供tileMap解析支持-->
<!-- <script type="text/javascript" src="libs/laya/laya.tiledmap.js"></script> -->
<!--提供了制作UI的各种组件实现-->
<script type="text/javascript" src="libs/laya/laya.ui.js"></script>
<!-- 提供LayaAir3d接口 -->
<!-- <script type="text/javascript" src="libs/laya/laya.d3.js"></script> -->
<!-- 物理引擎matter.js -->
<!--自定义的js(src文件夹下)文件自动添加到下面jsfile模块标签里面里js的顺序可以手动修改修改后保留修改的顺序新增加的js会默认依次追加到标签里-->
<!--删除标签ide不会自动添加js文件请谨慎操作-->
<!--jsfile--startTag-->
<script type="text/javascript" src="../src/ui/runtime.js"></script>
<script type="text/javascript" src="../src/ui/layaUI.max.all.js"></script>
<script type="text/javascript" src="../src/ui/promisesLaya.js"></script>
<script type="text/javascript" src="../src/ui/pluginFunction.js"></script>
<script type="module" src="../src/index.js"></script>
<!--jsfile--endTag-->
</body>
</html>

View File

@@ -1 +0,0 @@
{"textureName":"images/texture/texture_1.png","positionVariance":{"0":0,"1":0,"2":0},"minVerticalVelocity":-100,"minVerticalEndRadian":0,"minStartSize":0,"minStartRadius":0,"minRotateSpeed":0,"minHorizontalVelocity":100,"minHorizontalEndRadian":0,"minEndSize":18.55,"minEndRadius":218.75,"minColor":{"0":0.15,"1":0.92,"2":0.91,"3":0.6000000238418579},"maxVerticalVelocity":100,"maxVerticalEndRadian":0,"maxStartSize":2.04,"maxStartRadius":0,"maxRotateSpeed":0,"maxPartices":400,"maxHorizontalVelocity":100,"maxHorizontalEndRadian":0,"maxEndSize":24.35,"maxEndRadius":84.82,"maxColor":{"0":0.57,"1":1,"2":0,"3":1},"gravity":{"0":0,"1":0,"2":0},"endVelocity":2,"emitterVelocitySensitivity":56.89,"duration":9.52,"colorComponentInter":true,"blendState":0,"ageAddScale":10,"backColor":"#ffffff","textureFileName":"comp\\clip_num.png","textureCount":1,"minHorizontalStartRadian":0,"maxHorizontalStartRadian":0,"minVerticalStartRadian":0,"maxVerticalStartRadian":0,"emitterType":"null","emissionRate":0,"sphereEmitterRadius":1,"sphereEmitterVelocity":0,"sphereEmitterVelocityAddVariance":0,"ringEmitterRadius":30,"ringEmitterVelocity":0,"ringEmitterVelocityAddVariance":0,"ringEmitterUp":2,"minStartColor":{"0":0.5,"1":0.5,"2":0.5,"3":0.2},"maxStartColor":{"0":1,"1":1,"2":1,"3":1},"minEndColor":{"0":0,"1":0,"2":0,"3":0.08},"maxEndColor":{"0":1,"1":1,"2":1,"3":1},"pointEmitterPosition":{"0":0,"1":0,"2":0},"pointEmitterPositionVariance":{"0":0,"1":0,"2":0},"pointEmitterVelocity":{"0":0,"1":0,"2":0},"pointEmitterVelocityAddVariance":{"0":0,"1":0,"2":0},"boxEmitterCenterPosition":{"0":0,"1":0,"2":0},"boxEmitterSize":{"0":0,"1":0,"2":0},"boxEmitterVelocity":{"0":0,"1":0,"2":0},"boxEmitterVelocityAddVariance":{"0":0,"1":0,"2":0},"sphereEmitterCenterPosition":{"0":0,"1":0,"2":0},"ringEmitterCenterPosition":{"0":0,"1":0,"2":0},"useEndRadian":true,"disableColor":false}

37
public/test.html Normal file
View File

@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="やり直すんだ。そして、次はうまくやる。"/>
<meta name="keywords" content="人生重开模拟器 liferestart life restart remake 人生重来"/>
<link id="themeLink" rel="stylesheet" href="light.css">
<script src="../lib/jquery-3.6.0.min.js"></script>
<script src="../lib/dom-to-image.min.js"></script>
<script type="module" src="../src/index.js"></script>
<title>Life Restart</title>
</head>
<body style="margin: 0; height: 100%">
<div class="banners-container">
<div class="banners">
<div class="banner error">
<div class="banner-icon"><span class="iconfont">&#xe6a1;</span></div>
<pre class="banner-message">Oops! Something went wrong!</pre>
<div class="banner-close" onclick="hideBanners()"><span class="iconfont">&#xe6a8;</span></div>
</div>
<div class="banner success">
<div class="banner-icon"><span class="iconfont">&#xe6a2;</span></div>
<pre class="banner-message">Everything was fine!</pre>
<div class="banner-close" onclick="hideBanners()"><span class="iconfont">&#xe6a8;</span></div>
</div>
<div class="banner info">
<div class="banner-icon"><span class="iconfont">&#xe6a3;</span></div>
<pre class="banner-message">Here is some useful information</pre>
<div class="banner-close" onclick="hideBanners()"><span class="iconfont">&#xe6a8;</span></div>
</div>
</div>
</div>
<a href="https://github.com/VickScarlet/lifeRestart" class="github-corner" style="z-index: 9999;" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; left: 0; transform: scale(-1, 1);" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style></a>
</body>
</html>

View File

@@ -1,7 +1,3 @@
import './ui/runtime.js';
import './ui/pluginFunction.js'
import './ui/promisesLaya.js'
import './ui/layaUI.max.all.js';
import UIManager from './ui/uiManager.js';
import * as utils from './functions/util.js';
@@ -10,25 +6,6 @@ globalThis.UI =
UIManager;
globalThis.$_ = utils;
globalThis.goto = async tag => {
let url;
switch(tag) {
case 'github': url = 'https://github.com/VickScarlet/lifeRestart'; break;
case 'discord': url = 'https://discord.gg/U3qrf49NMQ'; break;
case 'sponsor_afd': url = 'https://afdian.net/@LifeRestart'; break;
case 'sponsor_ddf': url = 'https://dun.mianbaoduo.com/@vickscarlet'; break;
}
try {
if(Laya.Browser.onIOS) {
window.location.href = url;
} else {
window.open(url, '_blank');
}
} catch (error) {
console.error(error);
}
}
class App{
constructor(){
this.name = 'lifeRestart';
@@ -47,11 +24,14 @@ class App{
*...特殊的字符,如泰文,必须重新实现这个类
*/
//class laya.webgl.text.CharSegment
class CharSegment {
constructor() {
var CharSegment=(function(){
function CharSegment(){
this._sourceStr=null;
}
textToSpit(str) {
Laya.class(CharSegment,'laya.webgl.text.CharSegment');
var __proto=CharSegment.prototype;
Laya.imps(__proto,{"laya.webgl.text.ICharSegment":true})
__proto.textToSpit=function(str){
this._sourceStr=str;
var texLen = str.length;
var idx = -1;
@@ -66,19 +46,17 @@ class App{
}
}
}
getChar(i){
__proto.getChar=function(i){
return this._words;
}
getCharCode(i){
__proto.getCharCode=function(i){
return this._words[i].codePointAt(0);
}
length(){
__proto.length=function(){
return this._words.length;
}
}
Laya.class(CharSegment,'laya.webgl.text.CharSegment');
Laya.imps(CharSegment.prototype,{"laya.webgl.text.ICharSegment":true})
return CharSegment;
})()
// Laya.init(1125, 2436, Laya.WebGL);
Laya.Config.isAntialias = true;
@@ -138,16 +116,6 @@ class App{
$$on('achievement', achievement => {
$ui.popup(UI.popups.ACHIEVEMENT, {achievement});
})
$$on('message', ([message, ...args]) => {
if(Array.isArray(message)) {
message = message.map(([m, ...a]) => $_.format($lang[m], ...a)) .join('\n');
} else {
message = $_.format(
$lang[message], ...args
);
}
$ui.popup(UI.popups.MESSAGE, {message});
})
}
async start({
@@ -157,15 +125,6 @@ class App{
this.resigterEvent();
this.#initLaya();
globalThis.$ui = UIManager.getInstance();
if(theme=='default') {
if(!localStorage.getItem('__')) {
localStorage.setItem('__', 1);
localStorage.setItem('theme', 'cyber');
}
theme = localStorage.getItem('theme');
}
$ui.theme = theme;
await this.#setLanguage(language);
await $ui.setLoading(UI.pages.LOADING);
@@ -175,7 +134,6 @@ class App{
dataSet=>Laya.promises.loader.load(`data/${dataSet}.json`, null, Laya.Loader.JSON),
);
await $ui.switchView(UI.pages.MAIN);
}
}

View File

@@ -83,17 +83,10 @@ function deepMapSet(target, source) {
return target;
}
function deepGet(obj, path) {
for(const key of path.split('.')) {
if(!(key in obj)) return undefined;
obj = obj[key];
}
return obj;
}
function format(str, ...args) {
const replace = set => (match, key) => {
const value = deepGet(set, key);
const value = set[key];
switch(typeof value) {
case 'object': return JSON.stringify(value);
case 'boolean':

View File

@@ -119,30 +119,7 @@ export default ({
UI_Support_Programmer: 'Programmer',
UI_Support_Designer: 'Designer',
UI_Save: 'Save',
UI_Load: 'Load',
UI_Read: 'Copy',
UI_Write: 'Paste',
UI_CopySuccess: 'Copy to clipboard success',
UI_CopyFaild: 'Copy to clipboard faild',
UI_PasteSuccessDecodeSuccess: 'Load Success!',
UI_PasteSuccessDecodeFaild: 'Paste success, but load faild!',
UI_PasteFaildDecodeSuccess: 'Paste faild, use input load success!',
UI_PasteFaildDecodeFaild: 'Paste faild, use input load faild!',
UI_LoadSuccess: 'Load Success!',
UI_LoadFaild: 'Load Faild!',
M_NoRank: 'There is no rank',
F_RemakeTimes: 'Remake {0} Times',
F_AchievementCount: 'Achievement {0}',
F_TalentSelection: '{name} ({description})',
F_TalentConflict: 'Conflict with talent ({0})',
F_TalentSelectLimit: 'Talent select limit {0}',
F_TalentSelectNotComplect: 'Please select {0} talent',
F_PropertyPointLeft: 'You have left {0} property point',
F_TalentReplace: 'Talent replace [{source.name}] -> [{target.name}]',
});

View File

@@ -119,30 +119,7 @@ export default ({
UI_Support_Programmer: '打赏程序(顿顿饭)',
UI_Support_Designer: '打赏策划(爱发电)',
UI_Save: '存档',
UI_Load: '读档',
UI_Read: '复制',
UI_Write: '粘贴',
UI_LoadSuccess: '读档成功!',
UI_LoadFaild: '读档失败!',
UI_CopySuccess: '成功复制存档到剪贴板',
UI_CopyFaild: '复制存档到剪贴板失败,请手动复制存档内容',
UI_PasteSuccessDecodeSuccess: '读档成功!',
UI_PasteSuccessDecodeFaild: '粘贴剪贴板存档内容成功,但剪贴板内容读档失败',
UI_PasteFaildDecodeSuccess: '粘贴剪贴板存档内容失败,使用输入的内容读档成功',
UI_PasteFaildDecodeFaild: '粘贴剪贴板存档内容失败,使用输入的内容读档失败',
M_NoRank: '别卷了,没有排行榜',
F_RemakeTimes: '已重开{0}次',
F_AchievementCount: '成就达成{0}个',
F_TalentSelection: '{name}{description}',
F_TalentConflict: '与已选的「{0}」天赋冲突',
F_TalentSelectLimit: '只能选 {0} 个天赋',
F_TalentSelectNotComplect: '要选满{0}个天赋',
F_PropertyPointLeft: '你还有 {0} 属性点没有分配完',
F_TalentReplace: '天赋替换【{source.name}】->【{target.name}】',
});

View File

@@ -1,6 +1,21 @@
import App from './app.js';
import Life from './modules/life.js';
globalThis.goto = async tag => {
let url;
switch(tag) {
case 'github': url = 'https://github.com/VickScarlet/lifeRestart'; break;
case 'discord': url = 'https://discord.gg/U3qrf49NMQ'; break;
case 'sponsor_afd': url = 'https://afdian.net/@LifeRestart'; break;
case 'sponsor_ddf': url = 'https://dun.mianbaoduo.com/@vickscarlet'; break;
}
try {
window.open(url, '_blank');
} catch (error) {
console.error(error);
}
}
globalThis.$$eventMap = new Map();
globalThis.$$event = (tag, data) => {
const listener = $$eventMap.get(tag);
@@ -19,37 +34,6 @@ globalThis.$$off = (tag, fn) => {
if(listener) listener.delete(fn);
}
globalThis.$$copy = async text => {
const result = await navigator.permissions.query({ name: "clipboard-write" })
if (result.state == "granted" || result.state == "prompt") {
navigator.clipboard.writeText(text)
return true;
}
const input = document.createElement('input');
input.setAttribute('style', 'opacity: 0;');
document.body.appendChild(input);
input.value = text;
input.select();
const r = document.execCommand("copy");
document.body.removeChild(input);
return r;
}
globalThis.$$read = async ()=>{
const result = await navigator.permissions.query({ name: "clipboard-read" })
if (result.state == "granted" || result.state == "prompt") {
return await navigator.clipboard.readText();
}
const input = document.createElement('input');
input.setAttribute('style', 'opacity: 0;');
document.body.appendChild(input);
input.focus();
const r = document.execCommand("paste");
const text = input.value;
document.body.removeChild(input);
return r?text:r;
};
const core = new Life();
const game = new App();
globalThis.core = core;

View File

@@ -44,12 +44,12 @@ class Event {
}
do(eventId, property) {
const { effect, branch, event: description, postEvent, grade } = this.get(eventId);
const { effect, branch, event: description, postEvent } = this.get(eventId);
if(branch)
for(const [cond, next] of branch)
if(checkCondition(property, cond))
return { effect, next, description, grade };
return { effect, postEvent, description, grade };
return { effect, next, description };
return { effect, postEvent, description };
}
}

View File

@@ -22,7 +22,6 @@ class Life {
#propertyAllocateLimit;
#defaultPropertys;
#specialThanks;
#initialData;
async initial(i18nLoad, commonLoad) {
const [age, talents, events, achievements, specialThanks] = await Promise.all([
@@ -59,28 +58,25 @@ class Life {
this.#property.config(propertyConfig);
}
remake(talents) {
this.#initialData = clone(this.#defaultPropertys);
this.#initialData.TLT = clone(talents);
this.#triggerTalents = {};
return this.talentReplace(this.#initialData.TLT);
}
start(allocation) {
restart(allocation) {
const propertys = clone(this.#defaultPropertys);
for(const key in allocation) {
this.#initialData[key] = clone(allocation[key]);
propertys[key] = clone(allocation[key]);
}
this.#property.restart(this.#initialData);
this.#triggerTalents = {};
const contents = this.talentReplace(propertys.TLT);
this.#property.restart(propertys);
this.doTalent()
this.#property.restartLastStep();
this.#achievement.achieve(
this.AchievementOpportunity.START,
this.#property
);
)
return contents;
}
getPropertyPoints() {
return this.#defaultPropertyPoints + this.#talent.allocationAddition(this.#initialData.TLT);
getPropertyPoints(selectedTalentIds) {
return this.#defaultPropertyPoints + this.#talent.allocationAddition(selectedTalentIds);
}
getTalentCurrentTriggerCount(talentId) {
@@ -142,14 +138,13 @@ class Life {
}
doEvent(eventId) {
const { effect, next, description, postEvent, grade } = this.#event.do(eventId, this.#property);
const { effect, next, description, postEvent } = this.#event.do(eventId, this.#property);
this.#property.change(this.PropertyTypes.EVT, eventId);
this.#property.effect(effect);
const content = {
type: this.PropertyTypes.EVT,
description,
postEvent,
grade,
}
if(next) return [content, this.doEvent(next)].flat();
return [content];

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,4 @@
const plugin =
Laya.plugin = {};
var plugin = {};
plugin.extractComponents = function(uiView, componentNames) {
const components = {};

View File

@@ -1,7 +1,3 @@
const runtime =
Laya.runtime = {};
runtime.ColorFilterItem =
class ColorFilterItem extends Laya.Image {
constructor() {
super();
@@ -47,28 +43,24 @@ class ColorFilterItem extends Laya.Image {
}
}
}
runtime.UIBase =
class UIBase extends Laya.View {
constructor() {
super();
}
}
runtime.ViewBase =
class ViewBase extends runtime.UIBase {
class ViewBase extends UIBase {
constructor() {
super();
}
}
runtime.DialogBase =
class DialogBase extends runtime.UIBase {
class dialogBase extends UIBase {
constructor() {
super();
}
}
runtime.ScaleButton =
class ScaleButton extends Laya.Button {
constructor() {
super();
@@ -93,7 +85,6 @@ class ScaleButton extends Laya.Button {
}
}
runtime.RGBAItem =
class RGBAItem {
constructor(config={}) {
for(const key in config)
@@ -269,7 +260,6 @@ class RGBAItem {
}
}
}
runtime.ColorfulBox =
class ColorfulBox extends Laya.Box {
constructor() {
super();
@@ -286,9 +276,9 @@ class ColorfulBox extends Laya.Box {
#hoverStroke = '#ffffff';
#defaultLabel = '#000000';
#hoverLabel = '#000000';
#color = new runtime.RGBAItem({hex: this.#defaultColor, on: ()=>this.#draw()});
#stroke = new runtime.RGBAItem({hex: this.#defaultStroke, on: ()=>this.#draw()});
#label = new runtime.RGBAItem({hex: this.#defaultLabel, on: ({hex})=>{
#color = new RGBAItem({hex: this.#defaultColor, on: ()=>this.#draw()});
#stroke = new RGBAItem({hex: this.#defaultStroke, on: ()=>this.#draw()});
#label = new RGBAItem({hex: this.#defaultLabel, on: ({hex})=>{
const label = this.getChildByName('label');
if (!label) return;
label.color = hex;
@@ -477,7 +467,6 @@ class ColorfulBox extends Laya.Box {
}
runtime.BlankBox =
class BlankBox extends Laya.Box {
constructor() {
super();

View File

@@ -1,4 +1,4 @@
export default class CyberAchievement extends ui.view.CyberTheme.CyberAchievementUI {
export default class CyberAchievement extends CyberAchievementUI {
constructor() {
super();
this.btnBack.on(Laya.Event.CLICK, this, () => $ui.switchView(UI.pages.MAIN));
@@ -7,7 +7,6 @@ export default class CyberAchievement extends ui.view.CyberTheme.CyberAchievemen
this.#state = {min, max};
this.btnStatistics.on(Laya.Event.CLICK, this, ()=>this.switch('statistics'));
this.btnAchievement.on(Laya.Event.CLICK, this, ()=>this.switch('achievement'));
this.btnRank.on(Laya.Event.CLICK, this, $$event, ['message', ['M_NoRank']]);
this.listAchievements.renderHandler = new Laya.Handler(this, this.onRenderAchievement);
this.listAchievements.scrollBar.elasticDistance = 150;

View File

@@ -1,4 +1,4 @@
export default class CyberMain extends ui.view.CyberTheme.CyberMainUI {
export default class CyberMain extends CyberMainUI {
constructor() {
super();
this.btnRemake.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.TALENT));
@@ -6,8 +6,6 @@ export default class CyberMain extends ui.view.CyberTheme.CyberMainUI {
this.btnThanks.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.THANKS));
this.btnGithub.on(Laya.Event.CLICK, this, goto, ['github']);
this.btnDiscord.on(Laya.Event.CLICK, this, goto, ['discord']);
this.btnThemes.on(Laya.Event.CLICK, this, ()=>$ui.showDialog(UI.pages.THEMES));
this.btnSaveLoad.on(Laya.Event.CLICK, this, ()=>$ui.showDialog(UI.pages.SAVELOAD));
this.on(Laya.Event.RESIZE, this, () => {
const scale = Math.max(
this.width / this.imgBg.width,

View File

@@ -1,4 +1,4 @@
export default class CyberAchievementPopup extends ui.view.CyberTheme.CyberAchievementPopupUI {
export default class CyberAchievementPopup extends CyberAchievementPopupUI {
constructor() {
super();
}

View File

@@ -1,4 +1,4 @@
export default class CyberProperty extends ui.view.CyberTheme.CyberPropertyUI {
export default class CyberProperty extends CyberPropertyUI {
constructor() {
super();
@@ -41,11 +41,9 @@ export default class CyberProperty extends ui.view.CyberTheme.CyberPropertyUI {
init({talents}) {
this.listSelectedTalents.array = talents;
const replace = core.remake(talents.map(talent => talent.id));
if(replace.length > 0) {
$$event('message', [replace.map(v => ['F_TalentReplace', v])]);
}
this.#propertyPoints = core.getPropertyPoints();
const talentIds = talents.map(talent => talent.id);
// core.talentReplace(talentIds);
this.#propertyPoints = core.getPropertyPoints(talentIds);
this.#propertyAllocateLimit = core.propertyAllocateLimit;
this.labLeftPropertyPoint.text = this.#propertyPoints;
this.#propertyAllocate = {
@@ -53,14 +51,14 @@ export default class CyberProperty extends ui.view.CyberTheme.CyberPropertyUI {
[this.#types.INT]: 0,
[this.#types.STR]: 0,
[this.#types.MNY]: 0,
[this.#types.TLT]: talentIds,
}
this.updateAllocate();
}
next() {
const left = this.#propertyPoints - this.total;
if (left > 0) {
return $$event('message', ['F_PropertyPointLeft', left]);
if (this.total < this.#propertyPoints) {
return;
}
$ui.switchView(
UI.pages.TRAJECTORY,

View File

@@ -1,4 +1,4 @@
export default class CyberSummary extends ui.view.CyberTheme.CyberSummaryUI {
export default class CyberSummary extends CyberSummaryUI {
constructor() {
super();
this.listSelectedTalents.renderHandler = Laya.Handler.create(this, this.renderTalent, null, false);

View File

@@ -1,4 +1,4 @@
export default class CyberTalent extends ui.view.CyberTheme.CyberTalentUI {
export default class CyberTalent extends CyberTalentUI {
constructor() {
super();
this.btnDrawCard.on(Laya.Event.CLICK, this, this.onClickDrawCard);
@@ -36,7 +36,7 @@ export default class CyberTalent extends ui.view.CyberTheme.CyberTalentUI {
onClickNext() {
if(this.#selected.size < core.talentSelectLimit) {
return $$event('message', ['F_TalentSelectNotComplect', core.talentSelectLimit]);
return;
}
const talents = [...this.#selected].map(index => this.listTalents.array[index]);
@@ -97,16 +97,6 @@ export default class CyberTalent extends ui.view.CyberTheme.CyberTalentUI {
this.#selected.delete(index);
} else {
if(this.#selected.size >= core.talentSelectLimit) {
return $$event('message', ['F_TalentSelectLimit', core.talentSelectLimit]);
}
const exclusive = core.exclusive(
[...this.#selected].map(index => this.listTalents.array[index].id),
this.listTalents.array[index].id
);
if(exclusive != null) {
for(const {name, id} of this.listTalents.array)
if(exclusive == id)
return $$event('message', ['F_TalentConflict', name]);
return;
}
this.#selected.add(index);

View File

@@ -1,4 +1,4 @@
export default class CyberTrajectory extends ui.view.CyberTheme.CyberTrajectoryUI {
export default class CyberTrajectory extends CyberTrajectoryUI {
constructor() {
super();
let pos1 = [0, 0];
@@ -55,12 +55,11 @@ export default class CyberTrajectory extends ui.view.CyberTheme.CyberTrajectoryU
#speed;
#auto;
static #createComponent = Laya.plugin.extractComponents(CyberTrajectory.uiView, ['boxTrajectoryItem']);
static #createComponent = plugin.extractComponents(CyberTrajectory.uiView, ['boxTrajectoryItem']);
#createTrajectoryItem() {
const item = CyberTrajectory.#createComponent('boxTrajectoryItem');
item.labContent = item.getChildByName('labContent');
item.labAge = item.getChildByName('hboxAge').getChildByName('labAge');
item.boxGrade = item.getChildByName('boxGrade');
return item;
}
#isEnd;
@@ -68,13 +67,12 @@ export default class CyberTrajectory extends ui.view.CyberTheme.CyberTrajectoryU
#talents;
init({propertyAllocate, talents}) {
this.boxParticle.visible = false;
this.boxSpeed.visible = true;
this.btnSummary.visible = false;
this.#trajectoryItems = [];
this.#isEnd = false;
this.#talents = talents;
core.start(propertyAllocate);
core.restart(propertyAllocate);
this.updateProperty();
this.onNext();
}
@@ -113,9 +111,6 @@ export default class CyberTrajectory extends ui.view.CyberTheme.CyberTrajectoryU
this.renderTrajectory(age, content);
if(age >= 100) {
this.boxParticle.visible = true;
}
Laya.timer.frameOnce(1, this, () => {
this.panelTrajectory.scrollTo(0, this.panelTrajectory.contentHeight);
});
@@ -135,10 +130,6 @@ export default class CyberTrajectory extends ui.view.CyberTheme.CyberTrajectoryU
}
}
).join('\n');
$_.deepMapSet(
item.boxGrade,
$ui.common.gradeBlk[content[content.length - 1].grade || 0]
);
this.vboxTrajectory.addChild(item);
this.#trajectoryItems.push(item);
this.#trajectoryItems.forEach((item, index) => item.y = index);

View File

@@ -1,8 +1,7 @@
export default class Achievement extends ui.view.DefaultTheme.AchievementUI {
export default class Achievement extends AchievementUI {
constructor() {
super();
this.btnBack.on(Laya.Event.CLICK, this, () => $ui.switchView(UI.pages.MAIN));
this.btnRank.on(Laya.Event.CLICK, this, $$event, ['message', ['M_NoRank']]);
this.listAchievements.renderHandler = new Laya.Handler(this, this.onRenderAchievement);
this.listAchievements.scrollBar.elasticDistance = 150;
}

View File

@@ -1,4 +1,4 @@
export default class Main extends ui.view.DefaultTheme.MainUI {
export default class Main extends MainUI {
constructor() {
super();
this.btnRemake.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.TALENT));
@@ -6,8 +6,6 @@ export default class Main extends ui.view.DefaultTheme.MainUI {
this.btnThanks.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.THANKS));
this.btnGithub.on(Laya.Event.CLICK, this, goto, ['github']);
this.btnDiscord.on(Laya.Event.CLICK, this, goto, ['discord']);
this.btnThemes.on(Laya.Event.CLICK, this, ()=>$ui.showDialog(UI.pages.THEMES));
this.btnSaveLoad.on(Laya.Event.CLICK, this, ()=>$ui.showDialog(UI.pages.SAVELOAD));
}
static load() {
@@ -20,8 +18,5 @@ export default class Main extends ui.view.DefaultTheme.MainUI {
this.btnDiscord.visible =
this.btnAchievement.visible =
this.btnThanks.visible = !!core.times;
const text = this.labSubTitle.text;
this.labSubTitle.text = ' ';
this.labSubTitle.text = text;
}
}

View File

@@ -1,4 +1,4 @@
export default class achievementPopup extends ui.view.DefaultTheme.AchievementPopupUI {
export default class achievementPopup extends AchievementPopupUI {
constructor() {
super();
}

View File

@@ -1,4 +1,4 @@
export default class Property extends ui.view.DefaultTheme.PropertyUI {
export default class Property extends PropertyUI {
constructor() {
super();
@@ -41,11 +41,9 @@ export default class Property extends ui.view.DefaultTheme.PropertyUI {
init({talents}) {
this.listSelectedTalents.array = talents;
const replace = core.remake(talents.map(talent => talent.id));
if(replace.length > 0) {
$$event('message', [replace.map(v => ['F_TalentReplace', v])]);
}
this.#propertyPoints = core.getPropertyPoints();
const talentIds = talents.map(talent => talent.id);
// core.talentReplace(talentIds);
this.#propertyPoints = core.getPropertyPoints(talentIds);
this.#propertyAllocateLimit = core.propertyAllocateLimit;
this.labLeftPropertyPoint.text = this.#propertyPoints;
this.#propertyAllocate = {
@@ -53,14 +51,14 @@ export default class Property extends ui.view.DefaultTheme.PropertyUI {
[this.#types.INT]: 0,
[this.#types.STR]: 0,
[this.#types.MNY]: 0,
[this.#types.TLT]: talentIds,
}
this.updateAllocate();
}
next() {
const left = this.#propertyPoints - this.total;
if (left > 0) {
return $$event('message', ['F_PropertyPointLeft', left]);
if (this.total < this.#propertyPoints) {
return;
}
$ui.switchView(
UI.pages.TRAJECTORY,

View File

@@ -1,4 +1,4 @@
export default class Summary extends ui.view.DefaultTheme.SummaryUI {
export default class Summary extends SummaryUI {
constructor() {
super();
this.listSummary.renderHandler = Laya.Handler.create(this, this.renderSummary, null, false);

View File

@@ -1,4 +1,4 @@
export default class Talent extends ui.view.DefaultTheme.TalentUI {
export default class Talent extends TalentUI {
constructor() {
super();
this.btnDrawCard.on(Laya.Event.CLICK, this, this.onClickDrawCard);
@@ -26,7 +26,7 @@ export default class Talent extends ui.view.DefaultTheme.TalentUI {
onClickNext() {
if(this.#selected.size < core.talentSelectLimit) {
return $$event('message', ['F_TalentSelectNotComplect', core.talentSelectLimit]);
return;
}
const talents = [...this.#selected].map(index => this.listTalents.array[index]);
@@ -53,16 +53,6 @@ export default class Talent extends ui.view.DefaultTheme.TalentUI {
this.#selected.delete(index);
} else {
if(this.#selected.size >= core.talentSelectLimit) {
return $$event('message', ['F_TalentSelectLimit', core.talentSelectLimit]);
}
const exclusive = core.exclusive(
[...this.#selected].map(index => this.listTalents.array[index].id),
this.listTalents.array[index].id
);
if(exclusive != null) {
for(const {name, id} of this.listTalents.array)
if(exclusive == id)
return $$event('message', ['F_TalentConflict', name]);
return;
}
this.#selected.add(index);

View File

@@ -1,4 +1,4 @@
export default class Thanks extends ui.view.DefaultTheme.ThanksUI {
export default class Thanks extends ThanksUI {
constructor() {
super();
this.btnBack.on(Laya.Event.CLICK, this, ()=>$ui.switchView(UI.pages.MAIN));
@@ -9,7 +9,7 @@ export default class Thanks extends ui.view.DefaultTheme.ThanksUI {
this.btnDDF.on(Laya.Event.CLICK, this, goto, ['sponsor_ddf']);
}
static #createComponent = Laya.plugin.extractComponents(Thanks.uiView, ['boxTopSupport']);
static #createComponent = plugin.extractComponents(Thanks.uiView, ['boxTopSupport']);
#createTopSupportItem() {
const item = Thanks.#createComponent('boxTopSupport');
item.name = item.getChildByName('name');

View File

@@ -1,4 +1,4 @@
export default class Trajectory extends ui.view.DefaultTheme.TrajectoryUI {
export default class Trajectory extends TrajectoryUI {
constructor() {
super();
let pos1 = [0, 0];
@@ -28,16 +28,13 @@ export default class Trajectory extends ui.view.DefaultTheme.TrajectoryUI {
];
}
static #createComponent = Laya.plugin.extractComponents(Trajectory.uiView, ['boxTrajectoryItem']);
static #createComponent = plugin.extractComponents(Trajectory.uiView, ['boxTrajectoryItem']);
#createTrajectoryItem() {
const item = Trajectory.#createComponent('boxTrajectoryItem');
item.labContent = item.getChildByName('labContent');
item.labAge = item.getChildByName('hboxAge').getChildByName('labAge');
const config = $ui.common.trajectoryItem;
$_.deepMapSet(item, config.box);
item.grade = grade => {
$_.deepMapSet(item, config.grade[grade || 0]);
}
item.getChildByName('hboxAge')._childs.forEach(child => child.color = config.ageColor);
item.labContent.color = config.contentColor;
return item;
@@ -47,13 +44,12 @@ export default class Trajectory extends ui.view.DefaultTheme.TrajectoryUI {
#talents;
init({propertyAllocate, talents}) {
this.boxParticle.visible = false;
this.boxSpeed.visible = true;
this.btnSummary.visible = false;
this.#trajectoryItems = [];
this.#isEnd = false;
this.#talents = talents;
core.start(propertyAllocate);
core.restart(propertyAllocate);
this.updateProperty();
this.onNext();
}
@@ -92,9 +88,6 @@ export default class Trajectory extends ui.view.DefaultTheme.TrajectoryUI {
this.renderTrajectory(age, content);
if(age >= 100) {
this.boxParticle.visible = true;
}
Laya.timer.frameOnce(1, this, () => {
this.panelTrajectory.scrollTo(0, this.panelTrajectory.contentHeight);
});
@@ -114,7 +107,6 @@ export default class Trajectory extends ui.view.DefaultTheme.TrajectoryUI {
}
}
).join('\n');
item.grade(content[content.length - 1].grade);
this.vboxTrajectory.addChild(item);
this.#trajectoryItems.push(item);
this.#trajectoryItems.forEach((item, index) => item.y = index);

Some files were not shown because too many files have changed in this diff Show More