add particle

This commit is contained in:
Vick Scarlet
2021-12-02 21:28:10 +08:00
parent f17003925e
commit 0567e40ddc
17 changed files with 80 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
{
"x":0,
"type":"View",
"selectedBox":14,
"selecteID":13,
"selectedBox":1,
"selecteID":152,
"props":{"width":1125,"sceneColor":"#000000","sceneBg":"laya/views/view/CyberTheme/CyberTrajectory.png","runtime":"Laya.runtime.ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -550,14 +550,13 @@
"props":{"right":0,"left":0,"height":1,"bottom":-1},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isOpen":false,
"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,
@@ -569,7 +568,6 @@
"compId":13,
"child":[
{
"x":45,
"type":"Box",
"props":{},
"nodeParent":13,
@@ -750,7 +748,6 @@
}]
},
{
"x":45,
"type":"Box",
"props":{},
"nodeParent":13,
@@ -824,7 +821,6 @@
"$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,
@@ -836,7 +832,6 @@
"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,
@@ -849,7 +844,6 @@
]
},
{
"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,
@@ -862,7 +856,6 @@
]
},
{
"x":45,
"type":"Label",
"props":{"text":"UI_Manual","fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70},
"nodeParent":104,
@@ -875,7 +868,6 @@
]
},
{
"x":45,
"type":"Label",
"props":{"text":"UI_Auto","right":0,"fontSize":50,"font":"方正像素12","color":"#55fffe","bottom":70},
"nodeParent":104,
@@ -897,14 +889,13 @@
"props":{"top":440,"right":20,"left":20,"bottom":250},
"nodeParent":1,
"label":"Box",
"isOpen":true,
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":102,
"child":[
{
"x":30,
"type":"Image",
"props":{"top":0,"skin":"images/border/border_1@3x.png","right":0,"left":0,"bottom":0},
"nodeParent":102,
@@ -917,7 +908,6 @@
]
},
{
"x":30,
"type":"Panel",
"props":{"var":"panelTrajectory","vScrollBarSkin":"images/slider/vslider_1@3x.png","top":80,"right":20,"name":"panelTrajectory","left":0,"bottom":80},
"nodeParent":102,
@@ -929,7 +919,6 @@
"compId":18,
"child":[
{
"x":45,
"type":"VBox",
"props":{"var":"vboxTrajectory","top":0,"right":40,"name":"vboxTrajectory","left":20},
"nodeParent":18,
@@ -1016,7 +1005,6 @@
"$HIDDEN":false
},
{
"x":30,
"type":"Box",
"props":{"y":20,"x":20,"var":"btnUp","top":20,"right":20,"name":"btnUp","left":20,"height":50},
"nodeParent":102,
@@ -1065,7 +1053,6 @@
}]
},
{
"x":30,
"type":"Box",
"props":{"y":1676,"x":20,"var":"btnDown","right":20,"name":"btnDown","left":20,"height":50,"bottom":20},
"nodeParent":102,
@@ -1113,6 +1100,32 @@
}]
}]
}]
},
{
"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":[
{