ads

Sunday 12 June 2011

Browser Based 2D fighting game - Part 3



As I am not expert in Gimp, Adobe Photoshop, I had to use third party sprites which were freely distributed.If you are expert in pixel drawing, you can get away with this.Anyway I downloaded some well-known fighting characters  from some other framework and started working on it.
Currently I am planning to roll out a single player fighting game with CPU as the second player.I have a plan to support for two-users as well.

There were some features lacking in framework. Mainly for stopping and starting animation. I had  requested author  to incorporate these two features.The framework in other words, looks very impressing and promising. Still I think, there are more features yet to be added into this.Let us wait for that.

Some noticeable features of this framework are hide and show animation sequences along with user defined method for animation callback support.You can register an animation callback like this:

$.gameQuery.ANIMATION_CALLBACK;

The callback method will be fired when animation sequence completes.So using this, you can control animations.This is a nice feature.