954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Space Invaders game (C# & OpenGL)

Hi there,

we are currently deverloping a simple game for school project. As title shows, I'm talking about space invaders game (we use OpenGL & C#).

We have actuaally made the game run in the mode that everything is displayed as red or yellow circles (textures are not yet implemented). It is also important to mention that game is 2D.

The problem is that when we move the ship, it lags. All the invaders move swiftly but the ship doesn't move smoothly.

Our teacher said the proble is in implementation. He suggested that we should use some kind of controller that would give priorities to all moving objects (for example - the ship would have higher priority when refreshing the screen so it moves smoothly).

So finally the question - Has anyone ever done such a thing and possibly can give us few tips about how to do such thing?

Thx in advance!

Gaspacho
Newbie Poster
17 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

Don't really understand though. How you wrote your game anyways? I'm writing a tutorial about this game using C# but with XNA instead of OpenGL. If you want I could send you the tutorial, I think they should be the same idea.

hieuuk
Light Poster
44 posts since Nov 2008
Reputation Points: 11
Solved Threads: 4
 

Hi there

thx for reply! Could you send the tutorial to Thx

Gaspacho
Newbie Poster
17 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

Hi, I have just upload the tutorial onto my blog. It's kind of rush so it's a bit draft. Hope it help.
http://www.hieu.co.uk/post/2008/12/21/Starting-Game-Dev-With-Space-Invaders.aspx

hieuuk
Light Poster
44 posts since Nov 2008
Reputation Points: 11
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You