10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #4 (C#)

Another day, another shootorial! Every good game has a villian and in this fourth installment, we will add several villians at random intervals. OO-ifying the game in the last tutorial will make adding enemy ships almost embarrassingly easy.

So, let’s get started! Read more

Related Posts:
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #2 (C#)
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #3 (C#)
10 Minute Game Programming Tutorial: Silverlight - Shootorial #1 Conversion (C#)
Introduction to game programming in Silverlight

Comments

10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #3 (C#)

Welcome back! In my previous Silverlight game programming tutorial, I converted Kongregate’s Flash Shootorial #2 to Silverlight, giving a scrolling background for the space ship to fly over. So today, in Shootorial #3, you will arm that ship with missiles, transforming into a lethal killing machine.

Kinda ;).

Again, keep in mind that Kongregate wrote these tutorials for beginning programmers, thus they prefered to “make things work” rather than “make things work in the best way”. And, in the interest of keeping the code simple, I plan to cut corners, too ;). Additionally, this tutorial builds on my other tutorials, so if you don’t understand something please refer to Shootorial Conversion #2 and Shootorial Conversion #1.

Here we go! Read more

Related Posts:
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #4 (C#)
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #2 (C#)
10 Minute Game Programming Tutorial: Silverlight - Shootorial #1 Conversion (C#)
Introduction to game programming in Silverlight

Comments

10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #2 (C#)

I knew you’d come back for more :).

Welcome to the next tutorial in my Silverlight game programming tutorial series. For those out of the loop, I recently started a series of tutorials porting Kongregate’s Flash game programming tutorial series over to Silverlight. In my last Silverlight game programming tutorial I converted their Shootorial #1 tutorial, so this time I will convert Shootorial #2.

As I stated before, Kongregate’s tutorials assume no programming knowledge and holds your hand while walking you through the IDE. Conversely, I assume a basic understanding of C# programming and I don’t use the IDE at all. Also, I assume you read enough of my previous Silverlight tutorials to know how to deploy a basic Silverlight application. If not, check the previous game programming tutorial’s prerequisites to learn more.

Okay,…onward! Read more

Related Posts:
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #4 (C#)
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #3 (C#)
10 Minute Game Programming Tutorial: Silverlight - Shootorial #1 Conversion (C#)
Introduction to game programming in Silverlight

Comments

10 Minute Game Programming Tutorial: Silverlight - Shootorial #1 Conversion (C#)

Welcome to the first of many Silverlight game programming tutorials on dieajax.com. In a burst of originality and creativity, for this initial set of tutorials, I decided to convert Kongregate’s excellent beginning Flash game programming tutorial series to Silverlight. The first of these let’s the developer get their feet wet by walking them through drawing a space ship on the screen that they can move with the arrow keys. These tutorials focus on simplicity, clarity and “getting something to work”, rather than writing battle-hardened, production-ready code. However, as time goes on, the tutorials will certainly get more advanced and I, personally, have plans to create and give away the source code to as many fully-playable Silverlight games as I can make.

Alright, let’s begin! Read more

Related Posts:
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #4 (C#)
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #2 (C#)
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #3 (C#)
Introduction to game programming in Silverlight

Comments

10 Minute Tutorial - Silverlight: Mouse button and scroll wheel event handling using managed code (C#)

Originally, I wanted this post to stand as the definitive tutorial on mouse handling in Silverlight. However, after researching all the different methods people use to handle the right mouse button and scroll wheel in Silverlight, I quickly gave up that pipe dream. Instead, this tutorial serves as merely a starting point for handling mouse events in Silverlight. If you can’t find what you need here, chances are, someone else has hacked together the solution you nedd. I provide links to a few of these solutions on my Silverlight Portal page.

So, for this tutorial, we will create a rectangle that you can drag using the left mouse button, resize using the scroll wheel and change its color using the right mouse button. Hopefully, this examle will give you a basic overview on how to handle mouse events in Silverlight.

With all that said, let’s get started. Read more

Related Posts:
Silverlight Portal
Introduction to game programming in Silverlight
10 Minute Silverlight Game Programming Tutorial - Shootorial Conversion #2 (C#)
10 Minute Tutorial - Silverlight: Using JavaScript to Call Scriptable Managed Code (C#)

Comments

keep looking »