SpriteHand
Module Border
  Silverlight for "Casual Games"
Module Border
Location: BlogsAndy's Blog    
Posted by: host 5/9/2007 8:02 PM

I was curious about Silverlight's ability to create casual games with decent (circa 1985) graphics, frame rate, input and sound so I started on an Asteroids type proof of concept (gee, how many of those do you think are gonna surface!)

SEE MY WORK-IN-PROGRESS (you'll need Silverlight Alpha, link on page)

The game is not complete yet, but I think its safe to say Silverlight will support some fairly adequate games in the "casual" category. I'm seeing about 60 fps on the asteroids clone.

I have to go on the road for the next few days so I won't be able to finish this thing off right away but I'll be getting some code and tips up eventually. Here are a couple of things I ran into with the Alpha:

  • I needed to implement my own (crappy) collision detection. I really expected with all of the vector capabilities that HitTest functionality would be in Silverlight but it isn't (yet anyway).
  • There isn't a "real timer" class in Silverlight yet, so you need to use an Animation Timer as a workaround (see prior blog post)
  • They KeyDown event doesn't appear to support arrow keys. Hopefully this will be fixed before release.
  • I'm not sure if this is something I'm doing but my MediaElement only plays once (yeah I need to add in more sfx too anyway)
Permalink |  Trackback

Comments (1)   Add Comment
Re: Silverlight for "Casual Games"    By Anonymous on 5/28/2007 8:28 AM
Very nice, Andy!


Title:
Comment:
Add Comment   Cancel 
Module Border Module Border
Module Border
  Subscribe
Module Border
RSS   Twitter
Module Border Module Border
Module Border
  Diversions
Module Border

TALKING RAGDOLL
This Windows Phone 7 App was created using Silverlight, the  Physics Helper Library,  and the Farseer Physics Engine. It gets interesting when you import your friends photos and have your way with them!

MORE INFO



DROPPYPOP
This Windows Phone 7 game was created using Silverlight, the  Physics Helper Library,  and the Farseer Physics Engine.
DEMO

MORE INFO



BOSS LAUNCH
This physics game won first place in the Server Quest Contest. Created using Silverlight 2, the Physics Helper Library,  and the Farseer Physics Engine.
PLAY IT

MORE INFO



DESTROY ALL INVADERS
A scrolling shooter game where the objective is to destroy the invading UFO's flying over a neighborhood of your choosing. Imagery provided by Microsoft Virtual Earth. Created using Silverlight 2.
PLAY IT

INFO AND CODE



PHYSICS HELPER DEMOS
These demos were created for the Physics Helper Library, which makes it easy to create physics games and simulations using Expression Blend, Silverlight, and the Farseer Physics Engine.
PLAY IT

INFO AND CODE



HOOK SHOT
This little basketball game took first place in the TeamZoneSports Silverlight Contest. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



SORT THE FOOBARS
A game where you need to sort the good foobars from the bad ones. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



POLYGON PHYSICS DEMO
A demo showing polygon physics where the user draws physics objects with the mouse. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



SILVERLIGHT ROCKS!
Destroy the asteroids before they destroy your ship! Created using Silverlight 2.
PLAY IT

INFO AND CODE



FISH GAME
A simple game of harpoon-the-fish. Written using the AJAX Sprite Toolkit.
PLAY IT

INFO AND CODE

Module Border Module Border
Module Border
  Search_Blog
Module Border
Module Border Module Border
Module Border
  Blog_Archive
Module Border
Module Border Module Border
Copyright (c) 2013 andy.beaulieu.com - Login