CHAPTER 7
Manipulating the Camera
After completing this chapter, you will be able to:
- Implement operations that are commonly employed by manipulating a camera
- Interpolate values between old and new to create a smooth transition
- Understand how some motions or behaviors can be described by simple mathematic formulations
- Build games with multiple camera views
- Transform positions from the Canvas Coordinate space to the World Coordinate (WC) space
- Program with mouse input in a game environment with multiple cameras
Introduction
Your game engine is now capable of representing and drawing objects. With the basic abstraction mechanism introduced in ...
Get Build Your Own 2D Game Engine and Create Great Web Games: Using HTML5, JavaScript, and WebGL 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.