Hi everyone, I was wondering if anyone of you know how to delete a sprite when another sprite collides with it. I seem to know about the collision detection part but i can't seem to be able to delete the sprite when colliding. Can the sprite be deleted at all? I can only set it invisible. can anyone give me any advices or suggestions?

Another question is, how can i make a sprite gamecharacter move to the center of the canvas and halt at a point while it moves along the landscape. Do i need to fix its X coordinate and allow the y coordinate to run as usual? Is there a method in doing this?

Please... I need help right away. Reply to this topic if you understand my problem. Thanks.