samme
samme
That could be done by adding a death zone or using ```js particles.createEmitter({ moveToX: target.x, moveToY: target.y, lifespan: (p) => Phaser.Math.Distance.BetweenPoints(p, target) / SPEED }); ```
If you want to avoid that then use ```js particles.createEmitter({ angle: (p) => Phaser.Math.RadToDeg(Phaser.Math.Angle.BetweenPoints(p, target)), lifespan: (p) => (1000 * Phaser.Math.Distance.BetweenPoints(p, target)) / SPEED, speed: SPEED, }); ```
I updated the docs (#6073). I guess a warning is possible. The thing is it's not completely wrong to set both `moveToX` and `speed` etc. because you can toggle `moveTo`...
I think `fromJSON()` would be the best place for a warning.
Well, Rich can decide. I think the docs change should be enough.
What is your `putTileAt()` code exactly?
I think this is from a problem in the tsgen parser. It has all the function types return `void`.
@xmahle Push to your own origin remote
#5954 is caused by the same I think.