Hey guys,
I'm making a game similar to "Space Blaster" demo where an enemy fires a sprite towards the players X,Y co-ordinates. The only difference i am not firing a spherical object but a sort of laser, thus when it flies towards the user its angle is always different which doesn't make it realistic. I need it to spawn with the correct angle facing the user where ever he is and fly at him.
I tried changing the angle and all but no luck, i think its a math problem were i'm hopeless.
Here is a sample .capx file explaining better the problem
dl.dropbox.com/u/13810427/Battle.capx