mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
update
This commit is contained in:
@@ -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();
|
||||
|
@@ -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": {}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user