O'Reilly logo

C# Game Programming: For Serious Game Creation by Daniel Schuller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Game Math

Games can be written without a lot of advanced math knowledge, but the more graphically advanced the game, the more math you’ll need to know. There are many fields of mathematics; some are more commonly used than others when writing a game. Geometry is important to describe 3D and 2D worlds. Matrices and vectors are useful for describing worlds and the relationships between entities in these worlds. Trigonometric functions are great for special effects and making things act organically. Tween functions are a handy way to express movement over a constant time. The more math you know, the more tools you have to solve any problems that come up when programming games.

Trigonometric Functions

The trigonometric functions sine and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required