Enemies!

Got whirlpools and enemies working… Well, more or less…

Whirlpools work, by dragging the ship in their direction… get too close and there’s no escaping…

whirlpools.jpg

The enemies already wander around, but they don’t attack or persuit the player yet… Going to add shooting on the player’s ship first…

enemies.jpg

Still thinking on exactly the AI of the boats will work… I’m thinking on making them “target” the side of our ship, if possible and try to navigate according to that, shooting whenever they have a good chance of hitting… Got to add some kind of prediction on the shoot dir so it has any chance of hitting…

Anyway, shooting time!