3 ms·
This is a much better example of games you might actually see on flash portals, done in HTML5: http://www.kesiev.com/akihabara/ http://www.kesiev.com/akihabara
by nihilocrat 16y ago
This is a much better example of games you might actually see on flash portals, done in HTML5:
http://www.kesiev.com/akihabara/ http://www.kesiev.com/akihabara/
- mikepurvis 16y agoOh wow, those are great. It's been in my mind for years (basically since I discovered Comet) to create an in-browser 2D MMORPG based on a very large programmatically-generated trackable map. Looks like Legend of Sadness has got a start on at least some of that.
- mcantelon 16y agoImpressive how fast and smooth his games are.
- bd 16y agoThe key to Akihabara performance is small number of actual pixels being drawn/computed. Resolution of game's <canvas> is just 320x240 (check "view image" in Firefox) which is then blown up by browser renderer to 640x480 (in a same way how you can resize image in CSS). Thus you get 4x as many pixels and cool retro 8-bit look with a lot of work done by browser's C++ code instead of much slower JavaScript. Till we don't have hardware acceleration for <canvas> tag, unfortunately demos and games are going to be quite limited.
- mcantelon 16y agoThanks for the info!