Galaga type enemy AI
I am wanting to develop a relativley simplistic galage style game. I have started many games in the past, but never finished any of them. I think it is important to finish one. So I am backing up doing something simple. I have been thinking about the enemy AI and I was wondering how the enemy flight patterns are stored and executed in a game like Galaga. Any help appreciated. Especially if someone knows where I can find the source to a Galaga type clone.
Thanks!!
Marcus
I haven't played galaga in a while, but it seems to me that you could probably express the motion of most if not all of the flight patterns as parametric equations. When creating an enemy craft associate it with a set of equations and probably a couple parameters to the equations as well (frequency, magnitude, etc.). Then just use the equations to trace out the coordinates of the craft.
Here's a link to a previous, similar discussion. It is about Galaxian, but the premise is the same.
-Kirk
Galaxian AI
-Kirk
Galaxian AI
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement