riccardo Posted February 24, 2020 Share Posted February 24, 2020 Hi, i have a big problem with tween, i have a lot of object in differents x and y positions and i need to tween all of them in a fixed x and y position (center of scene in top position) this is my method private _gameEnds(){ for(var i=0;i<this._priceSymb.length;i++){ for(var j=0;j<this._priceSymb[i].list.length;j++){ Static.mainScene.tweens.add({ targets:this._priceSymb[i].list[j], y:-200, x: 0, duration:1000, delay:500*i+100*j }) } } } but the object are moving correctly on x position but not on Y. Any ideas? Thanks R Link to comment Share on other sites More sharing options...
Recommended Posts