This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-10-31 02:34:12 +08:00
parent 94fa409ed7
commit e59c5640d7
324 changed files with 1388 additions and 407 deletions

View File

@@ -242,13 +242,13 @@ export default abstract class GRoleBase<T> extends GObject<T>{
if(this.nId == 1)
console.log("onFly");
let vWorld = this.node.worldPosition;
let vEndWorld = this.getWorldBackLen(v2(1000,500));
let vEndWorld = this.getWorldBackLen(v2(1500,500));
this.JTween(vWorld)
.to({x:vEndWorld.x},800)
.to({x:vEndWorld.x},1000)
.onUpdate(pos => this.node.worldPosition = pos)
.start();
this.JTween(vWorld)
.to({y:vEndWorld.y},800)
.to({y:vEndWorld.y},1000)
.easing(JEasing.Circular.Out)
.onUpdate(pos => this.node.worldPosition = vWorld)
.start();

View File

@@ -1,9 +1,12 @@
{
"ver": "1.2.0",
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "34152d1b-ca03-4bb1-a970-692cd8995991",
"files": [],
"subMetas": {},
"userData": {}
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}