Chapter 14
JavaScript Game Engines
This chapter is devoted to the review of the third-party tools: game engines and graphic libraries made for web browsers. Game engines make the life of developers easier since they provide higher-level facilities for making games. For example, if you are making a game from scratch, you have to deal with every detail yourself: loading images, breaking them up into frames and sprites, rendering world, detecting clicks, and so forth. We have done it already in Chapter 7, and you probably remember that there are quite a lot of aspects to take care of. A good 2D game engine would give you all these facilities right out of the box.
The usual question at this point is “why have we wasted so much time learning the ...
Get Pro Android Web Game Apps: Using HTML5, CSS3 and JavaScript 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.