Welcome to TechNet Blogs Sign in | Join | Help

The Applied Games Group Blog

New stuff directly from Microsoft Research.
Lunar Lander Retro Vector XNA 2.0 Game sample written in F#

While travelling to Microsoft HQ in Redmond earlier in the year for the annual TechFest event - for some fun I decided to have a go at writing a small retro game in F# using XNA 2.0, and attached are the results. When moving over to Pacific time I usually find myself waking up at 4am for the first few days, leaving me with plenty of wide awake hours I wouldn't normally have to while away, and this is when the sample was born. I decided on an implementation of Lunar Lander basically because it is pretty simple both logically and graphically, and at the same time fun and achievable in a relatively short time. The sample lets you play with a game pad or keyboard ('Z' and 'X' to rotate, Space to thrust), and to complete the game you must land on the long flat section before you run out of fuel and hit the jagged terrain.

Lunar Lander XNA Game Screenshot

For those interested, the source is attached to this post, which comprises a Visual Studio 2005 solution, a C# XNA 2.0 shell project to take advantage of the content pipeline for audio, an F# game implementation project and a small utility project to create terrain vectors from points in an image file. Please feel free to download and play with it, in theory if you have XNA 2.0 and F# installed then you should be able to just load the solution and press F5 to build and run. 

Phillip Trelford

Posted: Sunday, May 11, 2008 10:36 PM by apg
Filed under: , , ,

Attachment(s): LunarLander.zip

Comments

ламинат said:

ehm Een plaatje zegt alles, toch ? you  Het volledige rapport is hier te vinden. Lees natuurlijk e  de blogposting. r e

Thanks for interesting post! dnd

[url=http://skuper.ru]купить ламинат[/url] 7j

# August 13, 2008 3:47 AM

сайдинг said:

4eI'll thingk about it.1v I compleatly agree with last post.

<a href="http://all-siding.ru/">сайдинг</a> 6j

<a href="http://all-siding.ru/index.php?section_id=72">виниловый сайдинг</a> 1p

# August 18, 2008 6:33 AM

ламинат said:

1rThank's.4b I compleatly disagree with last post .  yho

This is my project <a href="http://skuper.ru">полы ламинат</a> 4p

# September 5, 2008 6:20 AM

сайдинг said:

0cПознавательный материал!.2d Буду признателен, если посетите мой сайт.!

<a href="http://all-siding.ru/index.php?section_id=123">сайдинг цены</a> 3b

<a href="http://all-siding.ru/index.php?section_id=127">под сайдинг</a> 0a

Спасибо

# September 7, 2008 9:38 PM

megaaslavik said:

В частности, были освещены вопросы защиты права собственности при ?государственных нужд

Появился <a href="http://privlaw.ru">сайт школы российского частного права</a>.

Приглашаем всех заинтересованных в образовании, новостях в сфере права, а так же тех, кто заинтересован в повышении своей квалификации!

Дискуссии, события, консультации и многое другое!

<a href="http://all-siding.ru/index.php?section_id=9">законопроекты</a> 4c

<a href="http://all-siding.ru/index.php?section_id=33">учредительные документы</a> 0t

# September 23, 2008 4:30 PM

megaaslavik said:

Отвечу

В частности, были освещены вопросы изъятии земельных участков и иных объектов недвижимости для ?государственных нужд

Начал работу <a href="http://privlaw.ru">портал школы российского частного права</a>.

Приглашаем всех заинтересованных в образовании, новостях в сфере права, а так же тех, кто заинтересован в повышении своей квалификации!

Дискуссии, новости, помощь и многое другое!

<a href="http://privlaw.ru/index.php?section_id=28">семинары</a> 6t

<a href="http://privlaw.ru/index.php?section_id=7">основные направления деятельности</a> 1g заседания

# September 25, 2008 3:22 AM

ламинат said:

0uПознавательный материал!.1h Буду рад, если посетите мой сайт.!

Сайдинг состоит из отдельных панелей, которые крепятся одна к другой?.

Особенно удобен сайдинг в реконструкции, не изменяя качество и ?конструкцию стены, сайдинг полностью меняет облик дома.

<a href="http://skuper.ru/makers.php?maker_id=19">FineBer</a> 2y

<a href="http://skuper.ru/makers.php?maker_id=18">плинтус korner</a> 8e

паркет

Спасибо

# September 25, 2008 7:18 AM

Phillip Trelford's blog... evidently said:

Announcing My F# Introduction Talk on Tuesday 19th May, 2009 @ Skills Matter in London

# May 14, 2009 2:56 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker