CHAPTER 3
High-Performance JavaScript
For a game to be enjoyable, smoothness is critical. A smooth game can feel lifelike and amazing; without smoothness, a game will be sluggish and annoying, even with the best art.
Smoothness is also important for user retention. Facebook recently revealed the results of an A/B test in which scrolling was slowed from 60FPS to 30FPS (http://youtu.be/3-WYu_p5rdU?t=36m): engagement collapsed.
In this chapter, I will discuss the essential techniques for making a simple, two-dimensional HTML5 game feel and perform like a native one.
The first two techniques are the low-hanging ...
Get HTML5 Game Development Insights 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.