Be Quick Or Be Dead: browsergame spell caster powered by dojo gfx and SVG/VML rendering
Url: http://ardoino.com/game-be-quick-or-be-dead/
Play now!!
The plot is based on comics written by Motocarota : a powerful wizard has to kill much kobolds as possible casting fireballs against them.
To shot fireballs to enemies you have to write its name in the textbox below the game area and press enter… a nice way to test your typewriting ability, isn’t it?.
I used only few hours to create the game. At the beginning I opted to use 2D CANVAS tag as rendering system (supported by Mozilla Firefox, Opera and Safari) and explorer-canvas for VML, Vector Markup Language (supported by Internet Explorer).
In a few minutes, bored by IE7 incomptaibility with standards, I decided to try Dojo that should have a wide crossbrowser compatibility, dojo.gfx library included. This framework supports Canvas, SVG and VML giving simple API for 2D drawing.
![]()
In a few time I had the game engine and once obtained spirtes Be Quick or Be Dead was complete.
The only disavantage of Dojo usage in BQOBD development was the first time loading slowness, but Firefox cache has worked fine for next page accesses.
Creation and drawing on the 2D surface is very simple :
- ctx = dojox.gfx.createSurface creates a 2D surface
- images, text, rectangles, … are objects that can be drawed on that surface (i.e. img = ctx.createImage(); )
- shapes could be modified on the fly by setShape method (i.e. img.setShape(newShape); )


you have worked hard dude in making Be Quick or Be Dead.I played it, its very good.thankyou