Wednesday, 3 November 2010

Early Nov 2010 update


I appear to have two strands going on at the moment in programming. Both are web based and involve JavaScript. Ok I also went on a 4 day Stag do plus travel time so the past couple of weeks have not be the most productive in terms of get code produced.

The first little project is a little game (Hamla) using JavaScript and HTML5 canvas. In all honesty the game is more about developing some technology to write other games in. The game is actually finished in terms of game play and features but I want to add at least a little bit of polish to it. So I have started to write a little SVG loader/render to allow then them to be drawn on the canvas. I am not planning on implementing the full SVG spec just the bits I need to load some sprites.

Given my lack of experience in JavaScript it feels like it is actually going quite well. At some point I will publish it a website somewhere.

My synth app may look like it has ground to a halt but that is not the truth. So far I have just been adding features without much concent for code quality and that is gradually going to have to change. Part of this work was getting a very simple graph library put together so I can handle gradually work toward users being able to add nodes and links. 

As this was an independant bit of code I have designed it as such. It means the minimal requirements for what I need and is a simple as it can possibly be. The means it is hugely ineffiecient but is back up by a reasonable number of unit tests so should performance ever become an issue I can fix that. Of course if the profiler never highlight this module as being a problem I won't have wasted time. I expect the graphs to be pretty small so simple, bug free, code is currently prefered.

No comments:

Post a Comment