Summary

Now you have Node.js up and running; you’ve installed a few modules and used the scripts therein to lint and minify your code. You also wrote your own module and script to generate a sprite map and corresponding JSON file that you can use in later chapters to prevent the need to create sprite maps by hand and calculate positions of individual sprites and frames. You revisit Node in Chapter 19, “Building a Canvas Editor,” and Chapter 21, “Going Real Time,” when you use it as a web server for writing multiplayer games, which is a use case Node excels at.

Get Professional HTML5 Mobile Game Development 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.