Apophis 2029
April 21, 2009Shannon Larratt
- http://www.zentastic.com/
- Location:
- Toronto, ON
From the Author:
Apophis 2029 is a Missile Command - meets - Space Invaders sort of game. Your job is to shoot meteorites out of the sky before they destroy you. Game is made up of lots of hand-drawn sprites which are saved as transparent PNGs which are animated by a large number of concurrent threads. This is my second experiment after my first game (also here), BingBong! Even though the game has many layers of full-screen animation, and the code is totally unoptimized, the game should run at a good frame rate on most current computers.
Technology:
Javascript only (no canvas element, no flash)
Comments
Runs very slow on chrome build 4.1.249.1064 (45376)
On firefox 3.6 it`s ok
Reply to this commentAmazing, how in the world can this be possible?
Reply to this commentIt's old school meets new school
Reply to this commentcool!
Reply to this commentvery crezy.keet it up childhood
Reply to this commentWould you believe me if I told you this runs smoothly (>24 fps) on IE 8 and poorly (<24 fps) on Firefox 3.5 RC? My computer is fairly slow: 1.5 Ghz Pentium M.
Reply to this commentnice creation!
Reply to this commentThis works fine in IE8. The only problem is that my computer is slow.
Reply to this commentAmazing game! Feels extremity dynamic, the graphic styles are also very good! Keep it up!
Reply to this commentthanks
Reply to this commentImpressive!
I ran it on Firefox 3.0.10. I don't know if this applies to other browser, but I found out that using HTMLCanvasElement rather than HTMLImageElement when calling drawImage() onto the canvas is *significantly* faster. Thus, if you move all your images onto offscreen canvas elements at init time, and use these offscreen canvas objects in drawImage(), there should be quite a performance improvement, on Firefox at least. Found this with my own experiment:
http://www.raymondhill.net/puzzle-rhill/puzzle-rhill.php?puzzlePieces=50&puzzleComplexity=0&puzzleURL=http://www.publicdomainpictures.net/pictures/1000/velka/photos%20(7).jpg&puzzleRotate=24&puzzleVersion=4
Reply to this commentDuh... how embarassing lol: "no canvas." Somehow I ended up here I don't remember how, thinking it was a canvas experiment. Disregard my nonsensical comment (or better, erase it :-)
Reply to this commentWRT adding sound - that could be done w/ tags.
Could be generated dynamically (with some work) using data URIs or probably more easily, just a builtin set of tags
Reply to this commentNeat little game, oddly it seems considerably slower in the chrome unstable under linux than tonight's FF nightly. Chrome's definitely a good performer with all the other experiments i've tried, this is the exception.
Reply to this commentI can't understan it I"M SLOW
Reply to this commentDude! Awesome!
Reply to this commentamazing
Reply to this commentI love the mounted of hours in some ambience making the viewer relax.
Reply to this commentLove it
Reply to this commentFlash. Is. Dead.
Reply to this commentruns reallllly slowly in chromium svn and ff3 on linux.
Reply to this commentNice work. Would be awesome if u could add some sound files for collision... does the DOM support this (Im a lame actionscripter) ? ...
Reply to this commentTried with midori 1.6, and found it was smoother than the last chrome version.
Anyway, very impressive demo !
Reply to this commentWhat a great visual style! Very impressive.
Reply to this commentHuh. This actually runs much much faster in firefox than in chrome. At least for me.
Reply to this commentMONEY
Reply to this commentthis is sweet:-)
Reply to this commentIsn't it funny thought that the video is showing Firefox and not Chrome?
Reply to this commentWow. This is fantastic! I didn't even know you can do that with JavaScript!
Reply to this commentnice game...........
Reply to this commentAbsolutely fantastic! The mood and style is excellent. Top work :) One small thing to fix: when the rockets hit the clouds, the flame disappears behind the darkest cloud, while the rocket continues on. Otherwise, lovely.
Reply to this commentI can't believe this isn't Flash.
Reply to this comment