SVG Submarine Assault game by Marek Raida (and Petr Jerabek)
[ submarine.svg ]
Programming notes
If using Adobe SVG Plugin (SVG), leave mouse over SVG area since keyboard inputs will not work. This is limitation of the plugin vs. native implementation. Pure SVG version (.svgz, 54kB) in one file only, without sounds etc. and compatible with standalone SVG viewers is also available. Full screen mode is working only when SVG is opened as standalone file (because of Opera issues iframe in html page has "original" size only). Game tested under Firefox 1.5.x, Opera 9.x, MSIE + ASV 3.0x and Batik Squiggle 1.6. Other browsers may work, but maybe will not. The most cross-browser/platform compatible sound output was chosen to be via Flash 8.0 and above plugins using JS bridge. Sound support will perhaps work primarily on Windows, other platforms are untested, but they may work also... Game performance have been tweaked a lot but still, Firefox is the worst performing platform, but playable as well (Notice: ASV is the best one). Turning off many visual options or using Firefox profile will help a lot. Any other ideas and recommendations and comments are welcome...
Known issues
(Updated: It works!!) Firefox 2.0RC+ and whole branch builds has somewhat broken support for clipping, but changing Periscope view to rectangular makes game usable even with them Opera having SVG opened in IFRAME, it always stretches SVG image to its viewBox, but I don't know why... It is not working in viewers without keyboard support (ASV 6.0 Alpha, khtml and some others). Bitmap Intro and Outro screens are reported to be broken under Safari, but I've no idea what's wrong or how to fix it, since I own no Mac. Intro / outro bitmap animations are very slow in Firefox and Opera.
You are viewing a mobilized version of this site...
View original page here