29 Jan 2010

Civilization -- Freeciv as Browser Game (canvas / SVG)

Yay the joy, I have just discovered that Freeciv is now available as SVG / canvas game.

A browser game with reasonable performance (when using a modern browser) and this game is using open web standards.

From some tests ... FF 3.x on a fast computer is pretty laggy, but FF 3.5+ is very responsive. it feels like an X11 app over a not so fast connection. I am sure this will improve once the javascript implementations gain more performance and the canvas tag matures. After some webgames, this technology seems to be much more capable for games than html, css and javascript alone. Maybe a mix of canvas and html could bring some performance boost.

Freeciv.net seems to perform well on safari, chrome (et all), opera and firefox (< 3.5 recommended) but does not work well on IE8 (unusable, older IE versions are worse).

NOTE:
Chrome and Chromium users can use the --kiosk switch to start the browser in fullscreen mode (not well documented), example:
$ chromium --kiosk http://freeciv.net

Unfortunately on my gnome installation I cannot switch to other windows while chromium is running in fullscreen mode :-/