Sign in to follow this  
MarcusLM

Galaga type enemy AI

Recommended Posts

MarcusLM    152
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

Share this post


Link to post
Share on other sites
Apocryphiliac    223
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.

Share this post


Link to post
Share on other sites
MarcusLM    152
Thanks for the replies!

I'm kind of embarassed though, that thread KirkD recommended was actually one I started back in February asking the same question. I had no memory of ever posting that before. It had been so long. I do apologize for the repeat.

Marcus

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this