Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    686
  • comments
    1952
  • views
    387401

Alien Invaders!?

Sign in to follow this  
Stompy9999

78 views

Got my first enemies working:


They're supposed to be UFOs, but as we all know I'm not a great artist...

I was worried that my grand plan for an enemy manager handled through polymorphism wouldn't work. Now that I went through with it, I'm really glad that I did.

These enemies I have are currently hard-coded into the game, but soon I will make it so that I can place the enemies through the level format.

But it is so cool how I can add an enemy just by making this call:
Spawn(new E_UFO(50, 200));

I put E_ in front of the enemy class names just as a naming convention.

Anyways, I'll get to work on adding more enemies[smile]
Sign in to follow this  


3 Comments


Recommended Comments

Awesome!

Just a random thought: try putting little colored lights around the base of the UFO, and have them spin with your animation system. In my imagination, it looks really cool.

Share this comment


Link to comment
Actually the UFO's do have a spinning animation right now, but attaching little lights would make it look better. I'll give it a try.

Share this comment


Link to comment

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
  • 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!