Jump to content
  • Advertisement
Sign in to follow this  
armond

I am the boss, I have many bodies

This topic is 4135 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Having observed the old shooting games such as R-Type http://www.sawtoothdistortion.com/evolutionaryprototype/images/rtype3/index.html I noticed that bosses isn't made of just a single sprite or object. Same for the normal enemies that flies around and shoots you. In my current project, I only have a single List(actually, a vector) where I store all the enemies. I actually have the following data structure. 1 List for Enemies 1 List projectiles A pointer to a boss Now, suppose the boss is some sort of snake or Centipede wherein it has many parts with different behaviors, or the other parts would just follow a certain body part such as the head. How is this implemented with the old games? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Maybe no one knows how they did it in the, "old games", so all you can figure out is how the best way to do it now is.

You could approach it a few different ways, and each one really depends on where the AI code is, and how it is linked to the enemy.

- You could either make each part of the boss a seperate enemy with different behaviours
- You could make the boss one enemy with multiple sprites and AI behaviours attached to it
- You could have the boss be one enemy with one sprite, that has positions and behaviours for all it's parts mashed into one behaviour model.

Which way you choose to go is entirly dependant on how your AI behaviour and sprite system is set up. Give a little more info on that, and we can discuss it further.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!