When an explosion happens, the particle effect is not centered on the bomb or ball.
In tagpro.particleDefinitions, the explosion has a pos at {x:0,y:0}. This should be {x:20,y:20} because the server sends the position of the top-left corner of the exploding object.
The death or pop effect has a pos of {x:0,y:0} too, but that is corrected for when the tagpro.renderer.startDeathEmitter(...,..., x+19, y+19) function is called.
When an explosion happens, the particle effect is not centered on the bomb or ball.
In
tagpro.particleDefinitions
, theexplosion
has apos
at{x:0,y:0}
. This should be{x:20,y:20}
because the server sends the position of the top-left corner of the exploding object.The
death
or pop effect has apos
of{x:0,y:0}
too, but that is corrected for when thetagpro.renderer.startDeathEmitter(...,..., x+19, y+19)
function is called.