Chapter 20. Epilogue: Bodega’s Revenge

Topics in This Chapter

20.1 Design the User Interface

20.2 Create the Sprite Sheet

20.3 Instantiate the Game

20.4 Implement Sprites

20.5 Implement Sprite Behaviors

20.6 Draw the Bullet Canvas

20.7 Implement Touch-Based Controls for Mobile Devices

20.8 Conclusion

20.9 Exercises

This book devotes entire chapters to implementing various aspects of 2D games such as graphics and animation, sprites and sprite behaviors, and collision detection, by examining the implementation of a nontrivial HTML5 video game.

This chapter provides a more holistic perspective by showing you how to combine those aspects of 2D game development to implement a simpler video game, shown in Figure 20.1.

Figure 20.1 ...

Get Core HTML5 2D Game Programming 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.