Game Development Foundations: Game-Related Math
53mBeginner2017-05-04
Authors

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
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
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Using the exercise files
1. Layout
- 04 - Centering objects
- 05 - Horizontal and vertical layout
- 06 - Grid layout
2. Collision
- 07 - Point collisions
- 08 - Rectangle collisions
- 09 - Distance between two objects
3. Formulas
- 10 - Healthbar and percentages
- 11 - Experience calculator
- 12 - Linear tween
Conclusion
- 13 - Next steps