Game Development Foundations: Game-Related Math

Game Development Foundations: Game-Related Math

53mBeginner2017-05-04

Authors

Jesse Freeman

Jesse Freeman

Head of Partner and Framework Marketing at Amazon

Course details

If you're a game developer, you can overcome many common programming hurdles by knowing just a few commonly used math techniques. In this course, learn about the concepts of grids and collision detection, as well as useful formulas you can apply to a variety of problems. Throughout the course, Jesse Freeman focuses on beginner-level game math and uses JavaScript in his examples. He covers three main topics—layout, collision, and formulas—beginning with layout, where he goes into centering objects and working with grids. Next, he discusses collisions, where he takes you through point collisions, rectangle collisions, and how to tell the distance between two points. Finally, he covers formulas for calculating health and experience. By the time you wrap up this course, you'll have some basic math skills that you can apply to any game.

Learning objectives
Centering objects
Horizontal and vertical layout
Rendering a collection of boxes in a grid
Point collisions
Rectangle collisions
Detecting the distance between two objects
Calculating the percentage and ratio of a player's health
Calculating experience for a player based on their level

Skills covered

Real-Time ScriptingGame DevelopmentJavaScriptOracleVisualization and Real-TimeSoftware Development

Concepts

Introduction

  • Welcome
  • What you should know
  • Using the exercise files

Layout

  • Centering objects
  • Horizontal and vertical layout
  • Grid layout

Collision

  • Point collisions
  • Rectangle collisions
  • Distance between two objects

Formulas

  • Healthbar and percentages
  • Experience calculator
  • Linear tween

Conclusion

  • Next steps
40,000 Toman