Intro To Math For Game Development
At last weekend’s NY Game Makers Meetup I covered 10 simple math examples that are critical in any game. These example range from handling layout to simple collision detection. While I am no expert at math, I have learned and collected the following examples over the years as I built up a library of reusable code that can be easily ported to different programming languages. To make demonstrating these examples easier to run, I wrote them all in JavaScript, posted them to JSFiddle so you can see them in action and also play around with each one on your own. While math in gaming may seem intimidating, especially if you are like me and come from an art background, I hope you will find the following examples easy to use and useful in your next game. Let’s get started.




