Cops And Robbers: An XNA framework game demo

I took the previous weekend and wrote a little game demo that showcases a motion blur technique that Shawn Hargreaves had written about in his blog. This game was a blast to make and came together pretty quickly. The background music was generously provided by one Mr. Nool and I hope to see more free content of this kind from him. He does some quality work!

I think one of my favorite things about this game was making the title screen. I really hadn't put this much work into a title screen before and I think it came together nicely. The animations and soundfx just came together exactly how I was seeing them in my head. Very cool, and I guess the rest of the game is ok....




You can download and check out the game from here. Enjoy!

Print | posted @ Sunday, September 09, 2007 8:36 PM

Comments on this entry:

Gravatar # re: Cops And Robbers: An XNA framework game demo
by Jason Olson at 9/9/2007 9:46 PM

More screenshots, more screenshots.
Gravatar # re: Cops And Robbers: An XNA framework game demo
by Andy at 9/13/2007 1:57 PM

What version of Visual Studio and .Net do you need to compile it? My kid saw me looking at it and now he wants to play it :)
Gravatar # re: Cops And Robbers: An XNA framework game demo
by George Clingerman at 9/13/2007 2:25 PM

Andy,

That's great! It's kind of a pain to setup the environment, but everything free and downloads pretty quick. Just follow the steps in this FAQ (http://forums.xna.com/thread/9928.aspx) and you'll be up and running in no time. The game plays with either an XBox 360 controller for your PC or with the keyboard (I think I listed the controls on my site and what they do).

Let me know how he likes it!
Gravatar # re: Cops And Robbers: An XNA framework game demo
by Andrew Chan at 10/23/2007 10:14 AM

Hi there. I looked at your Cops and Robbers demo and I'm wondering how you did the blur effect. From what I understand, you used the technique described by Shawn Hargreaves and I looked at how he described the technique.

I opened up your source files and looked around, finding the backbufferformat code, but I do not know how to pull out the feedback texture.

I currently just want to test the blur effect, but I do not know how to implement it. Different tutorials give different techniques, but this technique seems the simplest.

Right now, I have a rotating soccer ball that I want to blur as it rotates. I do not know how to use SurfaceFormat to create the backbuffer. I've tried using relevant code in your own source, but you've used things from multiple classes and methods that I'm not sure where to begin analyzing the code.

If you could offer any help, I would be greatly appreciative.

Thank you.
Gravatar # re: Cops And Robbers: An XNA framework game demo
by Laguna Lore at 1/15/2008 6:44 AM

This games are really nice, could you try to do a scene of a platform game or could it be very difficult? Thank you!!
Gravatar # re: Cops And Robbers: An XNA framework game demo
by Laguna Lore at 1/15/2008 7:11 AM

By the way, have you tried this game in XNA 2.0? I have tried and I get a lot of errors, which are the functions that come instead of what you used in the version for XNA 1.0?

Your comment:

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink
 
 
Please add 4 and 6 and type the answer here:
 
Twitter