Sprite change position suddenly

Hy All, I need your advise. I don’t know if it is a bug or not. I try to track my sprite position. The sprite move from right to left with delay time.

2 Sprite, just called it A and B.

Sprite A start position is x : 900, y : 50. After the delay time ended, It move to left and decreased to 850…800…750… and then died. When it was died, i changed the position to x :1000, y :-1000 (i just want to make sure that it won’t appear in the screen, with visible = false, and i removed it from the layer). But suddenly the position changed to x : 50, y : 0. I find all on my source. There is no order for changed it to x : 50 !!!

And Sprite B have the same start position with sprite A (x : 900, y : 50). While in delay time, suddenly the position changed to x : 50, y : 0. And after the delay time ended, it move to the left. And this sprite make my game have a serious horror bug.

Let say i have 30 sprites and only 5 sprites that have the same issue like sprite B, and the other like sprite A.

Need any advise from you all. Anything. :smile:

Thank you.

Hi @gusti,

It’s a good story, but we need to see the relevant code.

Looking forward to helping you.