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

Alien Invaders!?

Sign in to follow this  


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  


Recommended Comments


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!