Wednesday, 16 May 2012

C#/XNA - Space Invaders

Tutorial 2 of the series that i have been working through was making space invaders. The majority of this was very similar to what we done with the c++ tutorial although there were a few differences that i noticed but i think this could be down to xna or c# but I'm still not 100% sure hopefully working through the next few tutorials i will be able to figure it out.


The biggest difference though is just how the game actually looks compared to the c++ version. I'm sure the c++ version would look better if i had better meshes but i struggled to find suitable meshes when i was working through the c++ the first time.

The xna version was also a lot more simple to code there wasn't really anything that was difficult to understand but I'm not sure if this is because i learnt a lot from already having done it in c++ or if it is just cause c# is simpler.


i have also added a few extra features to the xna version that weren't in the tutorial and that i didn't have in the c++ version. I added the ability for the invaders to move down the screen to the player, displaying the number of invaders left for the player to kill and a winning and loosing state to the game.



One of the next tutorials i have is for creating a messaging system for the game engine and remaking space invaders to work with this system. Once i have done this the game will include a "boss" invader, the invaders shooting back at the player and i will also try and add in some sound and possibly even cover for the player along with a few other things. 

Anyway time to start properly building the tile engine!
Email: 10004794@napier.ac.uk - Please put blog in the subject.
Xbox Gamertag: craigmcmillan01
Twitter: Follow @craigmcmillan01
steam: craigmcmillan01
add or follow and we can game!


1 comment:

  1. Can you provide me the code in C++ for this space invader game?

    ReplyDelete