Presenting Kiflea: a 2D-based canvas game engine

Presenting Kiflea: a 2D-based canvas game engine

Hi everyone,

I always wanted to learn JavaScript and write a game, so last week I decided to kill 2 birds with one stone and have a go at it.
I've been working on it pretty much non-stop. Only sleep, work and food got in the way (and I even forgot that last one a few times)

Of course: it's not so much a game as it is an engine. I want to write it as reusable as possible.

Having said that there is an example you can try out, it's here:

http://kipdola.be/subdomain/kiflea-working/

(It starts with a shot being fired and an explosion following, that's the test code for effects)
You can click around on the map and another avatar will find a path towards it and walk there. Do not click somewhere unreachable, though. It currently keeps on lucking until it dies :P
I've also done some basic HUD work. You can click a character and see how much life it has. You can click your own healthbar and get some more life.

Sorry: you can't kill anything yet.

All in all, I'm quite happy with my progress, especially because I've never really touched JavaScript before or written a game. It's the most fun I've had all year.

You can download the source from my repository here:

http://kipdola.be/trac/repos/

Any feedback, ideas, patches, ... they're all very welcome!