8. Creating Games Without JavaScript
HTML5 games without JavaScript, you say? Yes, I do. Well, sorta. JavaScript is considered by many as the lingua franca of the Internet. There isn’t much you can do without it or by using some non-JavaScript plugin technology. So although the phrase “without JavaScript” could also mean using a plugin such as Flash or Silverlight, in this case, it doesn’t. This chapter introduces several technologies that use an alternate language but output JavaScript code either at the compilation phase or at runtime. These technologies take advantage of the ubiquity of JavaScript to make it a sort of native code. It’s similar to how a Java or C# compiler takes the code we write and makes something much less human readable ...
Get Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.