Chapter 9Reactive Game Development
Frontend development doesn’t have to be dreary forms on repeat. It’s always good to take a step back from the day-to-day and stretch yourself, especially if you learn new techniques along the way. In this chapter, you’ll depart from typical webapp-based development and build a game using the <canvas> API defined by HTML5. As part of that, you’ll learn about new Rx techniques to handle the rapid-fire state changes a game brings. Games also involve many moving objects, and you’ll see how to use Rx’s to create animations of all kinds. You’ll also move beyond what the library provides and create your own operators. Long-time game developers and complete video game beginners will both learn something new from this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access