Saturday, February 26, 2011

Kung Fu FIGHT! Windows Playtest Build

Block Village

You can download the Kung Fu FIGHT! playtest build here:

Kung Fu FIGHT! Windows Playtest


I think it should run pretty much anywhere. You just need .NET 2.0 (which comes with both Vista and Windows 7) and OpenGL drivers (which most systems should have). If for some reason you don't have .NET 2.0, you can get it here.

Any feedback is most welcome - give it a try, and let me know what you think.

Wednesday, February 23, 2011

Disabling Aero From Within a .NET Application Using DwmEnableComposition

First off, why would you want to disable the Aero theme? Well, it turns out that it messes with vsync and can screw up the framerate of some applications. DirectX apps seem to be ok, but, in my experience at least, it really messes with OpenGL.

To disable it from within a .NET application you need to DllImport dwmapi.dll. To do this you need to reference System.Runtime.InteropServices:

using System.Runtime.InteropServices;

Within one of your classes - usually where you have the application entry point - you need the following:

[DllImport("dwmapi.dll", PreserveSig = true)]
public static extern int DwmEnableComposition(bool enable);

To invoke the method, simply do this:

DwmEnableComposition(false);

Friday, February 4, 2011

Kung Fu FIGHT! Gameplay Video



Here is some footage of the current gameplay in Kung Fu FIGHT! As usual, the youtube video is choppy - I think the fact that they downsample to 30fps is the main problem.

I'm hoping to get a build into playtest on XBLIG this weekend.

Friday, January 28, 2011

Kung Fu FIGHT!



Marvel at the glory of my pixel art skills!

This is the current version of the intro to Kung Fu FIGHT! - my upcoming game for Xbox Live Indie Games. The intro is still a bit rough around the edges, but at least I've got a first pass done.

Now, back to working on gameplay for a while...

Monday, January 24, 2011

Working on an Intro Cut Scene

Block Village

I'm taking a break from game mechanics and have been doing some work on an intro to the game.

Also new since my last update are sprite drop-shadows and a textured paper effect. I may not stick with this exact texture, but I like the look.

Wednesday, January 12, 2011

Pixel Particle Decomposition and a New Enemy

Block Village

Just I have models exploding in my 3D block engine, I now have 2D pixel decomposition in my pixel engine. I'm not sure if I'll keep the enemies exploding this way when they die, but it looks cool.

The new enemy is a polearm dude that you need to hit high or low depending on the posture he takes.

Monday, January 10, 2011

Pixel Engine



My foray into Flash development has come to an end - at least for the moment. I love the easy deployment of Flash games, and I was reasonably happy with the dev environment, but not being able to get a solid framerate was a deal-breaker for me.

I really liked the simplicity of working with simple 2D pixel graphics, though, so I spent last week putting together a little pixel graphics engine on top of XNA. I borrowed some of the ideas I liked from FlashPunk, combined them with bits from my 3D engine, and soon had something pretty workable on my hands.

The cool thing is that I've kept all of the XNA dependencies very isolated, so it should be easy to port to another .NET-based platform (MonoDroid and MonoTouch come to mind).

As you can see in the above video, I've got my little Kung Fu game ported over to the new platform. After my flash experience, it was great to see it running nice and smooth (although you can't tell that from the video - I still haven't figured out how to get smooth video on youtube...)