1st Edition

# Mathematics of Game Development A Collection of Applied Lessons

258 Pages 418 Color & 12 B/W Illustrations
by CRC Press

258 Pages 418 Color & 12 B/W Illustrations
by CRC Press

258 Pages 418 Color & 12 B/W Illustrations
by CRC Press

Also available as eBook on:

This introductory textbook introduces students to mathematical concepts and helps them to understand how they apply to the field of game development. This book covers the mathematical concepts commonly used in game development while providing opportunities to apply these concepts in the industry-standard Unity game engine.

Most chapters cover mathematical concepts commonly used in game development, a downloadable game project that will provide a context to apply the math concepts learned, exercises for readers to practice the math concepts covered, and challenges for readers to further practice applying those concepts.

This book will be ideal for any game development student looking to gain a grounding in the most relevant mathematical concepts to support their trade. It will also be useful as a stepping stone to digesting more advanced mathematical concepts for game development.

Introduction

Chapter 1. Unity Fundamentals
Animal House + Falling Balls

Chapter 2. Programming Fundamentals
Bouncy Box

Chapter 3. Position of Game Objects in 2D | Points on a Coordinate Plane
Platformer

Chapter 4. Distance | Right Triangles, Pythagorean Theorem, and the Distance Formula
Bombs Away

Chapter 5. Field of View | Pi and Finding Angles using SIN, COS, TAN
Avoid Detection

Chapter 6. Simulating Physics in a Virtual World | Matrices and Vectors
Critters

Chapter 7. Sinusoidal Functions | Sine and Cosine

Chapter 8. Directionality | Dot Product
Speed Racer

Chapter 9. Orthogonal Directionality | Cross Product

Chapter 10. Reflections | Vector Projection and Reflection
The Octagon

Conclusion

### Biography

Jacob Enfield is a research faculty member at George Mason University where he teaches game programming in the Computer Game Design program and conducts research at the Virginia Serious Game Institute. Jacob has worked professionally as an educational game developer and has taught a wide range of subjects, including computer science, game development, virtual reality, multimedia production, machine learning, artificial intelligence, and mathematics.