Gaming vs HTML5
Jonas Wagner
Gaming vs HTML
- Why?
- Graphics
- Audio
- Input
- Multiplayer
- Physics
- Conclusion
Why?
Graphics
- Canvas 2D?
- WebGL?
- HTML?
- SVG?
All of them!
- Canvas for rendering
- WebGL for 3D and special effects
- HTML for the UI
- SVG for scalable graphics
Audio
- <audio> is broken
- Mozilla Audio Data API
- Google WebAudio API
Box2D Ports
- http://code.google.com/p/box2dweb/
- https://github.com/thinkpixellab/pl/tree/master/src/box2d (using closure)
- https://github.com/HBehrens/box2d.js (recommended, based on mine)
- https://github.com/jwagner/box2d2-js (mine)
Multiplayer
- Websockets
- are TCP only
- are Client only
- have problems with proxies
- use socket.io if you need them!
In short
- The open web is ready for games
- There are some rough edges
- But also great opportunities
- and cool technology to play with
- So go forth and hack!
Game Over
- 29a.ch
- @29a_ch
- 29a.ch/+
- github.com/jwagner