Yes, game development often requires some understanding of mathematics. The extent depends on the complexity of the game and the specific role in the game development process.
Physics: Many games implement physics to make their worlds feel more real. You need to understand concepts like vectors, forces, acceleration, velocity, etc. This is especially important for game programmers.
Code snippet (in C# for Unity3D):
Graphics programming: If you're working with 3D graphics, knowledge of linear algebra (vectors and matrices) is crucial. Transformations, rotations, scaling, and translating objects within the game world all rely on these concepts.
AI Programming: Creating intelligent behaviors for non-player characters often involves algorithms, probability, and sometimes even calculus.
Algorithms and Data Structures: While not strictly math, the logic and problem-solving approach aligns closely with mathematical thinking. Knowledge of these topics is crucial for optimizing game performance and managing game complexity.
That said, many modern game engines (like Unity or Unreal Engine) abstract away much of the complex math, so a deep understanding isn't always necessary. However, having a solid foundation can provide a significant advantage and open up new possibilities.