Related to my question here but not enough to open a new question.
I wanted to make a good tower defense game and found this site. I saw math in it and made the mental leap that it was "game physics." Maybe it's not. I don't know. I was hoping someone could tell me. If it is not what kind of game programming is it? Just math you have to know for angles and what not (they have a tutorial here.) Is this 2d game mechanics/physics?
I know nothing about the site. Just one that game up in google.
Thank you again.
The first link is not physics at all; all he's doing is writing code to move triangles along a path with waypoints; the triangles are defined to move along that set path at constant velocity, and they do not interact with the world in any way. The tutorial has some trigonometry in it that is necessary for doing game physics, and you could even say that the bouncing ball demo is a simulator for perfectly-elastic collisions. However, perfectly-elastic collisions between spheres and planes is arguably one of the simplest of many interactions you'll need to model in any reasonably-interesting game.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With