Silverlight Games 101

Write games in Silverlight 2 using C# by Bill Reiss
Our upcoming Silverlight book for beginners (includes a great chapter on game development in Silverlight!) Hello! Silverlight 2 with Dave Campbell, available online now!



Pages

    Recent posts

    Navigation

    Archive

    Blogroll

      Tampa Divorce Lawyer

      North of Tampa in Lutz, Florida. A Tampa Divorce Lawyer focusing on family, divorce, and real estate law.

      Disclaimer

      The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

      Silverlight 3 – Even better for game development?

      One of the best places to get some teasers about new functionality coming in Microsoft technologies is Scott Guthrie’s blog. In the unlikely case you aren’t subscribed already, here is what he had to say about Silverlight 3:

      Next year we will ship our next major Silverlight release -- Silverlight 3. 

      Silverlight 3 will include major media enhancements (including H.264 video support), major graphics improvements (including 3D support and GPU hardware acceleration), as well as major application development improvements (including richer data-binding support and additional controls).  Note these are just a small sampling of the improvements - we have plenty of additional cool features we are going to keep up our sleeves a little longer. ;-)

      And here’s the entire post:

      http://weblogs.asp.net/scottgu/archive/2008/11/16/update-on-silverlight-2-and-a-glimpse-of-silverlight-3.aspx

      Sounds great from a gaming perspective. Can’t wait to see some of the biggest complaints when related to game development on Silverlight go away.

      Posted: Nov 16 2008, 21:52 by Bill Reiss | Comments (9) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      I’m actively looking for more Silverlight games for Blue Rose Games

      I’m looking to add to the games available on Blue Rose Games. The ultimate goal is to make it into the premier site for great Silverlight based games.

      The details:

      • Silverlight 2 only, there are plenty of Flash sites out there already
      • The game doesn’t have to be exclusive to Blue Rose Games, keep control of your intellectual property, this may change for newly submitted games later
      • Receive a small payment up front and then get paid per view of your game
      • What do you have to lose?

      I’m not going to accept all games, but if it’s not accepted I will tell you why and give you the chance to improve it. If you are interested in putting your game up for consideration please contact me.

      Posted: Nov 12 2008, 09:54 by Bill Reiss | Comments (0) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      New Silverlight game development discussion forum

      I’ve created a new forum at forums.bluerosegames.com to discuss Silverlight and XNA game development and to discuss the games hosted on Blue Rose Games. The Silverlight game development forum is here:

      http://forums.bluerosegames.com/viewforum.php?f=8

      You can also get to it through the Forums menu item at http://www.bluerosegames.com/brg/

      Posted: Nov 12 2008, 09:42 by Bill Reiss | Comments (5) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Silverlight Games 101 - Migrated to new blog server

      First I’d like to sincerely thank Keith Kabza for hosting this blog since it started last year, he took good care of my needs and this blog’s needs and helped to make it a success. I’ve wanted to move the blog to my own server to consolidate everything I do under the “Blue Rose Games” brand for a while now and also wanted to be able to provide better support for the blog by using BlogEngine.net and some of the great extensions it provides.

      If you’re a blogger or considering getting started with blogging and want to run your own blog server on ASP.NET, I recommend BlogEngine.net as an easy to set up, powerful, extensible engine. All of my blogs are now on BlogEngine.net.

      So please let me know if you run into any problems, and you’ll start seeing a continuation of the Space Rocks game programming series soon.

      One thing lost for now is the forums support, I’m looking at options to add forums to Blue Rose Games and game development forums will be a part of that.

      Posted: Nov 09 2008, 02:08 by Bill Reiss | Comments (0) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Games on Blue Rose Games now on Silverlight 2 RTW

      I've updated Dr. Popper and Stack Attack to Silverlight 2 RTW, you can play them here:

      http://www.bluerosegames.com/brg/free-web-games/games.aspx

      Enjoy!

      Posted: Oct 14 2008, 20:38 by Bill Reiss | Comments (0) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Find me at PDC for a Dr. Popper badge and maybe win a book

      Adam Kinney, the PDC Badge Evangelist, had a post about creating your own badges for PDC, and so I decided to create one:

      brg_pdc_badge

      This is inspired by evangelists Joe Healy and Tim Heuer who have said that their daughters love Dr. Popper. I've actually also heard this from other people as well, and it's my daughter's favorite game too, she actually inspired the game because she played a similar game at school.

      So if you want this badge, find me at PDC, and there will be a URL on the back with a secret code. If your code is a winner, you will receive a free copy of Hello! Silverlight 2 when it's published in the spring.

      Posted: Oct 12 2008, 13:37 by Bill Reiss | Comments (0) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Never enough time...

      It seems like there is never enough time for everything and I have had my share of juggling to do, and one of the things that has suffered is new game tutorials here. I will be getting back to these hopefully in the not too distant future but there was something even more neglected that I need to take care of first.

      My original beginning game programming blog called XNA 101 .Net was originally written against XNA 1.0 beta and release, and hasn't been updated for the new releases. With the release of XNA 3.0 beta, it was a good time to finally get these up to date. I also wanted to get off of Windows Live Spaces for that blog, it was too limiting in its extensions and the notification system was flaky at best. So I'm pleased to announce that I have started porting the old tutorials in that blog to XNA 3.0 Beta and they are available here:

      http://www.bluerosegames.com/xna101

      and the RSS feed is at:

      http://feeds.feedburner.com/xna101

      Some of the concepts covered there also apply to Silverlight, and if you're interested in doing games in Silverlight that also can work in XNA, I hope to cover some of that in the future, and as I go through updating the series I will make changes that will make that transition easier.

      Posted: Oct 10 2008, 08:59 by Bill Reiss | Comments (3) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      New CodePlex project for text effects in Silverlight 2 RC0

      I have created a new control called a PathTextBlock that lets you draw outlined text and allows you to distort the text. It started out as a need I had to draw outlined text, and then I saw a few people asking for drawing along a curve, etc. and figured I could create a control to do both.

      How it works is that the font file is converted to a XML representation of the font which contains the Path data, and then the Path object is used in Silverlight to render the text. You can also apply transforms to the text and create your own transforms.

      I'm making the code available free through CodePlex under the Microsoft Permissive License (Ms-PL).

      You can see more about the PathTextBlock project here:

      http://www.codeplex.com/sltext

      If you create something cool with it please let me know, I'd love to see it.

      Posted: Oct 06 2008, 10:36 by Bill Reiss | Comments (12) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      3D in Silverlight? How about an FPS?

      This falls in the file of how the heck did they do that? Or even, is this a hoax? Innoveware is working on porting Quake to Silverlight. They only have a video up right now, and I won't 100% believe it until I can run it myself, but it's pretty impressive:

      http://www.innoveware.com/

      Hopefully we'll get some information about their techniques but this looks about as good as anything I've seen online.

      Posted: Oct 01 2008, 10:45 by Bill Reiss | Comments (7) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Silverlight Sports Game Contest Results

      The TeamZone Sports Silverlight Sports Game Contest is over, and the judges have weighed in. We had some great entries but could only pick 3, so here they are:

      First Place: Hook Shot by Andy Beaulieu

      Second Place: Ball Blocks by Matt Casto

      Third Place: John Brummel University's Blunderbuss Olympics Vol. 1 by David Sushil

      You can check out the winners and all of the entries here:

      http://www.teamzonesports.com/silverlightgamecontest

      Posted: Sep 30 2008, 08:35 by Bill Reiss | Comments (7) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      A much cleaner Game Loop in Silverlight 2 RC0

      Silverlight 2 RC0 is now available. See the details here:

      http://weblogs.asp.net/scottgu/archive/2008/09/25/silverlight-2-release-candidate-now-available.aspx

      They've made it much easier to do a game loop now with a new event that has been added. This event fires before the rendering of each frame. So now you don't need an empty Storyboard or a DispatcherTimer. Let's see how we can animate a rectangle, here's the page.xaml:

      <UserControl x:Class="SilverlightApplication34.Page"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
          Width="400" Height="300">
          <Canvas x:Name="LayoutRoot" Background="White">
              <Rectangle x:Name="rect" Fill="Red" Width="50" Height="50"/>
          </Canvas>
      </UserControl>

      Then for the game loop, all you need to do is something like the following:

      public partial class Page : UserControl
      {
          double x = 0;
          public Page()
          {
              InitializeComponent();
              CompositionTarget.Rendering += new EventHandler(CompositionTarget_Rendering);
          }
       
          void CompositionTarget_Rendering(object sender, EventArgs e)
          {
              x+=.3;
              rect.SetValue(Canvas.LeftProperty, x);
          }
      }
       

      You can then add things like elapsed time between renders, etc. I'll follow up with a post on converting the game loop logic covered before to use this method.

      Posted: Sep 26 2008, 13:10 by Bill Reiss | Comments (22) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Silverlight Sports Game Contest deadline tonight

      I can't believe it's already here, but we're reaching the deadline for submissions in the TeamZone Sports Silverlight game contest. If you've been working on a game, make sure it's submitted by Midnight Eastern time on Monday September 8.

      Submission instructions here: http://www.teamzonesports.com/silverlightgamecontest/submit

      Drop me a note if you have any questions.

      Posted: Sep 08 2008, 14:04 by Bill Reiss | Comments (1) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Tampa User Experience Users Group First Meeting September 10

      The Tampa User eXperience User Group will have its first meeting next Wednesday. The presentation will be MS Ajax Client Script 101 by Jay E. Kimble. tux penguinWe will be meeting at  Answers Systems (4029 Tampa Road, Oldsmar, Fl 34677... right next to the Oldsmar Fleamarket).

      Pizza and drinks will be supplied, so come on out. One lucky winner will walk away with an MSDN Premium subscription!

      No web site yet, but go to Jay's blog here if you plan on coming and let him know:

      http://theruntime.com/blogs/jaykimble/archive/2008/09/03/tux-tampa-ux-is-next-wednesday-sept.-10th-at-630pm.aspx

      Posted: Sep 04 2008, 19:19 by Bill Reiss | Comments (0) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Silverlight Sports Game Contest Registration and Submission now live

      I'm happy to announce that you can now register and submit your games for the TeamZone Sports Silverlight Sports Game Contest. The deadline is approaching, games must be submitted by September 8th. With $2000 in prize money, we're looking forward to seeing some great submissions. I encourage you to go ahead and register now even if your game isn't ready to submit since we will be sending out any important information to registered users if needed.

      You can get details about registering and submitting here: http://www.teamzonesports.com/SilverlightGameContest/Submit

      Posted: Aug 27 2008, 09:59 by Bill Reiss | Comments (0) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under:

      Silverlight Game Contest rules and FAQ now online

      I previously posted about a Silverlight game development contest that is being sponsored by TeamZone Sports http://www.teamzonesports.com (who happens to be my employer) and I wanted to briefly update you that the contest site is live, with official rules and FAQ. The submit page isn't quite ready yet, I'll post again when this goes live.

      The official contest page is here:

      http://www.teamzonesports.com/SilverlightGameContest

      Good luck with your games and I'm looking forward to seeing them!

      Posted: Aug 13 2008, 09:17 by Bill Reiss | Comments (4) RSS comment feed |
      • Currently 0/5 Stars.
      • 1
      • 2
      • 3
      • 4
      • 5
      Filed under: