The World’s Leading Microsoft .NET Magazine
   
 
timstall

Donate Today!

Search Box

 

Calendar

««May 2008»»
SMTWTFS
     123
45678910
11121314151617
18192021222324
25262728293031

My Top Tags

                                       

Mailing List

My RSS Feeds








Silverlight - Truck Wars Strategy Game v1.3

posted Thursday, 18 October 2007

Release 1.3: Now Open-Sourced

TruckWars is a simple SilverLight real-time-strategy game. You control the green units. You select a unit by left-clicking it. You move a unit by drag and drop. You attack an enemy unit by moving your unit into the enemy unit's space. The goal is to push all the green buttons down. TruckWars is now open-sourced at CodePlex. It's also on the Silverlight Gallery.

Please hit SPACEBAR to pause/unpause the game

Release 1.1

This is a simple SilverLight real-time-strategy game. You control the green units. You select a unit by left-clicking it. You move a unit by drag and drop. You attack an enemy unit by moving your unit into the enemy unit's space. The goal is to push the numbered crates onto the pink "Victory" tiles, and then hit the green semi-circle button. You can see more info on the release notes.

Release 1.0

I converted the XNA game to Silverlight. This is a simple SilverLight real-time-strategy game. You control the green units. You select a unit by left-clicking it. You move a unit by drag and drop. You attack an enemy unit by moving your unit into the enemy unit's space. (SilverLight only allows a left click). Currently only the tanks can attack. The ambulance and pickup truck don't do anything yet. The goal is to push the numbered crates onto the pink "Victory" tiles, and then hit the green semi-circle button. Select the game (to activate it), and then click "spacebar" to start. Obviously this is just a simple test of SilverLight, and I'm open to suggestions. I'm going to explain the code in the next several posts. I was inspired by my son's love of trucks to use the truck theme. I was definitely helped by Bill Reiss's good Silverlight Tutorials.

NOTE: You need to view this page in a browser in order to see the game; it doesn't show up in most RSS feeders.

tags:  

links: digg this    technorati    




1. kierepka left...
Friday, 9 November 2007 12:08 pm :: http://kierepka.pl

There are some problems with Polish locales - input strin was not in correct format System.FormatException


2. asdf left...
Monday, 10 December 2007 10:57 am

asdf