[QUOTE=Gamezilla] How did you get the enemy ship to do that AI? I can't seem to open the game event to look.[/QUOTE]
The AI is very primitive, it follow and orbit the player at a random angle, the orbit angle change from time to time, the ship try to evitate the player if it go too near and that is all, basically.
Here is a simple sample:
And test (use UP arrow to go in the direction of the cursor, down to stop moving): https://dl.dropbox.com/u/64479453/C2SpaceShooter%20AI%20Example/index.html
I am still polishing the game right now (now 211 events) and will release it soon on the arcade, the "code" was (and still is) very crappy, it was made in less than 2 weeks on hurry, also got huge problems fixing the game each time a new update of C2 was released, the game broke down at each updates basically.