Featured Posts

Clatto Verata N... Necktie... I've been a fan of the Evil Dead franchise since I first saw the original back when I was about 16. What a fantastic series of movies, and I love each and every one of them....

Readmore

Clatto Verata N... Necktie... I've been a fan of the Evil Dead franchise since I first saw the original back when I was about 16. What a fantastic series of movies, and I love each and every one of them....

Readmore

Foam and Ghosts and Urethane...oh my! After much deliberation, hours of research and a handful of emails with http://www.smooth-on.com, I think I finally have a plan to build the kids proton packs for halloween. For...

Readmore

A Proton Pack is not a toy? "Are you troubled by strange noises in the middle of the night? Do you experience feelings of dread in your basement or attic? Have you or your family ever seen a spook,...

Readmore

Facebook Development - getting started While I'm learning silverlight behind the screen, I thought I'd put a little article together about setting up your development environment for the Facebook Development platform....

Readmore

Fickle Frank Rss

Ooo, Silverlight for games!

Posted on : 20-06-2009 | By : Fickle Frank | In : Silverlight

Tags: , ,

2

Ooo, its a fancy new toy for me to play with. Well it’s not really new but it sure is neat, and its exactly what I need for a new project! (surprise surprise!)

As you may or may not know, I LOVE making games and seeing as I am a programmer I feel like I should have the required skill-set to do so. The roadblock I always hit is two fold though. The first part of the roadblock is graphics, while I am a programmer I am not a graphic designer, I like to draw but don’t feel that my work is game worthy, so I always end up getting frustrated with that and end up calling it quits. The second part of the roadblock is game programming knowledge. Even though programming is what I do, my primary focus in programming has always been business processing and automation (ho-hum kind of programming), so there’s a LOT to programming a game that I just don’t know. Anyone who has done research on game programming can tell you that there are sooo many choices, tools and theories out there that it can get a little overwhelming. So I guess the roadblock is really 3 fold. But, Oh Silverlight how you have tempted me to once again fall into this desire!

So why has Silverlight turned me back on to game development? Well the reason is a bit long winded; but hey, thats what blogs are for right? So, hers why. First, I recently joined Facebook and like eveyone else on that crazy Social site started to receive uncountable numbers of requests to join this game and that game, or to use this or that application. There are SO many applications and games on facebook its just unbelievable! In any case, I eventually used one of them, a pretty neat experience to say the least. Being the curious person I am, I just had to have a peek at their API and development platform. Which then led me to wanting to use it. So I started thinking of what kind of app I could make. Which led me back to a BBG (Browser based game) that I made a LONG time ago called BumWars. The purpose of the game is irrelavant to this post so I wont get into that, but, I will say that I ended up starting the project. I was able to integrate into the Facebook platform without much difficulty, actually the experience was rather pleasant. However, once I started making my very static very boring game I decided to check out some other games on there. This led me to Yoville and FarmTown; very cool! They are actually multiplayer style video games right in the browser! Unfortunately for me, they are built with Flash and have some Java server program they are using which costs mucho buckos! Needless to say it got me a bit dis-heartened on my current project, but it got me googling (I still can’t believe thats a real verb!) for browser based game development, which in turn led me to Silverlight.

Silverlight 2 runs on the client side of everything, much like Flash. But Flash uses action script where-as Silverlight uses C#, and contains its own small version of the .NET framework. Whats this mean? That means that it doesn’t have to be hosted on a microsoft server, it doesn’t need the user to install the .NET framework or anything else, aside from Silverlight (which is a 2 minute process). So Silverlight will allow me to write code without learning action-script or purchasing Flash, BIG PLUS! at least for me. Couple that with Microsofts Expression Blend 2 and bang! We can even make animations for things, which looks easier than doing it in flash. So I say to myself…Hmm! Maybe we can make a browser based casual game after-all. Wait! What about the server technology? Well thats the beautiful thing! Since its written in .NET we can use webservices rather easily to create a communication between our client game and a server handling all of the multi-player info. So far, it sounds pretty sweet to me!

Now, lets assess the situation.
Q) Can silverlight make casual browser based games?
A) Yes.

Q) Can it handle multiplayer scenarios?
A) Yes.

Q) Can it handle user input (keyboard/mouse)?
A) Yes.

Q) Do we have a game to make?
A) not yet… :(

Q) Have we used Silverlight before?
A) Nope… not at all.

So it can do everything I need it to, but I need to learn how to use it. Ok, that should be doable. That is one of the purposses of this blog after all. to learn new things and share those experiences. So I suppose one of my first projects for the blog will be to start learning Silverlight. So be on the look out for some posts doing just that.  I’ll probably make it a series of posts where I try to reiterate what I’ve learned in the form of a tutorial, which will further my own learning. (I never said I wasn’t a little selfish.)

Comments (2)

Hi Frank,
Check out this site. I have not tried their game engine yet but it looks like a great concept.

http://www.envygames.com/content/

Hey Mike! Thanks for the comment and tip! I did find their engine a little while ago. If memory serves it looked very nice too. Once I am more familiar with silverlight, and have made something from scratch on my own, I might be able to warrant the expense on another game engine.

In fact discussing some of the other game engines out there might be a fun little article.

Thanks again for sharing!

- Fickle Frank

Write a comment