Hour 22. The Physics of Gravity

What You’ll Learn in This Hour:

Simulating gravity

Escape velocity

Calculating “gravity”

The Gravity Demo

This hour digs into some trigonometry again in order to explore the fascinating subject of game physics. Although the overall topic is broad, we will focus solely on the calculations for computing the effect of gravity on two massive objects. This hour, along with the preceding one, is developing code and concepts that will be used in sample game that will be completed by Hour 24. The gameplay will involve simulating the construction of a Hawking radiation reactor. The theory proposed by Stephen Hawking states that black holes emit a small amount of radiation from the poles of a black hole. The game ...

Get Sams Teach Yourself Windows® Phone 7 Game Programming in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.