J
No, this is my cursorYou have a typo, remove the | in your (x,y) when you create the debris
A few things you could try.
Move the instance_destroy() commands in the obj_asteroid collision event to after the other code has run. It shouldn't make a difference, but perhaps the fact you are running instance destroy() is messing with the obj_asteroids x and y position.
Put a:
show_debug_message("Position created at: " + string(x) + "/" + string("y"))
in your obj_debris Create Event, to test where the debris starting position is.
Check the sprite spr_debris Origin coordinates are set to the center of the sprite.
You're welcome!thanks, the Sprite origin was the problem