JS WARS
Instructions ============ Your mission: Find and destroy Dr. Skull! Navigate the menus with the arrow keys and enter or space. You can control your ship using the arrow keys. Press space to fire your primary weapon or control to fire the secodary missiles. Click on the game to activate the keys. Good luck pilot.
About
JS WARS is a classic shoot em up written to demonstrate the power of modern web browsers using html5 technology. It is targeting Firefox 3.5 and Chrome 3.0 with their new audio/video support and increased javascript performance. JS WARS should work well in other modern web browsers (supporting the canvas tag) too, just without the music and sound effects.
All the Graphics were created with Gimp and Blender. The sound effects were created using csound.
Sourcecode
The source code is licensed under the GPL 3 so you can study it and reuse parts. A word of warning though, this is essentially 'prototype quality' code and not for the faint or heart. ;)
The graphics and sounds are NOT licensed under the GPL 3. If you want to use them elsewhere please ask me.
Awesome, works very well in google chrome (running version 3.0.195.21 here), and dare I say, it seems to be faster than an equilvant game written in flash even. :)
The only problem seems to be that it captures ALL keyboard input in the page, I had to type this into notepad then paste it over into the comment fields using context menus, other than that, runs flawlessly.
Comment by Abdullah Ali — 9/23/09 5:09 AM | # - re
game doesnt work for me, cos the space bar sends the page into this comment box.
Comment by Ashley — 9/23/09 3:03 PM | # - re
hey awesome game, I liked how you incorporated certain elements.
Comment by lacey — 9/23/09 7:15 PM | # - re
On both Chrome and Chrome Frame in IE 8, the space bar does not fire weapons, but is instead captured by the browser, and scrolls to the bottom of the page. This is on Windows XP Pro, with Chrome 4.0.211.4.
Comment by Bill H — 9/23/09 8:56 PM | # - re
Here too - spacebar problem. Had to maintain focus in game with the mouse, then shoot and navigate w one hand...
Comment by Yves — 9/25/09 4:43 PM | # - re
Game works fine in Goggle Chrome
Comment by Joseph W Baur III — 9/29/09 12:09 AM | # - re
great game wondrfully made in javascirpt congrats
Comment by Maykel — 10/7/09 6:45 PM | # - re
learning to play the game.
Comment by bill — 10/8/09 6:16 AM | # - re
very well done! it's also intuitive when you've played your fair share of cheesy shoot'em-ups in your life :) runs well in "firefox 3.5"/shiretoko on ubuntu 9.04
Comment by Jonas We — 10/9/09 7:15 PM | # - re
Good job...works great in Chrome Beta.
Comment by ipluribus — 10/11/09 3:00 PM | # - re
awesome! :D
Comment by artypist — 10/15/09 12:40 PM | # - re
Wohoooooo... Have not seen such cool javascript games since 2001.. when flash kick in, there is so few cool javascript games created....
Comment by tkp — 10/18/09 6:30 PM | # - re
working smoothly in Safari 4 osx. you rule.
Comment by scupper — 10/23/09 10:38 AM | # - re
not proper in firefox. it works but when space bar is pressed continuously, it scrolls down.
Comment by balki — 10/24/09 6:38 PM | # - re
Works perfectly in firefox 3.5.3 on my gentoo system.
Comment by Etu — 10/27/09 11:09 AM | # - re
Works perfectly in firefox 3.5.4 too.
Comment by Joe — 10/28/09 4:52 PM | # - re
Increible el poder de html 5
Comment by eze — 11/19/09 10:12 PM | # - re
Brilliant! And to think what can be done in JS.
Comment by joe — 11/25/09 7:08 PM | # - re
works great in Safari nightly builds under Snow Leopard
Comment by Adrian — 12/7/09 6:14 AM | # - re
Works smooth in Chrome on Windows 7
Comment by Dave D — 1/16/10 8:39 PM | # - re