| | |
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!
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!
He who forgets, will be destined to remember...
•
•
Join Date: Nov 2008
Posts: 44
Reputation:
Solved Threads: 4
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.
.Net Developer - 3D Game Designer
My Portfolio/Blog: http://www.hieu.co.uk
My Portfolio/Blog: http://www.hieu.co.uk
•
•
Join Date: Nov 2008
Posts: 44
Reputation:
Solved Threads: 4
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/2...-Invaders.aspx
http://www.hieu.co.uk/post/2008/12/2...-Invaders.aspx
.Net Developer - 3D Game Designer
My Portfolio/Blog: http://www.hieu.co.uk
My Portfolio/Blog: http://www.hieu.co.uk
![]() |
Other Threads in the Game Development Forum
- Previous Thread: Need help creating save/loading system.
- Next Thread: How to create a c++ game?
| Thread Tools | Search this Thread |
3d advertising ai algorithm ban c++ cambridge camera censorship china competition console development engine fov fpx game gamer games gaming gauntanamo government idaho in-gameadvertisement intellectualproperty laracroft live manhunt math mathematics matrix mercenaries microsoft mmorpg modded msn naked news nintendo obama opengl palin physics pirate playstation politics projection ps3 rpg search selection software sony stephenhawking stocks studio technology terrorism tombraider uk videogame web wii world-of-warcraft xbox xbox-live xbox360





