HTML5 Games/BananaBread: Difference between revisions

No edit summary
Line 64: Line 64:
* Push for the necessary improvements, both in browsers themselves  (JavaScript JITs, WebGL engines, etc.) and in compiler technology for  porting code to JavaScript. We can then work to improve performance in  those areas, using this game as a benchmark.
* Push for the necessary improvements, both in browsers themselves  (JavaScript JITs, WebGL engines, etc.) and in compiler technology for  porting code to JavaScript. We can then work to improve performance in  those areas, using this game as a benchmark.
* We also want to end up with a playable, fun game, not just a demo.  Also, the game will be open in all aspects, from code to artwork, and  usable by others both commercially and noncommercially. We don't want  just a simple tech demo that shows "hey, look what we can do on the web"  but we also want to provide something that people can actually use to  power their own games, projects and startups.
* We also want to end up with a playable, fun game, not just a demo.  Also, the game will be open in all aspects, from code to artwork, and  usable by others both commercially and noncommercially. We don't want  just a simple tech demo that shows "hey, look what we can do on the web"  but we also want to provide something that people can actually use to  power their own games, projects and startups.
* Mandreel has a tech demo of Sauerbraten compiled to JavaScript (see link at the bottom). This is useful as it shows that a naive port, using their OpenGL emulation, can achieve reasonable frame rates. The main benefits of doing this port are:
 
** The Mandreel tech demo isn't a game, it just lets you walk around a single level. We will have a playable game with enemies that you can shoot at and that shoot at you. Benoit Jacob showed the Mandreel demo to people at a WebGL talk, and the responses were very positive - but they should be much more positive to see an actual fast-paced game taking place, not just a leisurely stroll.
Mandreel has a tech demo of Sauerbraten compiled to JavaScript (see link at the bottom). This is useful as it shows that a naive port, using their OpenGL emulation, can achieve reasonable frame rates. The main benefits of doing our port are:
** We will have better performance due to optimizing the GL rendering path instead of emulating OpenGL.
* The Mandreel tech demo isn't a game, it just lets you walk around a single level. We will have a playable game with enemies that you can shoot at and that shoot at you. Benoit Jacob showed the Mandreel demo to people at a WebGL talk, and the responses were very positive - but they should be much more positive to see an actual fast-paced game taking place, not just a leisurely stroll.
** We will be able to carefully profile the resulting game - including parts the Mandreel demo does not run, like bot AI - to see exactly what needs to be improved in the compiler and in the web platform to run it well.
* We will have better performance due to optimizing the GL rendering path instead of emulating OpenGL.
* We will be able to carefully profile the resulting game - including parts the Mandreel demo does not run, like bot AI - to see exactly what needs to be improved in the compiler and in the web platform to run it well.


==Dependencies==
==Dependencies==
213

edits