05-22-2015, 05:06 PM
I am certain the y-position of the spark is determined by taking half of the itr's h: value. I know that because we use high h: values for itrs to make the hit-spark disappear (go down way beyond the ground, in fact). As for the x-position, I think it uses the x: or the x: + w: value of the bdy (depending on the facings or the direction the attack comes from).
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
A-Engine Dev Blog - Update #8: Timeout