March
---
2009




Silverlight 2.0 Moonlander Game...

It has been a while since I have posted an experiment and mostly because I have been quite busy and maybe the little project I started was a bit more than just an afternoon (as is usually the case...). I really wanted to write a simple 1980's type of game, such as asteroids, but someone had already done that in silverlight. So I figured I'd try something else, like MoonLander.

I know that writing a game is much more than just an experiment as it has much more to handle than just a single purpose. I have several times considered scrapping it altogether and starting on something else, but after many weeks on the backburner, I figured, I'd just get it over with and finesh it.

I have to say that the hardest part here was the collision detection and the gravity calculation. I have included a couple of the core files and more are needed to run the game...

It is functional, and not completely finished, but I want to move on to other projects...

Note: You have to click on the game for the keys to function (the first time arround) and then use left arrow, right arrow and the up arrow to manouver your moonlander. Also, increase the difficulty by changing the variables at the bottom...


Moonlander.xaml.cs code

Page.xaml.cs code


Enjoy!