标签:
The following are few examples of game engines implemented with HTML5 and JavaScript:
The following can be useful in developing games based on Web technologies.
Not every browser supports every part of HTML5. For example, Canvas isn’t supported out of the box by any Internet Explorer below version 9. However, you can use Explorer Canvas to replicate canvas functionality (but that is not ideal and does not perform as well). WebSockets is supported by IE only in IE 10, and it isn’t supported in the stock browser of Android. But again, you can fake this by using Flash for the sockets, such as with Socket.IO. While supported in the latest versions of every other browser, WebGL in Internet Explorer requires at least version 11.
You can use the Mortar Game Stub template to get a quick start on an HTML5 game, or you can use it to get ideas on best practices.
标签:
原文地址:http://www.cnblogs.com/pangguoming/p/4242621.html