Crafty Blog - JavaScript Game Engine Development

Development of Crafty

0 notes &

Future Plans

Now that 0.3.1 is out, a good chunk of Crafty is completed and good to use. I have some minor features I would like to add but before Crafty matures into 1.0 and considered mission critical (it could happen) I would like unit test everything.

This is slightly hard being a game engine and most things needing user input to test but none-the-less I will do it.

I also wanted to ensure it works for mobile devices in terms of performance and input. This would mean creating some components for touch input. Any ideas are most welcome.

A minor issue is the .css() method is rather basic and can only handle JS notation for styles. It should also be able to get the value of a style (in other words make it just like jQuery).

The major change in 0.3 has been the removal of redraw regions. This may seem like a step backwards and in some ways it is but it was causing issues with other awesome features such as rotation and alpha transparency. But it will be back! This time there will be a limit of 2 redraw regions so whether lots of objects are moving or just one, it will be able to draw quicker than the current naive implementation.

This will be quite a challenge so I will most likely blog the progress and how I manage to do it.