I hate asking for help but, I'm stuck, I've been stuck for awhile on this one.
The player is in the center of the sreen and the map scrolls under him.
All I want to do is when you locate a enemy the sprite for the enemy will rotate towards the player(the center of the screen).
I have tried all kinds of angle maths, no luck. I thought I was close when I broke the screen into four sections so I could figure out where the sprite was in relation to the center of the screen, but alas I never got that to work either.
I've posted the loop that moves the enemy and the part inside of the remstart and remend is the rotation section. All this version does is just have them fly in circles, not my closest attemp but it's what I have at the moment.
Any help is appreiated,
CTP